aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/bed_mesh.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-09-26 13:07:18 -0400
committerKevinOConnor <kevin@koconnor.net>2018-10-01 11:12:30 -0400
commit33887b8c396c5933cf6bd3ad653eec32834f2c9f (patch)
treec37b0c049088529b123dfadb64a8f13af1cdc564 /klippy/extras/bed_mesh.py
parent0e9b8abde2940eb17aad0337cb0dd55f6fadffb9 (diff)
downloadkutter-33887b8c396c5933cf6bd3ad653eec32834f2c9f.tar.gz
kutter-33887b8c396c5933cf6bd3ad653eec32834f2c9f.tar.xz
kutter-33887b8c396c5933cf6bd3ad653eec32834f2c9f.zip
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>
Diffstat (limited to 'klippy/extras/bed_mesh.py')
-rw-r--r--klippy/extras/bed_mesh.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/klippy/extras/bed_mesh.py b/klippy/extras/bed_mesh.py
index d31c2609..5a7a622d 100644
--- a/klippy/extras/bed_mesh.py
+++ b/klippy/extras/bed_mesh.py
@@ -204,15 +204,15 @@ class BedMeshCalibrate:
cmd_BED_MESH_MAP_help = "Probe the bed and serialize output"
def cmd_BED_MESH_MAP(self, params):
self.build_map = True
- self.start_calibration()
+ self.start_calibration(params)
cmd_BED_MESH_CALIBRATE_help = "Perform Mesh Bed Leveling"
def cmd_BED_MESH_CALIBRATE(self, params):
self.build_map = False
- self.start_calibration()
- def start_calibration(self):
+ self.start_calibration(params)
+ def start_calibration(self, params):
self.bedmesh.set_mesh(None)
self.gcode.run_script_from_command("G28")
- self.probe_helper.start_probe()
+ self.probe_helper.start_probe(params)
def print_probed_positions(self, print_func):
if self.probed_z_table is not None:
msg = "Mesh Leveling Probed Z positions:\n"