mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-27 15:01:07 -04:00
A tab cannot lift a part's margin past its contacts' own hull edges, so a whole stretch of outline often ties for the best tab point, and the first sample found won, leaving the tab off-center. Keep the full outline search for the margin, then among samples within Tolerance.Epsilon of the best, pick the one nearest the line through the center of gravity across the long side of the outline's minimum-area bounding rectangle. A part held only near one end is still tabbed at the far end. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>