Remove G90 and assume absolute positioning

Signed-off-by: Wayne Porter <wporter82@gmail.com>
This commit is contained in:
Wayne Porter 2018-09-26 13:54:09 -07:00
parent 03c0faaeca
commit f3ad17af85

View file

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