mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Added home head & bed implementations
CURA-1339
This commit is contained in:
parent
5f2e0ceec8
commit
4f3489233c
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue