Add wait for moves to finish to timelapse script

This commit is contained in:
Wayne Porter 2018-09-11 13:19:40 -07:00
parent eb3670dd93
commit 2e77293204

View file

@ -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"