From 8a712b97556064ef24f0e088b1c6f05579db03b4 Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Mon, 30 Mar 2026 13:16:11 -0400 Subject: [PATCH] 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 --- OpenNest.Core/CNC/CuttingStrategy/LeadOuts/ArcLeadOut.cs | 2 +- OpenNest.Core/CNC/CuttingStrategy/LeadOuts/LineLeadOut.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenNest.Core/CNC/CuttingStrategy/LeadOuts/ArcLeadOut.cs b/OpenNest.Core/CNC/CuttingStrategy/LeadOuts/ArcLeadOut.cs index ed47977..927876c 100644 --- a/OpenNest.Core/CNC/CuttingStrategy/LeadOuts/ArcLeadOut.cs +++ b/OpenNest.Core/CNC/CuttingStrategy/LeadOuts/ArcLeadOut.cs @@ -20,7 +20,7 @@ namespace OpenNest.CNC.CuttingStrategy return new List { - new ArcMove(endPoint, arcCenter, winding) + new ArcMove(endPoint, arcCenter, winding) { Layer = LayerType.Leadout } }; } } diff --git a/OpenNest.Core/CNC/CuttingStrategy/LeadOuts/LineLeadOut.cs b/OpenNest.Core/CNC/CuttingStrategy/LeadOuts/LineLeadOut.cs index 954858a..986d68f 100644 --- a/OpenNest.Core/CNC/CuttingStrategy/LeadOuts/LineLeadOut.cs +++ b/OpenNest.Core/CNC/CuttingStrategy/LeadOuts/LineLeadOut.cs @@ -19,7 +19,7 @@ namespace OpenNest.CNC.CuttingStrategy return new List { - new LinearMove(endPoint) + new LinearMove(endPoint) { Layer = LayerType.Leadout } }; } }