Automatic commit of config from 2025-03-20
This commit is contained in:
parent
48df3791e7
commit
0c99368bc5
1 changed files with 8 additions and 0 deletions
|
@ -342,6 +342,12 @@ gcode:
|
|||
[gcode_macro _SAFE_Z_HOME]
|
||||
; this macro recreates the save_z_home setup center the toolhead before z home.
|
||||
gcode:
|
||||
{% if not 'X' in printer.toolhead.homed_axes %}
|
||||
_SAFE_X_HOME
|
||||
{% endif %}
|
||||
{% if not 'Y' in printer.toolhead.homed_axes %}
|
||||
G28 Y
|
||||
{% endif %}
|
||||
G0 X175 Y175 F50000
|
||||
G28 Z
|
||||
|
||||
|
@ -360,6 +366,8 @@ gcode:
|
|||
{% elif not 'Z' in params and 'X' in params and 'Y' in params %} #Home X+Y
|
||||
_SAFE_X_HOME
|
||||
G28 Y
|
||||
{% elif 'Z' in params and not 'X' in params and not 'Y' in params %} # Home Z
|
||||
_SAFE_Z_HOME
|
||||
{% else %} #Home X+Y+Z
|
||||
_SAFE_X_HOME
|
||||
G28 Y
|
||||
|
|
Loading…
Add table
Reference in a new issue