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

Add support for slideswipe and similar probes #240

Open HitLuca opened 6 months ago

HitLuca commented 6 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 5 months ago

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