mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Added a printerOutputController to send commands to remote.
The idea is that this class can be subclassed. CL-541
This commit is contained in:
parent
700f7179f1
commit
3a8eef9768
4 changed files with 71 additions and 21 deletions
21
cura/PrinterOutput/PrinterOutputController.py
Normal file
21
cura/PrinterOutput/PrinterOutputController.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
|
||||
MYPY = False
|
||||
if MYPY:
|
||||
from cura.PrinterOutput.PrintJobOutputModel import PrintJobOutputModel
|
||||
from cura.PrinterOutput.ExtruderOuputModel import ExtruderOuputModel
|
||||
from cura.PrinterOutput.PrinterOutputModel import PrinterOutputModel
|
||||
|
||||
class PrinterOutputController:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def setTargetHotendTemperature(self, printer: "PrinterOutputModel", extruder: "ExtruderOuputModel", temperature: int):
|
||||
# TODO: implement
|
||||
pass
|
||||
|
||||
def setTargetBedTemperature(self, printer: "PrinterOutputModel", temperature: int):
|
||||
pass
|
||||
|
||||
def setJobState(self, job: "PrintJobOutputModel", state: str):
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue