Please change z_tilt.py in extras

Hello,
i have changed the file z_tilt.py for better performance at my vyper with BLTouch Mod.
Every time i update klipper, i have to change this and then the maschine inform me for a (this) modified file. I think, that my “improvement” is usally also for other klipper users.
Can you add this modification to the klipper installation?
I upload my version and you can make a diff to see the modification, ok?
Regards,
evil
z_tilt.zip (2.5 KB)

Thanks for your contribution, but it is very unlikely that any developer will spend his time in the current form.
Please:

  • Give your post a meaningful title
  • Describe what is the problem / what needs to be improved
  • Provide the diff here formatted in code tags
  • Describe why your approach is an improvement over the current state
  • Ask other users to test your improvements and report their findings.
2 Likes

Ok, i try to explain my modification:
I add a new value “increasing_limit” for the printer.cfg as parameter for z_tilt.
In the class RetryHelper i have changed:
old version: return self.increasing > 1
new version: return self.increasing > self.increasing_limit

for me is the limit of 1 to small and thats why i add a parameter to change these limit:
self.default_increasing_limit = config.getint(“increasing_limit”, 0, minval=1)
self.increasing_limit = gcmd.get_int(‘INCREASING_LIMIT’, self.default_increasing_limit, minval=1, maxval=5)

I hope, this is enough to understand what i do.

regards,
evil

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.