mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 16:09:01 +08:00
Remove home bed from abort sequence
On printers that home the bed to the bottom (ie: printhead moves towards the bed), homing the bed when aborting a print could cause the printhead to crash into the aborted print.
This commit is contained in:
parent
e163cc0d84
commit
371ca36047
@ -622,8 +622,9 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
self._sendCommand("M140 S0")
|
self._sendCommand("M140 S0")
|
||||||
self._sendCommand("M104 S0")
|
self._sendCommand("M104 S0")
|
||||||
self._sendCommand("M107")
|
self._sendCommand("M107")
|
||||||
|
# Home XY to prevent nozzle resting on aborted print
|
||||||
|
# Don't home bed because it may crash the printhead into the print on printers that home on the bottom
|
||||||
self.homeHead()
|
self.homeHead()
|
||||||
self.homeBed()
|
|
||||||
self._sendCommand("M84")
|
self._sendCommand("M84")
|
||||||
self._is_printing = False
|
self._is_printing = False
|
||||||
self._is_paused = False
|
self._is_paused = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user