Skip to main content
WARNING! From February 2022, these pages are no longer maintained.
Please see the current Duet3D documentation at https://docs.duet3d.com/
Help

Revision to Using mesh bed compensation

David Crocker

== Summary of gcode commands related to mesh bed compensation ==
-* '''[[Gcode#Section_G29_Detailed_Z_Probe|G29]]''' or '''G29 S0''' Probe the bed and save height map to file
+* '''[[Gcode#Section_G29_Detailed_Z_Probe|G29]]''' Run file sys/mesh.g, or if that file isn't found then do G29 S0
+* '''G29 S0''' Probe the bed and save height map to file
* '''G29 S1''' Load height map from file
* '''G29 S2''' Clear height map
+* '''G29 S3 P"filename"''' Save height map to file
* '''[[Gcode#Section_G30_Single_Z_Probe|G30]]''' Probe the bed at a single point (can be used to measure Z probe trigger height)
* '''[[Gcode#Section_G31_Set_or_Report_Current_Probe_status|G31]]''' Set Z probe trigger height, threshold and offsets from the print head reference point
* '''[[Gcode#Section_M375_Load_height_map|M375]]''' Load height map from file (same as G29 S1)
* '''[[Gcode#Section_M376_Set_bed_compensation_taper|M376]]''' Set bed compensation taper height
-* '''[[Gcode#Section_M401_Deploy_z_probe|M401]]''' Deploy Z probe (runs sys/deployprobe.g file)
-* '''[[Gcode#Section_M402_Retract_z_probe|M402]]''' Retract Z probe (runs sys/retractprobe.g file)
+* '''[[Gcode#Section_M401_Deploy_z_probe|M401]]''' Deploy Z probe (runs sys/deployprobe#.g file where # is the Z probe number, or file sys/deployprobe.g if that file isn't found).
+* '''[[Gcode#Section_M402_Retract_z_probe|M402]]''' Retract Z probe (runs sys/retractprobe#.g file where # is the Z probe number, or sys/retractprobe.g if that file isn't found)
* '''[[Gcode#Section_M557_Set_Z_probe_point_or_define_probing_grid|M557]]''' Define the probing grid
* '''[[Gcode#Section_M558_Set_Z_probe_type|M558]]''' Set Z probe type, dive height, probing speed, travel speed between probe points, and probe recovery time

To undo the changes made by this version, click 'Revert Changes.' This will automatically restore the previous version of this guide.

Revert Changes