klippain
klippain copied to clipboard
Lift Z after brush
Added Z lift after brush
may I suggest making it configurable via _USER_VARIABLES like under variables.cfg add
variable_purge_lift_z: 5
nozzle_cleaning.cfg
{% set lift_z = printer["gcode_macro _USER_VARIABLES"].purge_lift_z|default(5)|int %}
G1 Z{lift_z} F{Sc}
maybe it would be easy to use existing homing zhop?
We also have to take care of machines where the brush is fixed to the side of the machine and the bed is moving (like on a V0): in this case the Zhop is not needed because the distance from the brush to the nozzle is not affected. I have such a machine and that's why I never implemented this zhop in the beginning.
But I'm all for it if we manage to make it a bit more intelligent :)