bed_mesh: Extend BED_MESH_MAP to provide more information
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
5c267e4f69
commit
144868c600
|
@ -246,8 +246,14 @@ class BedMeshCalibrate:
|
|||
self.probed_z_table[y_position][x_position] = \
|
||||
positions[i][2] - z_offset
|
||||
if self.build_map:
|
||||
outdict = {'z_probe_offsets:': self.probed_z_table}
|
||||
self.gcode.respond(json.dumps(outdict))
|
||||
params = self.probe_params
|
||||
outdict = {
|
||||
'min_point': (params['min_x'], params['min_y']),
|
||||
'max_point': (params['max_x'], params['max_y']),
|
||||
'xy_offset': offsets[:2],
|
||||
'z_positions': self.probed_z_table}
|
||||
self.gcode.respond(
|
||||
"mesh_map_output " + json.dumps(outdict))
|
||||
else:
|
||||
mesh = ZMesh(self.probe_params)
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue