Svanhvid/misc/homing-override.cfg

22 lines
377 B
INI

[homing_override]
axes: xyz
set_position_z: 0
gcode:
G0 Z5
{% set home_all = 'X' not in params and 'Y' not in params and 'Z' not in params %}
{% if home_all or 'X' in params %}
_HOME_X
{% endif %}
{% if home_all or 'Y' in params %}
_HOME_Y
{% endif %}
{% if home_all or 'Z' in params %}
G0 X175 Y175 F18000
G28 Z
G1 Z10
{% endif %}