Skip to content

Commit

Permalink
improved homing to allow only Z if XY are already homed
Browse files Browse the repository at this point in the history
  • Loading branch information
Frix-x committed Jun 11, 2023
1 parent cc4ee87 commit a5bea10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion macros/base/homing/homing_overide.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,13 @@ gcode:
{% endif %}
G0 Z{homing_zhop} F{z_drop_speed}
{% endif %}
{% elif ('xy' in printer.toolhead.homed_axes) %}
{% if verbose %}
{ action_respond_info("X and Y already homed, no ZHOP needed to home Z") }
{% endif %}
{% else %}
{% if verbose %}
{ action_respond_info("Z not homed, forcing full G28") }
{ action_respond_info("X and Y not homed, forcing full G28 to home Z properly") }
{% endif %}
SET_KINEMATIC_POSITION X=0 Y=0 Z=0
G0 Z{homing_zhop} F{z_drop_speed}
Expand Down

0 comments on commit a5bea10

Please sign in to comment.