diff options
author | Arksine <arksine.code@gmail.com> | 2018-08-18 12:25:57 -0400 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2018-08-19 16:52:23 -0400 |
commit | 3387cccdcfe953e5733df61187b8f5731b38c1e0 (patch) | |
tree | 3aa1a55e38acc9550cae89488b65f585699dfa2e /klippy/extras/delta_calibrate.py | |
parent | 52df40dfbb5596c3190ba4a5cd79fd3af87a71b3 (diff) | |
download | kutter-3387cccdcfe953e5733df61187b8f5731b38c1e0.tar.gz kutter-3387cccdcfe953e5733df61187b8f5731b38c1e0.tar.xz kutter-3387cccdcfe953e5733df61187b8f5731b38c1e0.zip |
bed_mesh: move probe x and y offsets to the [probe] module
All probe offsets are now passed to the finalize() callback in the ProbePointsHelper Class.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Diffstat (limited to 'klippy/extras/delta_calibrate.py')
-rw-r--r-- | klippy/extras/delta_calibrate.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/extras/delta_calibrate.py b/klippy/extras/delta_calibrate.py index 3437a6d8..99b59490 100644 --- a/klippy/extras/delta_calibrate.py +++ b/klippy/extras/delta_calibrate.py @@ -33,7 +33,8 @@ class DeltaCalibrate: def get_probed_position(self): kin = self.printer.lookup_object('toolhead').get_kinematics() return kin.get_stable_position() - def finalize(self, z_offset, positions): + def finalize(self, offsets, positions): + z_offset = offsets[2] kin = self.printer.lookup_object('toolhead').get_kinematics() logging.info("Calculating delta_calibrate with: %s", positions) params = kin.get_calibrate_params() |