From e4bb90a1ca9a251941c1d2944b265cdc50916d9c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 16 Oct 2018 14:13:38 -0400 Subject: [PATCH] bed_mesh: Do not automatically run G28 on BED_MESH_CALIBRATE / BED_MESH_MAP Signed-off-by: Kevin O'Connor --- docs/G-Codes.md | 2 +- klippy/extras/bed_mesh.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/G-Codes.md b/docs/G-Codes.md index f5135d27..d5230aa6 100644 --- a/docs/G-Codes.md +++ b/docs/G-Codes.md @@ -186,7 +186,7 @@ section is enabled: terminal. This allows octoprint plugins to easily capture the data and generate maps approximating the bed's surface. Note that although no mesh is generated, any currently stored mesh - will be cleared as the process rehomes the printer. + will be cleared. - `BED_MESH_CLEAR`: This command clears the mesh and removes all z adjustment. It is recommended to put this in your end-gcode. - `BED_MESH_PROFILE LOAD= SAVE= REMOVE=`: This diff --git a/klippy/extras/bed_mesh.py b/klippy/extras/bed_mesh.py index 509b92dc..62df4091 100644 --- a/klippy/extras/bed_mesh.py +++ b/klippy/extras/bed_mesh.py @@ -311,7 +311,6 @@ class BedMeshCalibrate: 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(params) def print_probed_positions(self, print_func): if self.probed_z_table is not None: