public static CommandChain StopPrint(this CommandChain self) { var command = new StopPrintCommand(); self.Append(command); return(self); }
public static CommandChain StartPrint(this CommandChain self, string file) { var command = new StartPrintCommand(file); self.Append(command); return(self); }
public static CommandChain ExecuteGCode(this CommandChain self, string[] lines) { var command = new GCodeCommand(lines); self.Append(command); return(self); }
public static CommandChain SetZOffset(this CommandChain self, double zOffset) { var command = new SetZOffsetCommand(zOffset); self.Append(command); return(self); }
public static CommandChain GetPrinterInfo(this CommandChain self) { var command = new GetPrinterInfoCommand(); self.Append(command); return(self); }
public static CommandChain GetZOffset(this CommandChain self) { var command = new GetZOffsetCommand(); self.Append(command); return(self); }
public static CommandChain SetCurrentPosition(this CommandChain self, double x, double y, double z) { var position = new Position(x, y, z); var command = new SetCurrentPositionCommand(position); self.Append(command); return(self); }