mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-20 20:27:42 -05:00
A part whose planned outside carries a perimeter tab could not be pushed away from a neighbor it rested against at the part spacing, and the neighbor could not be pushed away from it: the push returned 0 with open sheet ahead. It showed whenever the neighbor's bounds wrapped the part (an eared or C-shaped neighbor), since otherwise the broad phase skips an obstacle that is wholly behind. The tab stops the cut short of its entry, so with the leads dropped the outside is an open chain. Its spacing-offset contour does not close, the slide kernel cannot tell which side of it is material, and it blocks every contact against a boundary it cannot resolve. The parts were never closer than the spacing. PartGeometry now closes a tabbed contour across its tab before any offset: the trimmed last cut is restored along its own line or arc (exact), a round outside cut as one arc becomes its circle, and a tab that swallowed whole entities is bridged by its chord, as flattening to a polygon already closes it. Only a single gap is closed; closed material is returned untouched, so untabbed parts and the fills see the same geometry as before. No kernel code or tolerance changed, so a push into a neighbor still returns 0 and a contour cut in several pieces still blocks. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>