Просмотр исходного кода

Fix Pause at height issue

Fixes #8575

Thanks to @EGOiST1991 for suggesting the fix!
Jaime van Kessel 3 лет назад
Родитель
Сommit
a124342127
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      plugins/PostProcessingPlugin/scripts/PauseAtHeight.py

+ 1 - 1
plugins/PostProcessingPlugin/scripts/PauseAtHeight.py

@@ -491,7 +491,7 @@ class PauseAtHeight(Script):
 
                     # Move the head back
                     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, Z = current_z, F = 300) + " ; move back down to resume height\n"
                     if retraction_amount != 0: