mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Remove G90 and assume absolute positioning
Signed-off-by: Wayne Porter <wporter82@gmail.com>
This commit is contained in:
parent
03c0faaeca
commit
f3ad17af85
1 changed files with 1 additions and 2 deletions
|
@ -33,7 +33,7 @@ class TimeLapse(Script):
|
||||||
"park_print_head":
|
"park_print_head":
|
||||||
{
|
{
|
||||||
"label": "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",
|
"type": "bool",
|
||||||
"default_value": true
|
"default_value": true
|
||||||
},
|
},
|
||||||
|
@ -78,7 +78,6 @@ class TimeLapse(Script):
|
||||||
gcode_to_append = ";TimeLapse Begin"
|
gcode_to_append = ";TimeLapse Begin"
|
||||||
|
|
||||||
if park_print_head:
|
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(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 += self.putValue(M = 400) + ";Wait for moves to finish\n"
|
||||||
gcode_to_append += trigger_cmd + ";Snap Photo\n"
|
gcode_to_append += trigger_cmd + ";Snap Photo\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue