From f3ad17af85d8f989487cc65cc5961b7e04ab3710 Mon Sep 17 00:00:00 2001 From: Wayne Porter Date: Wed, 26 Sep 2018 13:54:09 -0700 Subject: [PATCH] Remove G90 and assume absolute positioning Signed-off-by: Wayne Porter --- plugins/PostProcessingPlugin/scripts/TimeLapse.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/PostProcessingPlugin/scripts/TimeLapse.py b/plugins/PostProcessingPlugin/scripts/TimeLapse.py index 4160e3e2fc..00f22786ec 100644 --- a/plugins/PostProcessingPlugin/scripts/TimeLapse.py +++ b/plugins/PostProcessingPlugin/scripts/TimeLapse.py @@ -33,7 +33,7 @@ class TimeLapse(Script): "park_print_head": { "label": "Park Print Head", - "description": "Park the print head out of the way", + "description": "Park the print head out of the way. Assumes absolute positioning.", "type": "bool", "default_value": true }, @@ -78,7 +78,6 @@ class TimeLapse(Script): gcode_to_append = ";TimeLapse Begin" if park_print_head: - gcode_to_append += self.putValue(G = 90) + ";Absolute positioning\n" gcode_to_append += self.putValue(G = 1, F = feed_rate, X = x_park, Y = y_park) + ";Park print head\n" gcode_to_append += self.putValue(M = 400) + ";Wait for moves to finish\n" gcode_to_append += trigger_cmd + ";Snap Photo\n"