aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/axis_twist_compensation.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2024-05-23 14:51:01 -0400
committerKevin O'Connor <kevin@koconnor.net>2024-06-10 12:20:21 -0400
commit6ea5b94d1e3add2bb15cbe9c2f5fd9c7da2e0970 (patch)
tree4291b712dfdde79cf84725e682dd69930cdf6f8c /klippy/extras/axis_twist_compensation.py
parent6f6122a576c42852ca8835f9cef5993d2ac76a1d (diff)
downloadkutter-6ea5b94d1e3add2bb15cbe9c2f5fd9c7da2e0970.tar.gz
kutter-6ea5b94d1e3add2bb15cbe9c2f5fd9c7da2e0970.tar.xz
kutter-6ea5b94d1e3add2bb15cbe9c2f5fd9c7da2e0970.zip
probe: Convert probe.get_lift_speed() to probe.get_print_params()
Add a get_print_params() method that can extract all the common probing parameters. Replace get_lift_speed() with this more general function. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/axis_twist_compensation.py')
-rw-r--r--klippy/extras/axis_twist_compensation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/axis_twist_compensation.py b/klippy/extras/axis_twist_compensation.py
index cd3b8417..e01951ab 100644
--- a/klippy/extras/axis_twist_compensation.py
+++ b/klippy/extras/axis_twist_compensation.py
@@ -95,7 +95,7 @@ class Calibrater:
config = self.printer.lookup_object('configfile')
raise config.error(
"AXIS_TWIST_COMPENSATION requires [probe] to be defined")
- self.lift_speed = self.probe.get_lift_speed()
+ self.lift_speed = self.probe.get_probe_params()['lift_speed']
self.probe_x_offset, self.probe_y_offset, _ = \
self.probe.get_offsets()