Added explicit home bed before rest of bed leveling

CURA-1102
This commit is contained in:
Jaime van Kessel 2016-03-17 14:44:09 +01:00
parent aafb981245
commit 89256b5423
2 changed files with 5 additions and 0 deletions

View file

@ -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):