Fix Pause at height issue

Fixes #8575

Thanks to @EGOiST1991 for suggesting the fix!
This commit is contained in:
Jaime van Kessel 2021-08-16 11:15:30 +02:00
parent 3dec4e228b
commit a124342127

View file

@ -491,7 +491,7 @@ class PauseAtHeight(Script):
# Move the head back # Move the head back
if current_z < 15: if current_z < 15:
prepend_gcode += self.putValue(G = 1, Z = current_z + 1, F = 300) + "\n" prepend_gcode += self.putValue(G = 1, Z = current_z, F = 300) + "\n"
prepend_gcode += self.putValue(G = 1, X = x, Y = y, F = 9000) + "\n" prepend_gcode += self.putValue(G = 1, X = x, Y = y, F = 9000) + "\n"
prepend_gcode += self.putValue(G = 1, Z = current_z, F = 300) + " ; move back down to resume height\n" prepend_gcode += self.putValue(G = 1, Z = current_z, F = 300) + " ; move back down to resume height\n"
if retraction_amount != 0: if retraction_amount != 0: