feat: set Layer = Leadout on all LeadOut subclass generated codes

Adds LayerType.Leadout to all LinearMove and ArcMove instances produced
by LineLeadOut and ArcLeadOut Generate() methods.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ajandClaude Sonnet 4.6 committed 2026-03-30 13:16:11 -04:00
1 parent 82de512f44
commit 8a712b9755
2 files changed
+2 -2

No files matched your search

@@ -20,7 +20,7 @@ namespace OpenNest.CNC.CuttingStrategy
return new List<ICode>
{
new ArcMove(endPoint, arcCenter, winding)
new ArcMove(endPoint, arcCenter, winding) { Layer = LayerType.Leadout }
};
}
}
@@ -19,7 +19,7 @@ namespace OpenNest.CNC.CuttingStrategy
return new List<ICode>
{
new LinearMove(endPoint)
new LinearMove(endPoint) { Layer = LayerType.Leadout }
};
}
}