mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-27 10:21:08 -04:00
PreparedContours.Capture(program, parameters, pins) takes CutPinResolver results for the same contours and fixes every resolved pin's contour: its one and only entry is the pin's point, and it is emitted through the existing emitter with the pin's own lead-in, lead-out and tab (angle rounding off, so the entry never moves). Every catalogue returns the pinned entry alone and emission refuses any other entry for that contour, so no search path can relocate it. The certified tab size is the pinned outside's own, so a pinned tab gap is genuine and replay certifies it. Unpinned contours keep the shared settings and automatic selection; without pins the existing preparation is untouched (5.1 digests unchanged). Capture now resolves a regenerated part's drawing pins. A pin that does not resolve (not on a contour, on several, sharing one, or unplaceable) is never guessed: its contour stays automatic and the plate gets a FixedLead warning naming the pin, making the proposal UNVERIFIED. A tab pinned on an internal contour cannot be cut as pinned (only the outside is tabbed) and warns the same way. Pins-off, locked parts with pins and freshness follow in 5.4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>