mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-22 09:57:40 -05:00
Linear fill finds how far a pattern's next copy must sit by sliding each part of the copy against the parts of the pattern, and it skipped every pair whose bounding boxes do not overlap across the slide. A part whose box lies beside the copy's path by less than the part spacing was never measured, so the copy could pass it closer than the spacing: columns of a gusset pair tiled 0.04 apart (the pattern Irregular's band search had to reject), and an Extents column pair of D-shapes 0.01 apart. The copy distance now skips a pair only when the boxes are beside each other by the spacing or more. A part beside the path moves the copy only when it needs more than Epsilon beyond what the parts in the path need, so a corner-to-corner contact at the same distance leaves layouts as they were. The Strip strategy's mixed pinned nest then filled a valid, denser row of D-shapes and lost its single rectangle: the pack step tried only the first remnant, now a sliver along the top edge. Strip offers its leftovers to the remnants in order instead (LeftoverPacker), packs the first that takes a part, finds the remnants again and stops when none takes one. The nest holds 35 parts again, and the whole-plate characterization nests are now validated as they are solved. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>