Browse Source

Home printer after aborting

Otherwise the head gets left on top of the print and you'd have to manually move it aside after each abort.
Ghostkeeper 7 years ago
parent
commit
6d2b46244f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      plugins/USBPrinting/USBPrinterOutputDevice.py

+ 2 - 0
plugins/USBPrinting/USBPrinterOutputDevice.py

@@ -622,6 +622,8 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
         self._sendCommand("M140 S0")
         self._sendCommand("M104 S0")
         self._sendCommand("M107")
+        self.homeHead()
+        self.homeBed()
         self._sendCommand("M84")
         self._is_printing = False
         self._is_paused = False