mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 00:48:58 +08:00
Added home head & bed implementations
CURA-1339
This commit is contained in:
parent
5f2e0ceec8
commit
4f3489233c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user