parent
c80e5aca30
commit
89a845659a
@ -3079,7 +3079,7 @@ inline void gcode_G28() {
|
|||||||
#if ENABLED(DELTA)
|
#if ENABLED(DELTA)
|
||||||
// Avoid probing the corners (outside the round or hexagon print surface) on a delta printer.
|
// Avoid probing the corners (outside the round or hexagon print surface) on a delta printer.
|
||||||
float distance_from_center = sqrt(xProbe * xProbe + yProbe * yProbe);
|
float distance_from_center = sqrt(xProbe * xProbe + yProbe * yProbe);
|
||||||
if (distance_from_center > DELTA_PROBABLE_RADIUS) continue;
|
if (distance_from_center > DELTA_PROBEABLE_RADIUS) continue;
|
||||||
#endif //DELTA
|
#endif //DELTA
|
||||||
|
|
||||||
ProbeAction act;
|
ProbeAction act;
|
||||||
|
@ -198,7 +198,7 @@
|
|||||||
* Check if Probe_Offset * Grid Points is greater than Probing Range
|
* Check if Probe_Offset * Grid Points is greater than Probing Range
|
||||||
*/
|
*/
|
||||||
#if ENABLED(AUTO_BED_LEVELING_GRID)
|
#if ENABLED(AUTO_BED_LEVELING_GRID)
|
||||||
#ifndef DELTA_PROBABLE_RADIUS
|
#ifndef DELTA_PROBEABLE_RADIUS
|
||||||
// Be sure points are in the right order
|
// Be sure points are in the right order
|
||||||
#if LEFT_PROBE_BED_POSITION > RIGHT_PROBE_BED_POSITION
|
#if LEFT_PROBE_BED_POSITION > RIGHT_PROBE_BED_POSITION
|
||||||
#error LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.
|
#error LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.
|
||||||
|
@ -545,11 +545,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
|||||||
#if ENABLED(AUTO_BED_LEVELING_GRID)
|
#if ENABLED(AUTO_BED_LEVELING_GRID)
|
||||||
|
|
||||||
// Set the rectangle in which to probe.
|
// Set the rectangle in which to probe.
|
||||||
#define DELTA_PROBABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
||||||
#define LEFT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS
|
#define LEFT_PROBE_BED_POSITION -DELTA_PROBEABLE_RADIUS
|
||||||
#define RIGHT_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
|
#define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
|
||||||
#define FRONT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS
|
#define FRONT_PROBE_BED_POSITION -DELTA_PROBEABLE_RADIUS
|
||||||
#define BACK_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
|
#define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
|
||||||
|
|
||||||
#define MIN_PROBE_EDGE 10 // The Z probe minimum square sides can be no smaller than this.
|
#define MIN_PROBE_EDGE 10 // The Z probe minimum square sides can be no smaller than this.
|
||||||
|
|
||||||
|
@ -545,11 +545,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
|||||||
#if ENABLED(AUTO_BED_LEVELING_GRID)
|
#if ENABLED(AUTO_BED_LEVELING_GRID)
|
||||||
|
|
||||||
// set the rectangle in which to probe
|
// set the rectangle in which to probe
|
||||||
#define DELTA_PROBABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
||||||
#define LEFT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS
|
#define LEFT_PROBE_BED_POSITION -DELTA_PROBEABLE_RADIUS
|
||||||
#define RIGHT_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
|
#define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
|
||||||
#define FRONT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS
|
#define FRONT_PROBE_BED_POSITION -DELTA_PROBEABLE_RADIUS
|
||||||
#define BACK_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
|
#define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
|
||||||
|
|
||||||
#define MIN_PROBE_EDGE 10 // The Z probe minimum square sides can be no smaller than this.
|
#define MIN_PROBE_EDGE 10 // The Z probe minimum square sides can be no smaller than this.
|
||||||
|
|
||||||
|
@ -545,11 +545,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
#if ENABLED(AUTO_BED_LEVELING_GRID)
|
#if ENABLED(AUTO_BED_LEVELING_GRID)
|
||||||
|
|
||||||
// set the rectangle in which to probe
|
// set the rectangle in which to probe
|
||||||
#define DELTA_PROBABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
||||||
#define LEFT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS
|
#define LEFT_PROBE_BED_POSITION -DELTA_PROBEABLE_RADIUS
|
||||||
#define RIGHT_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
|
#define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
|
||||||
#define FRONT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS
|
#define FRONT_PROBE_BED_POSITION -DELTA_PROBEABLE_RADIUS
|
||||||
#define BACK_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
|
#define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
|
||||||
|
|
||||||
#define MIN_PROBE_EDGE 10 // The Z probe minimum square sides can be no smaller than this.
|
#define MIN_PROBE_EDGE 10 // The Z probe minimum square sides can be no smaller than this.
|
||||||
|
|
||||||
|
@ -532,11 +532,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
#if ENABLED(AUTO_BED_LEVELING_GRID)
|
#if ENABLED(AUTO_BED_LEVELING_GRID)
|
||||||
|
|
||||||
// set the rectangle in which to probe
|
// set the rectangle in which to probe
|
||||||
#define DELTA_PROBABLE_RADIUS (DELTA_PRINTABLE_RADIUS-25)
|
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS-25)
|
||||||
#define LEFT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS
|
#define LEFT_PROBE_BED_POSITION -DELTA_PROBEABLE_RADIUS
|
||||||
#define RIGHT_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
|
#define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
|
||||||
#define FRONT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS
|
#define FRONT_PROBE_BED_POSITION -DELTA_PROBEABLE_RADIUS
|
||||||
#define BACK_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
|
#define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
|
||||||
|
|
||||||
#define MIN_PROBE_EDGE 10 // The Z probe minimum square sides can be no smaller than this.
|
#define MIN_PROBE_EDGE 10 // The Z probe minimum square sides can be no smaller than this.
|
||||||
|
|
||||||
|
@ -537,11 +537,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
|
|
||||||
#if ENABLED(AUTO_BED_LEVELING_GRID)
|
#if ENABLED(AUTO_BED_LEVELING_GRID)
|
||||||
|
|
||||||
#define DELTA_PROBABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
#define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
|
||||||
#define LEFT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS
|
#define LEFT_PROBE_BED_POSITION -DELTA_PROBEABLE_RADIUS
|
||||||
#define RIGHT_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
|
#define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
|
||||||
#define FRONT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS
|
#define FRONT_PROBE_BED_POSITION -DELTA_PROBEABLE_RADIUS
|
||||||
#define BACK_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS
|
#define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
|
||||||
|
|
||||||
#define MIN_PROBE_EDGE 20 // The Z probe minimum square sides can be no smaller than this.
|
#define MIN_PROBE_EDGE 20 // The Z probe minimum square sides can be no smaller than this.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user