From 2e77293204a2ed286beb2447f0b467587cbeedeb Mon Sep 17 00:00:00 2001 From: Wayne Porter Date: Tue, 11 Sep 2018 13:19:40 -0700 Subject: [PATCH] Add wait for moves to finish to timelapse script --- plugins/PostProcessingPlugin/scripts/TimeLapse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/PostProcessingPlugin/scripts/TimeLapse.py b/plugins/PostProcessingPlugin/scripts/TimeLapse.py index ee58b89fe2..7420e0895f 100644 --- a/plugins/PostProcessingPlugin/scripts/TimeLapse.py +++ b/plugins/PostProcessingPlugin/scripts/TimeLapse.py @@ -76,6 +76,7 @@ class TimeLapse(Script): trigger_cmd = self.getSettingValueByKey("trigger_cmd") pause_length = self.getSettingValueByKey("pause_length") + gcode_to_append = self.putValue(M = 400) + ";Wait for moves to finish\n" 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"