Skip to content

Commit

Permalink
Fix begin and end comments
Browse files Browse the repository at this point in the history
Signed-off-by: Wayne Porter <wporter82@gmail.com>
  • Loading branch information
wporter82 committed Sep 26, 2018
1 parent f3ad17a commit 821a4de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/PostProcessingPlugin/scripts/TimeLapse.py
Expand Up @@ -75,14 +75,14 @@ def execute(self, data):
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")
Expand Down

0 comments on commit 821a4de

Please sign in to comment.