mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-29 05:02:01 +08:00
Added home head & bed
CL-541
This commit is contained in:
parent
f0a8db3d4e
commit
00a5127b19
@ -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…
x
Reference in New Issue
Block a user