moggieuk / Happy-Hare

MMU software driver for Klipper (ERCF, Tradrack, Box Turtle, Night Owl, Angry Beaver, 3MS, ...)
GNU General Public License v3.0
501 stars 126 forks source link

Z Hop Behaviour #182

Open barsamgr opened 9 months ago

barsamgr commented 9 months ago

More like a suggestion rather than an issue. As far as I understand both variable_park_z_hop (mmu_sequence.cfg) and z_hop_height_toolchange (mmu_parameters.cfg) behave the same way, meaning that the lift z in and out of print. So why not make variable_park_z_hop lift when it is already at park position in order to be lifted when going back in print. This is a change I did already for my purposes because I want the nozzle to drag out of the print but not while going back in. So this is what I did: image

I moved the move to park command (line 92) before the z lift logic.

So now if I want a lift in and out of the print I can use z_hop_height_toolchange if I want only going in print I can use variable_park_z_hop.

moggieuk commented 9 months ago

Hi, yes I can see this is confusing but the the z-hop settings work differently. There is a little explanation here: https://github.com/moggieuk/Happy-Hare/blob/main/doc/toolchange_movement.md#---z-hop-moves

Really you can choose one or the other depending on your preference. Not also that I try not to dictate pause/resume macros and these may also have there own z_hop logic.

As you can see in my doc, I set my macro's to 0mm z_hop and just do it with HH because I don't need the movement when not in a print...