; bed.g ; called to perform automatic delta calibration via G32 ; ; generated by RepRapFirmware Configuration Tool v2 on Sun Jan 13 2019 18:34:35 GMT+0100 (Midden-Europese standaardtijd) M561 ; clear any bed transform M98 Pdeployprobe.g ; deploy mechanical Z probe ; Probe the bed at 6 peripheral and 6 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 Y137.21 H0 Z-99999 G30 P1 X125.33 Y72.36 H0 Z-99999 G30 P2 X134.23 Y-77.5 H0 Z-99999 G30 P3 X0 Y-150 H0 Z-99999 G30 P4 X-134.23 Y-77.5 H0 Z-99999 G30 P5 X-125.33 Y72.36 H0 Z-99999 G30 P6 X0 Y61.54 H0 Z-99999 G30 P7 X58.25 Y33.63 H0 Z-99999 G30 P8 X67.12 Y-38.75 H0 Z-99999 G30 P9 X0 Y-77.5 H0 Z-99999 G30 P10 X-67.12 Y-38.75 H0 Z-99999 G30 P11 X-58.25 Y33.63 H0 Z-99999 G30 P12 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) M98 Pretractprobe.g ; retract mechanical Z probe