; bed.g ; called to perform automatic bed compensation via G32 ; ; generated by RepRapFirmware Configuration Tool on Thu Sep 06 2018 21:21:12 GMT-0700 (Pacific Daylight Time) M561 ; clear any bed transform M98 Pdeployprobe.g ; deploy mechanical Z probe ; Probe the bed at 4 points G30 P0 X50 Y50 H0 Z-99999 ;G30 P0 X20 Y20 H0 Z-99999 G30 P1 X50 Y185 H0 Z-99999 ;G30 P1 X20 Y215 H0 Z-99999 G30 P2 X185 Y185 H0 Z-99999 ;G30 P2 X215 Y215 H0 Z-99999 G30 P3 X185 Y50 H0 Z-99999 S ;G30 P3 X215 Y20 H0 Z-99999 S M98 Pretractprobe.g ; retract mechanical Z probe