Files
PepApi.Core/PepLib.Core/Codes/SetKerf.cs
2025-10-27 18:48:23 -04:00

35 lines
635 B
C#

namespace PepLib.Codes
{
public class SetKerf : ICode
{
public SetKerf(KerfType kerf = KerfType.Left)
{
Kerf = kerf;
}
public KerfType Kerf { get; set; }
public CodeType CodeType()
{
return Codes.CodeType.SetKerf;
}
public ICode Clone()
{
return new SetKerf(Kerf);
}
public override string ToString()
{
if (Kerf == KerfType.None)
return "G40";
if (Kerf == KerfType.Left)
return "G41";
return "G42";
}
}
}