jlas1 / Klicky-Probe

Microswitch probe with magnetic attachement, primarily aimed at CoreXY 3d printers
GNU General Public License v3.0
1.22k stars 279 forks source link

Actuate servo at safe z height #261

Open thetic opened 2 months ago

thetic commented 2 months ago

safe_z should be used to avoid any interference with the dock servo.

I'm using this on a bed flinger with a servo-actuated dock mounted to the z axis: https://github.com/salveoo/voronmods/tree/main/Switchwire%20Magprobe. I also have fans mounted along the x-axis, behind the toolhead. These fans prevent the servo from deploying/retracting below the safe z height. These changes ensure that deploying the dock happens before dropping to the dock height, and that retracting the dock happens after raising the toolhead back up.

I think this may address #240 as well