; bed.g ; called to perform automatic delta calibration via G32 ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 01 2021 17:15:59 GMT+0100 (Central European Standard Time) M561 ; clear any bed transform ; Probe the bed at 12 peripheral and 3 halfway points, and perform 6-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 Y184.9 H0 Z-99999 G30 P1 X92.45 Y160.13 H0 Z-99999 G30 P2 X160.13 Y92.45 H0 Z-99999 G30 P3 X184.9 Y0 H0 Z-99999 G30 P4 X160.13 Y-92.45 H0 Z-99999 G30 P5 X92.45 Y-160.13 H0 Z-99999 G30 P6 X0 Y-184.9 H0 Z-99999 G30 P7 X-92.45 Y-160.13 H0 Z-99999 G30 P8 X-160.13 Y-92.45 H0 Z-99999 G30 P9 X-184.9 Y0 H0 Z-99999 G30 P10 X-160.13 Y92.45 H0 Z-99999 G30 P11 X-92.45 Y160.13 H0 Z-99999 G30 P12 X0 Y92.4 H0 Z-99999 G30 P13 X80.02 Y-46.2 H0 Z-99999 G30 P14 X-80.02 Y-46.2 H0 Z-99999 G30 P15 X0 Y0 H0 Z-99999 S6 ; 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)