mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-21 22:37:41 -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
@@ -115,7 +115,7 @@ static class NestConsole
|
||||
Console.Error.WriteLine(
|
||||
engine.IsJobEngine
|
||||
? $"Error: engine '{engine.Name}' is a whole-job engine; single-plate fill supports: {string.Join(", ", PlateFillService.BuiltInStrategies)}. Use --autonest for whole-job engines."
|
||||
: $"Error: unknown engine '{engine.Name}'. Fill strategies: {string.Join(", ", PlateFillService.BuiltInStrategies)} (whole-job engines such as StockLadder require --autonest)"
|
||||
: $"Error: unknown engine '{engine.Name}'. Fill strategies: {string.Join(", ", PlateFillService.BuiltInStrategies)} (whole-job engines such as Irregular require --autonest)"
|
||||
);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user