mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-15 22:45:35 -05:00
refactor(engine): retire the StockLadder engine
Every whole-job engine chooses among the offered stock sizes, and on the synthetic benchmark nests Default matched or beat StockLadder on all 18 runs (saved sizes, a six-size pool, with and without salvage credit), costing 30-40% less in total with mixed sizes. Its sheet-swap step never produced a win over Irregular's tail re-plan. The registry maps "StockLadder" to Default so saved selections, scripts and API requests keep working. OrderedPlateNester stays: Fill and the remnant strategies use it for restricted rotations, and its golden layout is now pinned through NestJobRunner with the parts requested largest first, as StockLadder requested them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
14ba2e653b
commit
7c4276a457
14 files changed
+30
-646
No files matched your search
@@ -20,7 +20,7 @@ try
|
||||
var create = registry.GetMethod("Create")!;
|
||||
|
||||
// Every built-in engine the desktop offers must instantiate from the packaged assembly.
|
||||
string[] expected = ["Default", "Rectangles", "Irregular", "Circles", "FlatBar", "StockLadder", "Fill", "Strip", "Vertical Remnant", "Horizontal Remnant"];
|
||||
string[] expected = ["Default", "Rectangles", "Irregular", "Circles", "FlatBar", "Fill", "Strip", "Vertical Remnant", "Horizontal Remnant"];
|
||||
foreach (var name in expected)
|
||||
{
|
||||
var engine = create.Invoke(null, [name])!;
|
||||
|
||||
Reference in new issue
Block a user