#define Z_PROBE_OFFSET_FROM_EXTRUDER -17.25 // Increase this if the first layer is too thin (remember: it's a negative number so increase means closer to zero).
#define Z_PROBE_OFFSET_FROM_EXTRUDER -17.25 // Increase this if the first layer is too thin (remember: it's a negative number so increase means closer to zero).
// Certain types of probes need to stay away from edges
#define MIN_PROBE_EDGE 10
// X and Y axis travel speed (mm/m) between probes
// X and Y axis travel speed (mm/m) between probes
#define XY_PROBE_SPEED 8000
#define XY_PROBE_SPEED 8000
@ -1084,8 +1087,6 @@
#define GRID_MAX_POINTS_X 7
#define GRID_MAX_POINTS_X 7
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
// The Z probe minimum outer margin (to validate G29 parameters).
#error "AUTO_BED_LEVELING_UBL (<=1.1.8) always has RESTORE_LEVELING_AFTER_G28 enabled. To keep this behavior, #define RESTORE_LEVELING_AFTER_G28. To keep it disabled comment out this line in SanityCheck.h."
#error "AUTO_BED_LEVELING_UBL (<=1.1.8) always has RESTORE_LEVELING_AFTER_G28 enabled. To keep this behavior, #define RESTORE_LEVELING_AFTER_G28. To keep it disabled comment out this line in SanityCheck.h."
#else
#else
static_assert(WITHIN(UBL_PROBE_PT_1_X,MIN_PROBE_X,MAX_PROBE_X),"UBL_PROBE_PT_1_X can't be reached by the Z probe.");
static_assert(WITHIN(UBL_PROBE_PT_1_X,MIN_PROBE_X,MAX_PROBE_X),"UBL_PROBE_PT_1_X is outside the probe region.");
static_assert(WITHIN(UBL_PROBE_PT_2_X,MIN_PROBE_X,MAX_PROBE_X),"UBL_PROBE_PT_2_X can't be reached by the Z probe.");
static_assert(WITHIN(UBL_PROBE_PT_2_X,MIN_PROBE_X,MAX_PROBE_X),"UBL_PROBE_PT_2_X is outside the probe region.");
static_assert(WITHIN(UBL_PROBE_PT_3_X,MIN_PROBE_X,MAX_PROBE_X),"UBL_PROBE_PT_3_X can't be reached by the Z probe.");
static_assert(WITHIN(UBL_PROBE_PT_3_X,MIN_PROBE_X,MAX_PROBE_X),"UBL_PROBE_PT_3_X is outside the probe region.");
static_assert(WITHIN(UBL_PROBE_PT_1_Y,MIN_PROBE_Y,MAX_PROBE_Y),"UBL_PROBE_PT_1_Y can't be reached by the Z probe.");
static_assert(WITHIN(UBL_PROBE_PT_1_Y,MIN_PROBE_Y,MAX_PROBE_Y),"UBL_PROBE_PT_1_Y is outside the probe region.");
static_assert(WITHIN(UBL_PROBE_PT_2_Y,MIN_PROBE_Y,MAX_PROBE_Y),"UBL_PROBE_PT_2_Y can't be reached by the Z probe.");
static_assert(WITHIN(UBL_PROBE_PT_2_Y,MIN_PROBE_Y,MAX_PROBE_Y),"UBL_PROBE_PT_2_Y is outside the probe region.");
static_assert(WITHIN(UBL_PROBE_PT_3_Y,MIN_PROBE_Y,MAX_PROBE_Y),"UBL_PROBE_PT_3_Y can't be reached by the Z probe.");
static_assert(WITHIN(UBL_PROBE_PT_3_Y,MIN_PROBE_Y,MAX_PROBE_Y),"UBL_PROBE_PT_3_Y is outside the probe region.");
#endif
#endif
#elif OLDSCHOOL_ABL
#elif OLDSCHOOL_ABL
@ -870,10 +870,6 @@ static_assert(1 >= 0
*AutoBedLeveling
*AutoBedLeveling
*/
*/
#if ENABLED(USE_RAW_KINEMATICS)
#error "USE_RAW_KINEMATICS is not compatible with AUTO_BED_LEVELING"
#endif
/**
/**
*DeltaandSCARAhavelimitedbedlevelingoptions
*DeltaandSCARAhavelimitedbedlevelingoptions
*/
*/
@ -886,28 +882,21 @@ static_assert(1 >= 0
*/
*/
#if ABL_GRID
#if ABL_GRID
#ifdef DELTA_PROBEABLE_RADIUS
static_assert(LEFT_PROBE_BED_POSITION<RIGHT_PROBE_BED_POSITION,"LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
static_assert(LEFT_PROBE_BED_POSITION>=-DELTA_PROBEABLE_RADIUS,"LEFT_PROBE_BED_POSITION must be within DELTA_PROBEABLE_RADIUS.");
static_assert(FRONT_PROBE_BED_POSITION<BACK_PROBE_BED_POSITION,"FRONT_PROBE_BED_POSITION must be less than BACK_PROBE_BED_POSITION.");
static_assert(RIGHT_PROBE_BED_POSITION<=DELTA_PROBEABLE_RADIUS,"RIGHT_PROBE_BED_POSITION must be within DELTA_PROBEABLE_RADIUS.");
static_assert(LEFT_PROBE_BED_POSITION>=MIN_PROBE_X,"LEFT_PROBE_BED_POSITION is outside the probe region.");
static_assert(FRONT_PROBE_BED_POSITION>=-DELTA_PROBEABLE_RADIUS,"FRONT_PROBE_BED_POSITION must be within DELTA_PROBEABLE_RADIUS.");
static_assert(RIGHT_PROBE_BED_POSITION<=MAX_PROBE_X,"RIGHT_PROBE_BED_POSITION is outside the probe region.");
static_assert(BACK_PROBE_BED_POSITION<=DELTA_PROBEABLE_RADIUS,"BACK_PROBE_BED_POSITION must be within DELTA_PROBEABLE_RADIUS.");
static_assert(FRONT_PROBE_BED_POSITION>=MIN_PROBE_Y,"FRONT_PROBE_BED_POSITION is outside the probe region.");
#else
static_assert(BACK_PROBE_BED_POSITION<=MAX_PROBE_Y,"BACK_PROBE_BED_POSITION is outside the probe region.");
static_assert(LEFT_PROBE_BED_POSITION<RIGHT_PROBE_BED_POSITION,"LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
static_assert(FRONT_PROBE_BED_POSITION<BACK_PROBE_BED_POSITION,"FRONT_PROBE_BED_POSITION must be less than BACK_PROBE_BED_POSITION.");
static_assert(LEFT_PROBE_BED_POSITION>=MIN_PROBE_X,"LEFT_PROBE_BED_POSITION can't be reached by the Z probe.");
static_assert(RIGHT_PROBE_BED_POSITION<=MAX_PROBE_X,"RIGHT_PROBE_BED_POSITION can't be reached by the Z probe.");
static_assert(FRONT_PROBE_BED_POSITION>=MIN_PROBE_Y,"FRONT_PROBE_BED_POSITION can't be reached by the Z probe.");
static_assert(BACK_PROBE_BED_POSITION<=MAX_PROBE_Y,"BACK_PROBE_BED_POSITION can't be reached by the Z probe.");
#endif
#else // AUTO_BED_LEVELING_3POINT
#else // AUTO_BED_LEVELING_3POINT
static_assert(WITHIN(ABL_PROBE_PT_1_X,MIN_PROBE_X,MAX_PROBE_X),"ABL_PROBE_PT_1_X can't be reached by the Z probe.");
static_assert(WITHIN(ABL_PROBE_PT_1_X,MIN_PROBE_X,MAX_PROBE_X),"ABL_PROBE_PT_1_X is outside the probe region.");
static_assert(WITHIN(ABL_PROBE_PT_2_X,MIN_PROBE_X,MAX_PROBE_X),"ABL_PROBE_PT_2_X can't be reached by the Z probe.");
static_assert(WITHIN(ABL_PROBE_PT_2_X,MIN_PROBE_X,MAX_PROBE_X),"ABL_PROBE_PT_2_X is outside the probe region.");
static_assert(WITHIN(ABL_PROBE_PT_3_X,MIN_PROBE_X,MAX_PROBE_X),"ABL_PROBE_PT_3_X can't be reached by the Z probe.");
static_assert(WITHIN(ABL_PROBE_PT_3_X,MIN_PROBE_X,MAX_PROBE_X),"ABL_PROBE_PT_3_X is outside the probe region.");
static_assert(WITHIN(ABL_PROBE_PT_1_Y,MIN_PROBE_Y,MAX_PROBE_Y),"ABL_PROBE_PT_1_Y can't be reached by the Z probe.");
static_assert(WITHIN(ABL_PROBE_PT_1_Y,MIN_PROBE_Y,MAX_PROBE_Y),"ABL_PROBE_PT_1_Y is outside the probe region.");
static_assert(WITHIN(ABL_PROBE_PT_2_Y,MIN_PROBE_Y,MAX_PROBE_Y),"ABL_PROBE_PT_2_Y can't be reached by the Z probe.");
static_assert(WITHIN(ABL_PROBE_PT_2_Y,MIN_PROBE_Y,MAX_PROBE_Y),"ABL_PROBE_PT_2_Y is outside the probe region.");
static_assert(WITHIN(ABL_PROBE_PT_3_Y,MIN_PROBE_Y,MAX_PROBE_Y),"ABL_PROBE_PT_3_Y can't be reached by the Z probe.");
static_assert(WITHIN(ABL_PROBE_PT_3_Y,MIN_PROBE_Y,MAX_PROBE_Y),"ABL_PROBE_PT_3_Y is outside the probe region.");