diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2024-05-23 13:32:04 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-06-10 12:20:21 -0400 |
commit | bec47e049278e9745173ebdb8b184ff3cf4d98c2 (patch) | |
tree | b4257d4450a3b66c14cbe9c2e91141c2c7563990 /klippy/extras/axis_twist_compensation.py | |
parent | 12f92c55f1c956bf415b379828c7b0bafae35026 (diff) | |
download | kutter-bec47e049278e9745173ebdb8b184ff3cf4d98c2.tar.gz kutter-bec47e049278e9745173ebdb8b184ff3cf4d98c2.tar.xz kutter-bec47e049278e9745173ebdb8b184ff3cf4d98c2.zip |
probe: Split out new ProbeSessionHelper() class from PrinterProbe()
Separate out the PrinterProbe() class to make the external probe
interfaces more clear.
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.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/extras/axis_twist_compensation.py b/klippy/extras/axis_twist_compensation.py index ad08ad55..cd3b8417 100644 --- a/klippy/extras/axis_twist_compensation.py +++ b/klippy/extras/axis_twist_compensation.py @@ -186,7 +186,8 @@ class Calibrater: probe_points[self.current_point_index][1], None)) # probe the point - self.current_measured_z = self.probe.run_probe(self.gcmd)[2] + pos = probe.run_single_probe(self.probe, self.gcmd) + self.current_measured_z = pos[2] # horizontal_move_z (to prevent probe trigger or hitting bed) self._move_helper((None, None, self.horizontal_move_z)) |