mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-27 10:21:08 -04:00
Some jobs cut only cutouts into a supplied blank, such as instrument holes in a purchased door that is the whole sheet. Its outline has to be known to the planner (the blank is material that leads, rapids and cut-offs must respect) but must never be pierced, led or cut. A new DisplayPerimeter layer marks that outline. It is material, so nesting, containment, lead clearance and automatic cut-offs all see the blank; a door that fills its sheet leaves cut-offs nothing to cut. Cutting preparation keeps it out of the contours entirely: with no cut perimeter every contour is a hole with internal leads, and the search, best-effort and safest-route paths stop offering a perimeter. Replay refuses any run along the display perimeter and completes once every other ring is cut. A display perimeter must be one whole closed contour enclosing every other contour; a mixed ring, one inside another contour, or a second one is refused with that reason. Saving, drawing and posting it are still to do.