mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-22 12:17:43 -05:00
BandedFill.FillStrips was one 135-line method: the beam loop, the look-ahead for band searches, the strip offers (a local function closing over eight variables) and the beam selection all ran together, and Fill carried its order search and hold-back pass inline the same way. The next change to either pass had to be made inside that. Each step is now its own method (BestOrder, HoldBack, NextStrips, Strip, Densest, SearchesAhead, ColumnWidths, Finish), the work area and part spacing are fields rather than a parameter threaded through every call, the repeated "largest part left", "packer behind the strip" and "full-height bands" expressions have one definition each, and the tolerances and the three-copy column limit are named constants. No layout changes. Every BandedFill result (poses and work-meter reading after each call) was traced before and after on six jobs covering the bands, strips and beam-of-one paths, with and without a clamp rail, one to four sheets: the traces and the final layouts are byte-identical. Engine suite and the problem-nest corpus's auto-nest area pass. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>