; bed.g ; called to perform automatic bed compensation via G32 ; ; generated by RepRapFirmware Configuration Tool v2.1.8 on Wed May 27 2020 09:04:29 GMT+0200 (heure d’été d’Europe centrale) M561 ; clear any bed transform T0 ; Activate T0 head (the one with the sensor) G1 X175 Y150 F8000 ; move head in the middle of bed before establish a Z=0 datum using the Z probe G1 Z10 F800 ;M400 ; wait current move to finish M401 ; deploy Z probe (run deployprobe.g file) G30 ; establish a Z=0 datum using the Z probe G29 ; probe the bed and enable compensation M402 ; retract Z probe (run retractprobe.g file) M376 H10 ; Set bed mesh compensation taper to 10mm (bed mesh error are compensated on 10mm) G1 Z10 F1000 ; Move the head