From 821a4dea67a4f60a398dd275912a07c9690821c6 Mon Sep 17 00:00:00 2001 From: Wayne Porter Date: Wed, 26 Sep 2018 14:00:36 -0700 Subject: [PATCH] Fix begin and end comments Signed-off-by: Wayne Porter --- plugins/PostProcessingPlugin/scripts/TimeLapse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/PostProcessingPlugin/scripts/TimeLapse.py b/plugins/PostProcessingPlugin/scripts/TimeLapse.py index 00f22786ec..a4b0996075 100644 --- a/plugins/PostProcessingPlugin/scripts/TimeLapse.py +++ b/plugins/PostProcessingPlugin/scripts/TimeLapse.py @@ -75,14 +75,14 @@ class TimeLapse(Script): y_park = self.getSettingValueByKey("head_park_y") trigger_cmd = self.getSettingValueByKey("trigger_cmd") pause_length = self.getSettingValueByKey("pause_length") - gcode_to_append = ";TimeLapse Begin" + gcode_to_append = ";TimeLapse Begin\n" if park_print_head: 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" gcode_to_append += self.putValue(G = 4, P = pause_length) + ";Wait for camera\n" - gcode_to_append += ";TimeLapse End" + gcode_to_append += ";TimeLapse End\n" for layer in data: # Check that a layer is being printed lines = layer.split("\n")