mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 03:29:03 +08:00
Disable hold-steppers option completely for Griffin-flavour.
Users could still set the option first, _then_ switch to Griffin, giving the same problems before the default was switched to false (since the setting is disabled for Griffin flavour anyway). part of CURA-10451
This commit is contained in:
parent
47ef9d623e
commit
a5fbb21fa7
@ -478,10 +478,11 @@ class PauseAtHeight(Script):
|
|||||||
prepend_gcode += "M117 " + display_text + "\n"
|
prepend_gcode += "M117 " + display_text + "\n"
|
||||||
|
|
||||||
# Set the disarm timeout
|
# Set the disarm timeout
|
||||||
if hold_steppers_on:
|
if pause_method != "griffin":
|
||||||
prepend_gcode += self.putValue(M = 84, S = 3600) + " ; Keep steppers engaged for 1h\n"
|
if hold_steppers_on:
|
||||||
elif disarm_timeout > 0:
|
prepend_gcode += self.putValue(M = 84, S = 3600) + " ; Keep steppers engaged for 1h\n"
|
||||||
prepend_gcode += self.putValue(M = 84, S = disarm_timeout) + " ; Set the disarm timeout\n"
|
elif disarm_timeout > 0:
|
||||||
|
prepend_gcode += self.putValue(M = 84, S = disarm_timeout) + " ; Set the disarm timeout\n"
|
||||||
|
|
||||||
# Beep at pause
|
# Beep at pause
|
||||||
if beep_at_pause:
|
if beep_at_pause:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user