mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-25 11:17:40 -05:00
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>