mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-24 15:14:00 -06:00
probe: Support manual probing at runtime
Don't require the config file to specify manual probing. Instead, allow the user to select manual probing on each ProbePointsHelper invocation. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
0e9b8abde2
commit
33887b8c39
10 changed files with 41 additions and 54 deletions
|
@ -39,7 +39,7 @@ class ZTilt:
|
|||
self.z_steppers = z_steppers
|
||||
cmd_Z_TILT_ADJUST_help = "Adjust the Z tilt"
|
||||
def cmd_Z_TILT_ADJUST(self, params):
|
||||
self.probe_helper.start_probe()
|
||||
self.probe_helper.start_probe(params)
|
||||
def probe_finalize(self, offsets, positions):
|
||||
z_offset = offsets[2]
|
||||
logging.info("Calculating bed tilt with: %s", positions)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue