mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-27 07:11:06 -04:00
Converted part programs keep a source CAM's overcut: a hole's arc or a slot's last line runs about 0.03 past the pierce along the first cut. The rapid check only counted a contour closed when it ended exactly at its start, so every overcut contour became an open fragment, the open-cut proof refused them, and each part reported "Multiple interrupted/open cutting fragments" and an unverifiable lead-out instead of being checked (P260810-02: all 50 parts). ReleasedContourState now closes such a contour at its seam (matched at the 1e-6 seam tolerance, since a hole's two arcs carry centers ~1e-7 apart) and lets the rapid leaving the overcut end ignore contact within that tolerance of its departure. The nest now validates fully and reports the real crossings it was hiding: rapids that cross the hole just cut. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>