[gcode_macro go_screw_1]
gcode:
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=0
SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET=0
{% if printer.toolhead.homed_axes == "xyz" %}
G1 Z15
G1 X{printer.toolhead.axis_minimum.x+30} Y{printer.toolhead.axis_minimum.y+30} F5000
G1 Z0 F600
{% else %}
G28
G1 Z15
G1 X{printer.toolhead.axis_minimum.x+30} Y{printer.toolhead.axis_minimum.y+30} F5000
G1 Z0 F600
{% endif %}
[gcode_macro go_screw_2]
gcode:
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=0
SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET=0
{% if printer.toolhead.homed_axes == "xyz" %}
G1 Z15
G1 X{printer.toolhead.axis_maximum.x-30} Y{printer.toolhead.axis_minimum.y+30} F5000
G1 Z0 F600
{% else %}
G28
G1 Z15
G1 X{printer.toolhead.axis_maximum.x-30} Y{printer.toolhead.axis_minimum.y+30} F5000
G1 Z0 F600
{% endif %}
[gcode_macro go_screw_3]
gcode:
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=0
SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET=0
{% if printer.toolhead.homed_axes == "xyz" %}
G1 Z15
G1 X{printer.toolhead.axis_minimum.x+30} Y{printer.toolhead.axis_maximum.y-30} F5000
G1 Z0 F600
{% else %}
G28
G1 Z15
G1 X{printer.toolhead.axis_minimum.x+30} Y{printer.toolhead.axis_maximum.y-30} F5000
G1 Z0 F600
{% endif %}
[gcode_macro go_screw_4]
gcode:
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=0
SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET=0
{% if printer.toolhead.homed_axes == "xyz" %}
G1 Z15
G1 X{printer.toolhead.axis_maximum.x-30} Y{printer.toolhead.axis_maximum.y-30} F5000
G1 Z0 F600
{% else %}
G28
G1 Z15
G1 X{printer.toolhead.axis_maximum.x-30} Y{printer.toolhead.axis_maximum.y-30} F5000
G1 Z0 F600
{% endif %}