bed_mesh: Do not automatically run G28 on BED_MESH_CALIBRATE / BED_MESH_MAP

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-10-16 14:13:38 -04:00 committed by KevinOConnor
parent f382762962
commit e4bb90a1ca
2 changed files with 1 additions and 2 deletions

View File

@ -186,7 +186,7 @@ section is enabled:
terminal. This allows octoprint plugins to easily capture the terminal. This allows octoprint plugins to easily capture the
data and generate maps approximating the bed's surface. Note data and generate maps approximating the bed's surface. Note
that although no mesh is generated, any currently stored mesh 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 - `BED_MESH_CLEAR`: This command clears the mesh and removes all
z adjustment. It is recommended to put this in your end-gcode. z adjustment. It is recommended to put this in your end-gcode.
- `BED_MESH_PROFILE LOAD=<name> SAVE=<name> REMOVE=<name>`: This - `BED_MESH_PROFILE LOAD=<name> SAVE=<name> REMOVE=<name>`: This

View File

@ -311,7 +311,6 @@ class BedMeshCalibrate:
self.start_calibration(params) self.start_calibration(params)
def start_calibration(self, params): def start_calibration(self, params):
self.bedmesh.set_mesh(None) self.bedmesh.set_mesh(None)
self.gcode.run_script_from_command("G28")
self.probe_helper.start_probe(params) self.probe_helper.start_probe(params)
def print_probed_positions(self, print_func): def print_probed_positions(self, print_func):
if self.probed_z_table is not None: if self.probed_z_table is not None: