From 17514b2a6aac7d2eb9850afb563ca69ffc22e1fc Mon Sep 17 00:00:00 2001 From: Pascal <73157207+EGOiST1991@users.noreply.github.com> Date: Tue, 20 Oct 2020 11:36:11 +0200 Subject: [PATCH] Head was 1mm to high after the pause The wrong line starts here: 458: prepend_gcode += self.putValue(G = 1, Z = current_z + 1, F = 300) + "\n" The correct line: 458: prepend_gcode += self.putValue(G = 1, Z = current_z, F = 300) + "\n" --- plugins/PostProcessingPlugin/scripts/PauseAtHeight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py b/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py index fc7bfec60a..82958ca11b 100644 --- a/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py +++ b/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py @@ -455,7 +455,7 @@ class PauseAtHeight(Script): prepend_gcode += self.putValue(G = 1, E = -retraction_amount, F = 6000) + "\n" #Move the head back - 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" if retraction_amount != 0: prepend_gcode += self.putValue(G = 1, E = retraction_amount, F = 6000) + "\n"