Added home head & bed implementations

CURA-1339
This commit is contained in:
Jaime van Kessel 2016-04-14 11:02:43 +02:00
parent 5f2e0ceec8
commit 4f3489233c

View file

@ -112,6 +112,12 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
def _setHeadZ(self, z, speed):
self._sendCommand("G0 Y%s F%s" % (z, speed))
def _homeHead(self):
self._sendCommand("G28")
def _homeBed(self):
self._sendCommand("G28 Z")
@pyqtSlot()
def startPrint(self):
self.writeStarted.emit(self)