Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2016-03-17 16:44:09 +0300
committerJaime van Kessel <nallath@gmail.com>2016-03-17 16:44:09 +0300
commit89256b54236a35248752b68d4d33a2c50bcc21fe (patch)
tree4e891612852d449cfe13ed166a0a8e22b9702988 /plugins/USBPrinting/PrinterConnection.py
parentaafb9812454a88db70a8765f81224c9461b2aff0 (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.py4
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):