Files
OpenNest/OpenNest.Tests/CommonLines
ajandClaude Opus 5.5 db4b573e3b fix(cutting): keep planned leads on the sheet
Plan Cutting checked each lead only against part material, so it could
pick an entry whose lead-in pierced past the plate's edge and still call
the plan Ready; only the pre-post plate edge check noticed (N26-2D6
plate 2: PT97 0.25 from the left edge, a 0.3125 lead at 60 degrees ran
0.062 off it).

The planner now stamps the plate's box on each part's lead material, and
LeadPathValidator refuses a lead-in or lead-out past it by more than the
plate edge check's slack, so the search enters from a side with room and
a contour with none fails naming the edge. A locked or pinned lead off
the sheet is a FixedLead warning. A part whose own material is already
off the sheet keeps the old checks: no lead can fix it, and the edge
check reports it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 17:41:23 -05:00
..