From 33887b8c396c5933cf6bd3ad653eec32834f2c9f Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 26 Sep 2018 13:07:18 -0400 Subject: 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 --- klippy/extras/bed_mesh.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'klippy/extras/bed_mesh.py') 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" -- cgit v1.2.3-70-g09d2