feat: set Layer = Leadin on all LeadIn subclass generated codes
Adds LayerType.Leadin to all LinearMove and ArcMove instances produced by LineLeadIn, ArcLeadIn, LineArcLeadIn, CleanHoleLeadIn, and LineLineLeadIn Generate() methods, plus tests covering all subclasses. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -24,8 +24,8 @@ namespace OpenNest.CNC.CuttingStrategy
|
||||
return new List<ICode>
|
||||
{
|
||||
new RapidMove(piercePoint),
|
||||
new LinearMove(midPoint),
|
||||
new LinearMove(contourStartPoint)
|
||||
new LinearMove(midPoint) { Layer = LayerType.Leadin },
|
||||
new LinearMove(contourStartPoint) { Layer = LayerType.Leadin }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user