mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-11 18:01:09 -05:00
Expand Spacing opens up a whole selection; nests that are a hair short of fitting need the opposite: move only the parts the overlap check flags, by the shortfall, and leave everything else where it is. Fix Spacing pushes one part of each flagged pair straight away from the other and ripples the push into neighbors it crowds, so rows already locked in at the spacing can make room. When a plate is packed edge to edge and no straight push fits, a constraint relaxation shares each shortfall between both parts along the closest-point normal. Every result is confirmed by the overlap check before any part moves, and is applied only when it has fewer findings and nothing new. NativeContours gains a coarse-flattening overload, Translated, Nested and a closest-points GapTo for the search. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>