diff options
author | Jaime van Kessel <nallath@gmail.com> | 2016-03-17 16:44:09 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2016-03-17 16:44:09 +0300 |
commit | 89256b54236a35248752b68d4d33a2c50bcc21fe (patch) | |
tree | 4e891612852d449cfe13ed166a0a8e22b9702988 /plugins/USBPrinting/PrinterConnection.py | |
parent | aafb9812454a88db70a8765f81224c9461b2aff0 (diff) |
Added explicit home bed before rest of bed leveling
CURA-1102
Diffstat (limited to 'plugins/USBPrinting/PrinterConnection.py')
-rw-r--r-- | plugins/USBPrinting/PrinterConnection.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/USBPrinting/PrinterConnection.py b/plugins/USBPrinting/PrinterConnection.py index 907cebc012..00df335828 100644 --- a/plugins/USBPrinting/PrinterConnection.py +++ b/plugins/USBPrinting/PrinterConnection.py @@ -391,6 +391,10 @@ class PrinterConnection(OutputDevice, QObject, SignalEmitter): def homeHead(self): self._sendCommand("G28") + @pyqtSlot() + def homeBed(self): + self._sendCommand("G28 Z") + ## Directly send the command, withouth checking connection state (eg; printing). # \param cmd string with g-code def _sendCommand(self, cmd): |