; bed.g ; called to perform automatic delta calibration via G32 ; ; generated by RepRapFirmware Configuration Tool on Tue May 22 2018 22:01:05 GMT-0500 (Central Daylight Time) M561 ; clear any bed transform ; Probe the bed at 12 peripheral and 0 halfway points, and perform 3-factor auto compensation ; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g. G30 P0 X0 Y149.9 H0 Z-99999 G30 P1 X74.95 Y129.82 H0 Z-99999 G30 P2 X129.82 Y74.95 H0 Z-99999 G30 P3 X149.9 Y0 H0 Z-99999 G30 P4 X129.82 Y-74.95 H0 Z-99999 G30 P5 X74.95 Y-129.82 H0 Z-99999 G30 P6 X0 Y-149.9 H0 Z-99999 G30 P7 X-74.95 Y-129.82 H0 Z-99999 G30 P8 X-129.82 Y-74.95 H0 Z-99999 G30 P9 X-149.9 Y0 H0 Z-99999 G30 P10 X-129.82 Y74.95 H0 Z-99999 G30 P11 X-74.95 Y129.82 H0 Z-99999 G30 P12 X0 Y0 H0 Z-99999 S3 ; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors ; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed)