mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Added home head & bed
CL-541
This commit is contained in:
parent
f0a8db3d4e
commit
00a5127b19
2 changed files with 14 additions and 0 deletions
|
@ -30,4 +30,10 @@ class PrinterOutputController:
|
|||
pass
|
||||
|
||||
def moveHead(self, printer: "PrinterOutputModel", x, y, z, speed):
|
||||
pass
|
||||
|
||||
def homeBed(self, printer):
|
||||
pass
|
||||
|
||||
def homeHead(self, printer):
|
||||
pass
|
|
@ -40,6 +40,14 @@ class PrinterOutputModel(QObject):
|
|||
self._can_pre_heat_bed = True
|
||||
self._can_control_manually = True
|
||||
|
||||
@pyqtSlot()
|
||||
def homeHead(self):
|
||||
self._controller.homeHead(self)
|
||||
|
||||
@pyqtSlot()
|
||||
def homeBed(self):
|
||||
self._controller.homeBed(self)
|
||||
|
||||
@pyqtProperty("QVariantList", constant = True)
|
||||
def extruders(self):
|
||||
return self._extruders
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue