mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-27 00:21:06 -04:00
Core only uses System.Drawing.Color, which ships in the shared framework, so the System.Drawing.Common package (Windows-only beyond primitives) was an unneeded dependency of the cross-platform domain library. The desktop app keeps its own reference. CutParameters lives in OpenNest.Core but declared namespace OpenNest.Api, forcing Core and desktop files to import the Api namespace for a Core type. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
566 B
C#
23 lines
566 B
C#
using System;
|
|
|
|
namespace OpenNest;
|
|
|
|
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,
|
|
};
|
|
}
|