PrinterOutputController.py 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. MYPY = False
  2. if MYPY:
  3. from cura.PrinterOutput.PrintJobOutputModel import PrintJobOutputModel
  4. from cura.PrinterOutput.ExtruderOuputModel import ExtruderOuputModel
  5. from cura.PrinterOutput.PrinterOutputModel import PrinterOutputModel
  6. class PrinterOutputController:
  7. def __init__(self):
  8. pass
  9. def setTargetHotendTemperature(self, printer: "PrinterOutputModel", extruder: "ExtruderOuputModel", temperature: int):
  10. # TODO: implement
  11. pass
  12. def setTargetBedTemperature(self, printer: "PrinterOutputModel", temperature: int):
  13. pass
  14. def setJobState(self, job: "PrintJobOutputModel", state: str):
  15. pass
  16. def cancelPreheatBed(self, printer: "PrinterOutputModel"):
  17. pass
  18. def preheatBed(self, printer: "PrinterOutputModel", temperature, duration):
  19. pass
  20. def setHeadPosition(self, printer: "PrinterOutputModel", x, y, z, speed):
  21. pass
  22. def moveHead(self, printer: "PrinterOutputModel", x, y, z, speed):
  23. pass
  24. def homeBed(self, printer):
  25. pass
  26. def homeHead(self, printer):
  27. pass