|
|
|
|
914
|
// Probing points may be verified at compile time within the radius
|
914
|
// Probing points may be verified at compile time within the radius
|
915
|
// using static_assert(HYPOT2(X2-X1,Y2-Y1)<=sq(DELTA_PRINTABLE_RADIUS),"bad probe point!")
|
915
|
// using static_assert(HYPOT2(X2-X1,Y2-Y1)<=sq(DELTA_PRINTABLE_RADIUS),"bad probe point!")
|
916
|
// so that may be added to SanityCheck.h in the future.
|
916
|
// so that may be added to SanityCheck.h in the future.
|
917
|
- #define MIN_PROBE_X (X_CENTER - (DELTA_PROBEABLE_RADIUS))
|
|
|
918
|
- #define MIN_PROBE_Y (Y_CENTER - (DELTA_PROBEABLE_RADIUS))
|
|
|
919
|
- #define MAX_PROBE_X (X_CENTER + DELTA_PROBEABLE_RADIUS)
|
|
|
920
|
- #define MAX_PROBE_Y (Y_CENTER + DELTA_PROBEABLE_RADIUS)
|
|
|
|
|
917
|
+ #define MIN_PROBE_X (X_CENTER - DELTA_PRINTABLE_RADIUS)
|
|
|
918
|
+ #define MIN_PROBE_Y (Y_CENTER - DELTA_PRINTABLE_RADIUS)
|
|
|
919
|
+ #define MAX_PROBE_X (X_CENTER + DELTA_PRINTABLE_RADIUS)
|
|
|
920
|
+ #define MAX_PROBE_Y (Y_CENTER + DELTA_PRINTABLE_RADIUS)
|
921
|
#elif IS_SCARA
|
921
|
#elif IS_SCARA
|
922
|
#define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2)
|
922
|
#define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2)
|
923
|
#define MIN_PROBE_X (X_CENTER - (SCARA_PRINTABLE_RADIUS))
|
923
|
#define MIN_PROBE_X (X_CENTER - (SCARA_PRINTABLE_RADIUS))
|