fix(diagnostics): check placed cut-off programs against clamps

Pre-post clamp checks looked only at nominal cut-off definitions and
rapids. A definition moved without regenerating its placed program
left a cut through an active clamp that posted with no warning, because
cut-off material is excluded from the overlap check.

Also check each cut-off part's placed cutting motions against the
clamps in the placement frame (lines exactly, arcs by their extent).
Report one warning per cut-off part and clamp, so a current definition
does not produce a duplicate of its nominal finding.

Project Memory: opennest cdbe2629-b562-46ee-9509-2b120a511654
This commit is contained in:
aj committed 2026-10-13 18:15:49 -04:00
1 parent 9a293bf221
commit c18db3f896
4 files changed
+76

No files matched your search

+2
View File
@@ -57,6 +57,8 @@ shows all three check categories, even when there are no findings:
a sufficiently large cutout is not itself an overlap. The same review also warns if a nominal
manual cut-off line crosses an active clamp, even when its regenerated cut is currently trimmed;
a line contact has no material-overlap area. Removed clamps on that sheet are not checked.
The placed cut-off program is checked too, so a definition edited without regenerating its
cut still warns where the posted cut would cross a clamp (one warning per cut-off and clamp).
Clamp zones are compared in the plate's quadrant frame. A missing or malformed clamp zone
makes the clamp checks incomplete (a warning), never a clear result.
This uses clean drawing geometry, not added lead-in/out paths.