Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions macros/TEST_SPEED.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,14 @@ gcode:
G4 P1000
GET_POSITION

# Park Nozzle After Testing - Use `SAVE_VARIABLE VARIABLE=test_speed_park_{x,y} VALUE={x,y}` To Change Path
# This is useful is you are using a custom homing that moves the X/Y in a positive direction.
{% set moveX = printer.save_variables.variables.test_speed_park_x | default(printer.toolhead.axis_maximum.x - 1) %}
{% set moveY = printer.save_variables.variables.test_speed_park_y | default(printer.toolhead.axis_maximum.y - 1) %}

G0 X{moveX} Y{moveY } F{30*60}


# Restore previous gcode state (absolute/relative, etc)
RESTORE_GCODE_STATE NAME=TEST_SPEED