#Customising home buttons.

7 messages · Page 1 of 1 (latest)

pine sail
#

Is there any way I can change the behaviour of the home buttons in Mainsail.
For example, after doing a Z-Home I want to lift the nozzle by a small amount to avoid damaging the bed if I do an X or Y move.
I know I could create a macro to do this but it would be good to be able to modify the movement when pressing the Home-Z button in the GUI. I have searched all the cfg files but cant find where this might be defined

pseudo rune
#

The home button in Mainsail execute G28 gcodes, so anything you specifying in Klipper will be done and nothing more

pine sail
#

I was hoping I could add G0 Z10 to it but clearly not

pseudo rune
#

Nope that did also not help at all, most times you have your G28 in your slicer start code (or print start macro) and these homing would not lift the nozzle

#

The easiest way to modify z homing is [safe_z_homing]

#

Btw the homing retract is defined in your stepper section search for ```homing_retract_dist: 5.0

Distance to backoff (in mm) before homing a second time during

homing. Set this to zero to disable the second home. The default

is 5mm.```