feat: add Drawing.IsCutOff flag for cut-off support

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-22 19:12:49 -04:00
parent a548d5329a
commit 7681a1bad0
2 changed files with 15 additions and 0 deletions

View File

@@ -56,6 +56,8 @@ namespace OpenNest
public Color Color { get; set; }
public bool IsCutOff { get; set; }
public NestConstraints Constraints { get; set; }
public SourceInfo Source { get; set; }

View File

@@ -0,0 +1,13 @@
using OpenNest.CNC;
namespace OpenNest.Tests;
public class CutOffTests
{
[Fact]
public void Drawing_IsCutOff_DefaultsFalse()
{
var drawing = new Drawing("test", new Program());
Assert.False(drawing.IsCutOff);
}
}