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:
2026-03-30 13:16:11 -04:00
parent 82de512f44
commit 8a712b9755
2 changed files with 2 additions and 2 deletions

View File

@@ -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 }
};
}
}

View File

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