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>
22 lines
537 B
C#
22 lines
537 B
C#
using System;
|
|
|
|
namespace OpenNest.Api;
|
|
|
|
public class CutParameters
|
|
{
|
|
public double Feedrate { get; set; }
|
|
public double RapidTravelRate { get; set; }
|
|
public TimeSpan PierceTime { get; set; }
|
|
public double LeadInLength { get; set; }
|
|
public string PostProcessor { get; set; }
|
|
public Units Units { get; set; }
|
|
|
|
public static CutParameters Default => new()
|
|
{
|
|
Feedrate = 100,
|
|
RapidTravelRate = 300,
|
|
PierceTime = TimeSpan.FromSeconds(0.5),
|
|
Units = OpenNest.Units.Inches
|
|
};
|
|
}
|