Klicky-Probe icon indicating copy to clipboard operation
Klicky-Probe copied to clipboard

klicky-macros.cfg: Probe positions are truncated to nearest int (why???)

Open idonasch opened this issue 2 years ago • 2 comments

In klicky-macros.cfg all references to docklocation_* are cast/filtered to the nearest integer. My dock was off by 0.4mm which caused the attach_probe to fail. The probe always was skewed by a couple degrees and didn't made contact. Is there a reason that I might have missed? Wouldn't round() be more appropriate if conversion is needed at all? Anyways I would recommend to do any necessary conversions up in the {% set ... %} section.

I had to pry the mount over by 0.5mm to get it working.

idonasch avatar Oct 18 '22 19:10 idonasch

I'll check how hard is to correct

jlas1 avatar Nov 21 '22 23:11 jlas1

Just popping in to say I noticed this last night and I agree it should not be casting to an int. Luckily my dock landed close enough to a whole number (43.15) where it still works.

jcfain avatar Oct 08 '23 12:10 jcfain