refactor: move CutParameters to OpenNest.Api namespace with new properties

Relocates CutParameters from OpenNest namespace to OpenNest.Api, adds
LeadInLength and PostProcessor properties, and provides a typed Default
factory. Updates Timing.cs, the WinForms project reference, and the three
consuming forms to resolve the type from the new namespace.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-19 08:25:32 -04:00
parent cfe8a38620
commit b6bd7eda6e
7 changed files with 57 additions and 11 deletions
+1
View File
@@ -1,5 +1,6 @@
using System;
using System.Windows.Forms;
using OpenNest.Api;
namespace OpenNest.Forms
{
+1
View File
@@ -5,6 +5,7 @@ using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using OpenNest.Api;
using OpenNest.Actions;
using OpenNest.CNC.CuttingStrategy;
using OpenNest.Collections;
+1
View File
@@ -1,5 +1,6 @@
using System;
using System.Windows.Forms;
using OpenNest.Api;
namespace OpenNest.Forms
{
+1
View File
@@ -11,6 +11,7 @@
<Compile Remove="Controls\LayoutViewGL.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\OpenNest.Api\OpenNest.Api.csproj" />
<ProjectReference Include="..\OpenNest.Core\OpenNest.Core.csproj" />
<ProjectReference Include="..\OpenNest.Engine\OpenNest.Engine.csproj" />
<ProjectReference Include="..\OpenNest.Gpu\OpenNest.Gpu.csproj" />