mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -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
|
@ -31,3 +31,9 @@ class PrinterOutputController:
|
||||||
|
|
||||||
def moveHead(self, printer: "PrinterOutputModel", x, y, z, speed):
|
def moveHead(self, printer: "PrinterOutputModel", x, y, z, speed):
|
||||||
pass
|
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_pre_heat_bed = True
|
||||||
self._can_control_manually = 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)
|
@pyqtProperty("QVariantList", constant = True)
|
||||||
def extruders(self):
|
def extruders(self):
|
||||||
return self._extruders
|
return self._extruders
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue