Merge branch 'CURA-8246_repetier_pause_at_height_fix'

This commit is contained in:
Ghostkeeper 2021-05-18 16:14:37 +02:00
commit 0ee9cbd9ee
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -387,7 +387,7 @@ class PauseAtHeight(Script):
#Retraction #Retraction
prepend_gcode += self.putValue(M = 83) + " ; switch to relative E values for any needed retraction\n" prepend_gcode += self.putValue(M = 83) + " ; switch to relative E values for any needed retraction\n"
if retraction_amount != 0: if retraction_amount != 0:
prepend_gcode += self.putValue(G = 1, E = retraction_amount, F = 6000) + "\n" prepend_gcode += self.putValue(G = 1, E = -retraction_amount, F = 6000) + "\n"
#Move the head away #Move the head away
prepend_gcode += self.putValue(G = 1, Z = current_z + 1, F = 300) + " ; move up a millimeter to get out of the way\n" prepend_gcode += self.putValue(G = 1, Z = current_z + 1, F = 300) + " ; move up a millimeter to get out of the way\n"