; bed.g ; called to perform automatic delta calibration via G32 ; ; generated by RepRapFirmware Configuration Tool v2 on Wed Jul 31 2019 18:01:32 GMT-0700 (Pacific Daylight Time) M561 ; clear any bed transform G28 ; home all towers ; Probe the bed at 6 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 Y134.9 H0 Z-99999 G30 P1 X116.83 Y67.45 H0 Z-99999 G30 P2 X116.83 Y-67.45 H0 Z-99999 G30 P3 X0 Y-134.9 H0 Z-99999 G30 P4 X-116.83 Y-67.45 H0 Z-99999 G30 P5 X-116.83 Y67.45 H0 Z-99999 G30 P6 X0 Y67.4 H0 Z-99999 G30 P7 X58.37 Y-33.7 H0 Z-99999 G30 P8 X-58.37 Y-33.7 H0 Z-99999 G30 P9 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)