mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-25 13:37:39 -05:00
Raster packs each part rotation as a bit mask of its material grown by half the part spacing plus 0.75 cell, so masks that never share a cell keep the spacing and every layout passes the layout check unrepaired. Coarse raster no-fit maps propose positions and a grid four times finer settles them; the job is decoded in 48 greedy variants through the shared stock loop. It is selectable by name, not a Default candidate. Benchmark, 7 real jobs, --parallel 1, 6" minimum salvage: all layouts valid; Irregular's sheet count on 5 jobs in 0.6-2.3 s against 11-78 s, at under 1 to 4% more salvage-credited cost; 3 sheets against 2 on 27K; 24 s on 2J9 (seven stock sizes). Packing tighter and opening the gaps with Fix Spacing saved under 0.1% of cost for up to 25 times the time, so it was left out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>