jlas1 / Klicky-Probe

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

Add support for slideswipe and similar probes #240

Open HitLuca opened 9 months ago

HitLuca commented 9 months ago

Today I integrated the klicky macros with my slideswipe probe, but this required a couple of modifications. Since the probe needs to slide in and out of the servo dock, the attach/dock macros need more steps than usual.

The dock, when extended, has a channel that runs along the y axis in which the probe will need to slide in and out Attach:

Dock:

For my implementation I used the stock variables used for klicky (attachmove_x/y, dockmove_x/y) plus the attachmove2_x/y variables. The dock operation also uses attachmove2_x/y so I had to integrate those variables into the macro.

Let me know if it could be an interesting integration, my code is specific to slideswipe but I'm sure it could be integrated to work as usual when this particular case isn't occurring

If this attach/dock movements are already supported please let me know, but to my knowledge they aren't

HitLuca commented 9 months ago

another idea is to add the position to move to before/after the servo has been extended/retracted