fix: exempt scribe/etch contours from lead-ins and kerf

Scribe/etch lines were being treated as cut contours by
ContourCuttingStrategy, receiving lead-ins and kerf compensation.
Now they are separated before ShapeProfile construction and emitted
as plain moves with LayerType.Scribe preserved.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-30 20:56:07 -04:00
parent a2b7be44f8
commit 59a66173e1
2 changed files with 33 additions and 5 deletions

View File

@@ -249,6 +249,7 @@ namespace OpenNest.Actions
}
var entities = ConvertProgram.ToGeometry(cleanProgram);
entities.RemoveAll(e => e.Layer == SpecialLayers.Scribe);
profile = new ShapeProfile(entities);
contours = new List<ShapeInfo>();