mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-06 13:34:06 -06:00
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>
This commit is contained in:
parent
52df40dfbb
commit
3387cccdcf
6 changed files with 42 additions and 30 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue