meshlevel.g T0 ; Select first hot end G91 ; relitive moves G1 Z5 F3000 ;lift Z 5mm G1 X-306 y-302 F1500 S1 ;relative move to x,y -295mm neg dir stop at switch G1 X5 Y5 F1000 ;relative back off switch 5mm pos dir G1 X-295 Y-302 F360 S1 ;relative move x,y -302mm alliance neg stop at switch slowlymeshlevel. G90 ; Absolute coordinates G1 X52 Y286 F3000 ; Go to first bed probe point and home the Z axis M557 X52:300 Y5:286 S31 ; Bed probe from X52 to 300 and Y5 to 286 in increments M401 ; Lower BLTouch probe G29 S2 ; Clears bed height map in RepRapFirmware G29 S0; Kicks off the Z probing across the height map M402 ; Retract BLTouch probe M374 ; Save calibration data. Default is sys/heightmap.csv G1 X148.5 Y151 F3000 ; All done - move mid bed