diff --git a/OpenNest.Core/Drawing.cs b/OpenNest.Core/Drawing.cs index a55cd80..b64bcd1 100644 --- a/OpenNest.Core/Drawing.cs +++ b/OpenNest.Core/Drawing.cs @@ -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; } diff --git a/OpenNest.Tests/CutOffTests.cs b/OpenNest.Tests/CutOffTests.cs new file mode 100644 index 0000000..76823b9 --- /dev/null +++ b/OpenNest.Tests/CutOffTests.cs @@ -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); + } +}