ABL_GRID_POINTS_* => ABL_GRID_MAX_POINTS_*
This commit is contained in:
parent
7ca4f16a5c
commit
1b2fb2bdc7
24 changed files with 85 additions and 83 deletions
|
@ -805,8 +805,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -576,7 +576,7 @@ static uint8_t target_extruder;
|
||||||
|
|
||||||
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
int bilinear_grid_spacing[2] = { 0 }, bilinear_start[2] = { 0 };
|
int bilinear_grid_spacing[2] = { 0 }, bilinear_start[2] = { 0 };
|
||||||
float bed_level_grid[ABL_GRID_POINTS_X][ABL_GRID_POINTS_Y];
|
float bed_level_grid[ABL_GRID_MAX_POINTS_X][ABL_GRID_MAX_POINTS_Y];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if IS_SCARA
|
#if IS_SCARA
|
||||||
|
@ -2303,8 +2303,8 @@ static void clean_up_after_endstop_or_probe_move() {
|
||||||
#if ABL_PLANAR
|
#if ABL_PLANAR
|
||||||
planner.bed_level_matrix.set_to_identity();
|
planner.bed_level_matrix.set_to_identity();
|
||||||
#elif ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#elif ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
for (uint8_t x = 0; x < ABL_GRID_POINTS_X; x++)
|
for (uint8_t x = 0; x < ABL_GRID_MAX_POINTS_X; x++)
|
||||||
for (uint8_t y = 0; y < ABL_GRID_POINTS_Y; y++)
|
for (uint8_t y = 0; y < ABL_GRID_MAX_POINTS_Y; y++)
|
||||||
bed_level_grid[x][y] = 1000.0;
|
bed_level_grid[x][y] = 1000.0;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -2363,9 +2363,9 @@ static void clean_up_after_endstop_or_probe_move() {
|
||||||
//#define EXTRAPOLATE_FROM_EDGE
|
//#define EXTRAPOLATE_FROM_EDGE
|
||||||
|
|
||||||
#if ENABLED(EXTRAPOLATE_FROM_EDGE)
|
#if ENABLED(EXTRAPOLATE_FROM_EDGE)
|
||||||
#if ABL_GRID_POINTS_X < ABL_GRID_POINTS_Y
|
#if ABL_GRID_MAX_POINTS_X < ABL_GRID_MAX_POINTS_Y
|
||||||
#define HALF_IN_X
|
#define HALF_IN_X
|
||||||
#elif ABL_GRID_POINTS_Y < ABL_GRID_POINTS_X
|
#elif ABL_GRID_MAX_POINTS_Y < ABL_GRID_MAX_POINTS_X
|
||||||
#define HALF_IN_Y
|
#define HALF_IN_Y
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -2376,18 +2376,18 @@ static void clean_up_after_endstop_or_probe_move() {
|
||||||
*/
|
*/
|
||||||
static void extrapolate_unprobed_bed_level() {
|
static void extrapolate_unprobed_bed_level() {
|
||||||
#ifdef HALF_IN_X
|
#ifdef HALF_IN_X
|
||||||
const uint8_t ctrx2 = 0, xlen = ABL_GRID_POINTS_X - 1;
|
const uint8_t ctrx2 = 0, xlen = ABL_GRID_MAX_POINTS_X - 1;
|
||||||
#else
|
#else
|
||||||
const uint8_t ctrx1 = (ABL_GRID_POINTS_X - 1) / 2, // left-of-center
|
const uint8_t ctrx1 = (ABL_GRID_MAX_POINTS_X - 1) / 2, // left-of-center
|
||||||
ctrx2 = ABL_GRID_POINTS_X / 2, // right-of-center
|
ctrx2 = ABL_GRID_MAX_POINTS_X / 2, // right-of-center
|
||||||
xlen = ctrx1;
|
xlen = ctrx1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HALF_IN_Y
|
#ifdef HALF_IN_Y
|
||||||
const uint8_t ctry2 = 0, ylen = ABL_GRID_POINTS_Y - 1;
|
const uint8_t ctry2 = 0, ylen = ABL_GRID_MAX_POINTS_Y - 1;
|
||||||
#else
|
#else
|
||||||
const uint8_t ctry1 = (ABL_GRID_POINTS_Y - 1) / 2, // top-of-center
|
const uint8_t ctry1 = (ABL_GRID_MAX_POINTS_Y - 1) / 2, // top-of-center
|
||||||
ctry2 = ABL_GRID_POINTS_Y / 2, // bottom-of-center
|
ctry2 = ABL_GRID_MAX_POINTS_Y / 2, // bottom-of-center
|
||||||
ylen = ctry1;
|
ylen = ctry1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -2417,16 +2417,16 @@ static void clean_up_after_endstop_or_probe_move() {
|
||||||
*/
|
*/
|
||||||
static void print_bed_level() {
|
static void print_bed_level() {
|
||||||
SERIAL_ECHOPGM("Bilinear Leveling Grid:\n ");
|
SERIAL_ECHOPGM("Bilinear Leveling Grid:\n ");
|
||||||
for (uint8_t x = 0; x < ABL_GRID_POINTS_X; x++) {
|
for (uint8_t x = 0; x < ABL_GRID_MAX_POINTS_X; x++) {
|
||||||
SERIAL_PROTOCOLPGM(" ");
|
SERIAL_PROTOCOLPGM(" ");
|
||||||
if (x < 10) SERIAL_PROTOCOLCHAR(' ');
|
if (x < 10) SERIAL_PROTOCOLCHAR(' ');
|
||||||
SERIAL_PROTOCOL((int)x);
|
SERIAL_PROTOCOL((int)x);
|
||||||
}
|
}
|
||||||
SERIAL_EOL;
|
SERIAL_EOL;
|
||||||
for (uint8_t y = 0; y < ABL_GRID_POINTS_Y; y++) {
|
for (uint8_t y = 0; y < ABL_GRID_MAX_POINTS_Y; y++) {
|
||||||
if (y < 10) SERIAL_PROTOCOLCHAR(' ');
|
if (y < 10) SERIAL_PROTOCOLCHAR(' ');
|
||||||
SERIAL_PROTOCOL((int)y);
|
SERIAL_PROTOCOL((int)y);
|
||||||
for (uint8_t x = 0; x < ABL_GRID_POINTS_X; x++) {
|
for (uint8_t x = 0; x < ABL_GRID_MAX_POINTS_X; x++) {
|
||||||
SERIAL_PROTOCOLCHAR(' ');
|
SERIAL_PROTOCOLCHAR(' ');
|
||||||
float offset = bed_level_grid[x][y];
|
float offset = bed_level_grid[x][y];
|
||||||
if (offset < 999.0) {
|
if (offset < 999.0) {
|
||||||
|
@ -2442,10 +2442,10 @@ static void clean_up_after_endstop_or_probe_move() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#if ENABLED(ABL_BILINEAR_SUBDIVISION)
|
#if ENABLED(ABL_BILINEAR_SUBDIVISION)
|
||||||
#define ABL_GRID_POINTS_VIRT_X (ABL_GRID_POINTS_X - 1) * (BILINEAR_SUBDIVISIONS) + 1
|
#define ABL_GRID_POINTS_VIRT_X (ABL_GRID_MAX_POINTS_X - 1) * (BILINEAR_SUBDIVISIONS) + 1
|
||||||
#define ABL_GRID_POINTS_VIRT_Y (ABL_GRID_POINTS_Y - 1) * (BILINEAR_SUBDIVISIONS) + 1
|
#define ABL_GRID_POINTS_VIRT_Y (ABL_GRID_MAX_POINTS_Y - 1) * (BILINEAR_SUBDIVISIONS) + 1
|
||||||
float bed_level_grid_virt[ABL_GRID_POINTS_VIRT_X][ABL_GRID_POINTS_VIRT_Y];
|
float bed_level_grid_virt[ABL_GRID_POINTS_VIRT_X][ABL_GRID_POINTS_VIRT_Y];
|
||||||
float bed_level_grid_virt_temp[ABL_GRID_POINTS_X + 2][ABL_GRID_POINTS_Y + 2]; //temporary for calculation (maybe dynamical?)
|
float bed_level_grid_virt_temp[ABL_GRID_MAX_POINTS_X + 2][ABL_GRID_MAX_POINTS_Y + 2]; //temporary for calculation (maybe dynamical?)
|
||||||
int bilinear_grid_spacing_virt[2] = { 0 };
|
int bilinear_grid_spacing_virt[2] = { 0 };
|
||||||
|
|
||||||
static void bed_level_virt_print() {
|
static void bed_level_virt_print() {
|
||||||
|
@ -2475,9 +2475,9 @@ static void clean_up_after_endstop_or_probe_move() {
|
||||||
}
|
}
|
||||||
#define LINEAR_EXTRAPOLATION(E, I) (E * 2 - I)
|
#define LINEAR_EXTRAPOLATION(E, I) (E * 2 - I)
|
||||||
static void bed_level_virt_prepare() {
|
static void bed_level_virt_prepare() {
|
||||||
for (uint8_t y = 1; y <= ABL_GRID_POINTS_Y; y++) {
|
for (uint8_t y = 1; y <= ABL_GRID_MAX_POINTS_Y; y++) {
|
||||||
|
|
||||||
for (uint8_t x = 1; x <= ABL_GRID_POINTS_X; x++)
|
for (uint8_t x = 1; x <= ABL_GRID_MAX_POINTS_X; x++)
|
||||||
bed_level_grid_virt_temp[x][y] = bed_level_grid[x - 1][y - 1];
|
bed_level_grid_virt_temp[x][y] = bed_level_grid[x - 1][y - 1];
|
||||||
|
|
||||||
bed_level_grid_virt_temp[0][y] = LINEAR_EXTRAPOLATION(
|
bed_level_grid_virt_temp[0][y] = LINEAR_EXTRAPOLATION(
|
||||||
|
@ -2485,21 +2485,21 @@ static void clean_up_after_endstop_or_probe_move() {
|
||||||
bed_level_grid_virt_temp[2][y]
|
bed_level_grid_virt_temp[2][y]
|
||||||
);
|
);
|
||||||
|
|
||||||
bed_level_grid_virt_temp[(ABL_GRID_POINTS_X + 2) - 1][y] =
|
bed_level_grid_virt_temp[(ABL_GRID_MAX_POINTS_X + 2) - 1][y] =
|
||||||
LINEAR_EXTRAPOLATION(
|
LINEAR_EXTRAPOLATION(
|
||||||
bed_level_grid_virt_temp[(ABL_GRID_POINTS_X + 2) - 2][y],
|
bed_level_grid_virt_temp[(ABL_GRID_MAX_POINTS_X + 2) - 2][y],
|
||||||
bed_level_grid_virt_temp[(ABL_GRID_POINTS_X + 2) - 3][y]
|
bed_level_grid_virt_temp[(ABL_GRID_MAX_POINTS_X + 2) - 3][y]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
for (uint8_t x = 0; x < ABL_GRID_POINTS_X + 2; x++) {
|
for (uint8_t x = 0; x < ABL_GRID_MAX_POINTS_X + 2; x++) {
|
||||||
bed_level_grid_virt_temp[x][0] = LINEAR_EXTRAPOLATION(
|
bed_level_grid_virt_temp[x][0] = LINEAR_EXTRAPOLATION(
|
||||||
bed_level_grid_virt_temp[x][1],
|
bed_level_grid_virt_temp[x][1],
|
||||||
bed_level_grid_virt_temp[x][2]
|
bed_level_grid_virt_temp[x][2]
|
||||||
);
|
);
|
||||||
bed_level_grid_virt_temp[x][(ABL_GRID_POINTS_Y + 2) - 1] =
|
bed_level_grid_virt_temp[x][(ABL_GRID_MAX_POINTS_Y + 2) - 1] =
|
||||||
LINEAR_EXTRAPOLATION(
|
LINEAR_EXTRAPOLATION(
|
||||||
bed_level_grid_virt_temp[x][(ABL_GRID_POINTS_Y + 2) - 2],
|
bed_level_grid_virt_temp[x][(ABL_GRID_MAX_POINTS_Y + 2) - 2],
|
||||||
bed_level_grid_virt_temp[x][(ABL_GRID_POINTS_Y + 2) - 3]
|
bed_level_grid_virt_temp[x][(ABL_GRID_MAX_POINTS_Y + 2) - 3]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2521,11 +2521,11 @@ static void clean_up_after_endstop_or_probe_move() {
|
||||||
return bed_level_virt_cmr(row, 1, tx);
|
return bed_level_virt_cmr(row, 1, tx);
|
||||||
}
|
}
|
||||||
static void bed_level_virt_interpolate() {
|
static void bed_level_virt_interpolate() {
|
||||||
for (uint8_t y = 0; y < ABL_GRID_POINTS_Y; y++)
|
for (uint8_t y = 0; y < ABL_GRID_MAX_POINTS_Y; y++)
|
||||||
for (uint8_t x = 0; x < ABL_GRID_POINTS_X; x++)
|
for (uint8_t x = 0; x < ABL_GRID_MAX_POINTS_X; x++)
|
||||||
for (uint8_t ty = 0; ty < BILINEAR_SUBDIVISIONS; ty++)
|
for (uint8_t ty = 0; ty < BILINEAR_SUBDIVISIONS; ty++)
|
||||||
for (uint8_t tx = 0; tx < BILINEAR_SUBDIVISIONS; tx++) {
|
for (uint8_t tx = 0; tx < BILINEAR_SUBDIVISIONS; tx++) {
|
||||||
if ((ty && y == ABL_GRID_POINTS_Y - 1) || (tx && x == ABL_GRID_POINTS_X - 1))
|
if ((ty && y == ABL_GRID_MAX_POINTS_Y - 1) || (tx && x == ABL_GRID_MAX_POINTS_X - 1))
|
||||||
continue;
|
continue;
|
||||||
bed_level_grid_virt[x * (BILINEAR_SUBDIVISIONS) + tx][y * (BILINEAR_SUBDIVISIONS) + ty] =
|
bed_level_grid_virt[x * (BILINEAR_SUBDIVISIONS) + tx][y * (BILINEAR_SUBDIVISIONS) + ty] =
|
||||||
bed_level_virt_2cmr(
|
bed_level_virt_2cmr(
|
||||||
|
@ -3934,8 +3934,8 @@ inline void gcode_G28() {
|
||||||
|
|
||||||
// X and Y specify points in each direction, overriding the default
|
// X and Y specify points in each direction, overriding the default
|
||||||
// These values may be saved with the completed mesh
|
// These values may be saved with the completed mesh
|
||||||
int abl_grid_points_x = code_seen('X') ? code_value_int() : ABL_GRID_POINTS_X,
|
int abl_grid_points_x = code_seen('X') ? code_value_int() : ABL_GRID_MAX_POINTS_X,
|
||||||
abl_grid_points_y = code_seen('Y') ? code_value_int() : ABL_GRID_POINTS_Y;
|
abl_grid_points_y = code_seen('Y') ? code_value_int() : ABL_GRID_MAX_POINTS_Y;
|
||||||
|
|
||||||
if (code_seen('P')) abl_grid_points_x = abl_grid_points_y = code_value_int();
|
if (code_seen('P')) abl_grid_points_x = abl_grid_points_y = code_value_int();
|
||||||
|
|
||||||
|
@ -3946,7 +3946,7 @@ inline void gcode_G28() {
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
const int abl_grid_points_x = ABL_GRID_POINTS_X, abl_grid_points_y = ABL_GRID_POINTS_Y;
|
const int abl_grid_points_x = ABL_GRID_MAX_POINTS_X, abl_grid_points_y = ABL_GRID_MAX_POINTS_Y;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -8757,8 +8757,8 @@ void ok_to_send() {
|
||||||
#define ABL_BG_GRID(X,Y) bed_level_grid_virt[X][Y]
|
#define ABL_BG_GRID(X,Y) bed_level_grid_virt[X][Y]
|
||||||
#else
|
#else
|
||||||
#define ABL_BG_SPACING(A) bilinear_grid_spacing[A]
|
#define ABL_BG_SPACING(A) bilinear_grid_spacing[A]
|
||||||
#define ABL_BG_POINTS_X ABL_GRID_POINTS_X
|
#define ABL_BG_POINTS_X ABL_GRID_MAX_POINTS_X
|
||||||
#define ABL_BG_POINTS_Y ABL_GRID_POINTS_Y
|
#define ABL_BG_POINTS_Y ABL_GRID_MAX_POINTS_Y
|
||||||
#define ABL_BG_GRID(X,Y) bed_level_grid[X][Y]
|
#define ABL_BG_GRID(X,Y) bed_level_grid[X][Y]
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -142,7 +142,9 @@
|
||||||
#elif defined(AUTO_BED_LEVELING_FEATURE)
|
#elif defined(AUTO_BED_LEVELING_FEATURE)
|
||||||
#error "AUTO_BED_LEVELING_FEATURE is deprecated. Specify AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR, or AUTO_BED_LEVELING_3POINT."
|
#error "AUTO_BED_LEVELING_FEATURE is deprecated. Specify AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR, or AUTO_BED_LEVELING_3POINT."
|
||||||
#elif defined(ABL_GRID_POINTS)
|
#elif defined(ABL_GRID_POINTS)
|
||||||
#error "ABL_GRID_POINTS is now ABL_GRID_POINTS_X and ABL_GRID_POINTS_Y. Please update your configuration."
|
#error "ABL_GRID_POINTS is now ABL_GRID_MAX_POINTS_X and ABL_GRID_MAX_POINTS_Y. Please update your configuration."
|
||||||
|
#elif defined(ABL_GRID_POINTS_X) || defined(ABL_GRID_POINTS_Y)
|
||||||
|
#error "ABL_GRID_POINTS_[XY] is now ABL_GRID_MAX_POINTS_[XY]. Please update your configuration."
|
||||||
#elif defined(BEEPER)
|
#elif defined(BEEPER)
|
||||||
#error "BEEPER is now BEEPER_PIN. Please update your pins definitions."
|
#error "BEEPER is now BEEPER_PIN. Please update your pins definitions."
|
||||||
#elif defined(SDCARDDETECT)
|
#elif defined(SDCARDDETECT)
|
||||||
|
@ -212,10 +214,10 @@
|
||||||
#error "You probably want to use Max Endstops for DELTA!"
|
#error "You probably want to use Max Endstops for DELTA!"
|
||||||
#endif
|
#endif
|
||||||
#if ABL_GRID
|
#if ABL_GRID
|
||||||
#if (ABL_GRID_POINTS_X & 1) == 0 || (ABL_GRID_POINTS_Y & 1) == 0
|
#if (ABL_GRID_MAX_POINTS_X & 1) == 0 || (ABL_GRID_MAX_POINTS_Y & 1) == 0
|
||||||
#error "DELTA requires ABL_GRID_POINTS_X and ABL_GRID_POINTS_Y to be odd numbers."
|
#error "DELTA requires ABL_GRID_MAX_POINTS_X and ABL_GRID_MAX_POINTS_Y to be odd numbers."
|
||||||
#elif ABL_GRID_POINTS_X < 3
|
#elif ABL_GRID_MAX_POINTS_X < 3
|
||||||
#error "DELTA requires ABL_GRID_POINTS_X and ABL_GRID_POINTS_Y to be 3 or higher."
|
#error "DELTA requires ABL_GRID_MAX_POINTS_X and ABL_GRID_MAX_POINTS_Y to be 3 or higher."
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -805,8 +805,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -788,8 +788,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -788,8 +788,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -797,8 +797,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -799,8 +799,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER
|
#define LEFT_PROBE_BED_POSITION X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER
|
||||||
|
|
|
@ -834,8 +834,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -805,8 +805,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -805,8 +805,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -805,8 +805,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -804,8 +804,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -820,8 +820,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -826,8 +826,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -797,8 +797,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -805,8 +805,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -898,8 +898,8 @@
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
// Works best with 5 or more points in each dimension.
|
// Works best with 5 or more points in each dimension.
|
||||||
#define ABL_GRID_POINTS_X 9
|
#define ABL_GRID_MAX_POINTS_X 9
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
||||||
|
|
|
@ -892,8 +892,8 @@
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
// Works best with 5 or more points in each dimension.
|
// Works best with 5 or more points in each dimension.
|
||||||
#define ABL_GRID_POINTS_X 9
|
#define ABL_GRID_MAX_POINTS_X 9
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
||||||
|
|
|
@ -895,8 +895,8 @@
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
// Works best with 5 or more points in each dimension.
|
// Works best with 5 or more points in each dimension.
|
||||||
#define ABL_GRID_POINTS_X 9
|
#define ABL_GRID_MAX_POINTS_X 9
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
||||||
|
|
|
@ -894,8 +894,8 @@
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
// Works best with 5 or more points in each dimension.
|
// Works best with 5 or more points in each dimension.
|
||||||
#define ABL_GRID_POINTS_X 7
|
#define ABL_GRID_MAX_POINTS_X 7
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS-25)
|
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS-25)
|
||||||
|
|
|
@ -898,8 +898,8 @@
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
// Works best with 5 or more points in each dimension.
|
// Works best with 5 or more points in each dimension.
|
||||||
#define ABL_GRID_POINTS_X 5
|
#define ABL_GRID_MAX_POINTS_X 5
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
||||||
|
|
|
@ -808,8 +808,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
|
@ -801,8 +801,8 @@
|
||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
#define ABL_GRID_POINTS_X 3
|
#define ABL_GRID_MAX_POINTS_X 3
|
||||||
#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X
|
#define ABL_GRID_MAX_POINTS_Y ABL_GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
#define LEFT_PROBE_BED_POSITION 15
|
#define LEFT_PROBE_BED_POSITION 15
|
||||||
|
|
Reference in a new issue