From 68b9503b960cf3faac8456b45e318ad030467ccd Mon Sep 17 00:00:00 2001 From: Scott Lahteine <github@thinkyhead.com> Date: Mon, 19 Mar 2018 00:44:26 -0500 Subject: [PATCH] MIN_PROBE_EDGE replaces DELTA_PROBEABLE_RADIUS --- Marlin/Conditionals_post.h | 86 ++++++++++--------- Marlin/Configuration_adv.h | 6 -- Marlin/SanityCheck.h | 2 + .../AlephObjects/TAZ4/Configuration_adv.h | 6 -- .../Anet/A6/Configuration_adv.h | 6 -- .../Anet/A8/Configuration_adv.h | 6 -- .../BIBO/TouchX/Cyclops/Configuration_adv.h | 6 -- .../BIBO/TouchX/default/Configuration_adv.h | 6 -- .../BQ/Hephestos/Configuration_adv.h | 6 -- .../BQ/Hephestos_2/Configuration_adv.h | 6 -- .../BQ/WITBOX/Configuration_adv.h | 6 -- .../Cartesio/Configuration_adv.h | 6 -- .../Creality/CR-10/Configuration_adv.h | 6 -- .../Creality/CR-10S/Configuration_adv.h | 6 -- .../Creality/CR-10mini/Configuration_adv.h | 6 -- .../Creality/Ender-2/Configuration_adv.h | 6 -- .../Creality/Ender-4/Configuration_adv.h | 6 -- .../Felix/Configuration_adv.h | 6 -- .../FolgerTech/i3-2020/Configuration_adv.h | 6 -- .../Infitary/i3-M508/Configuration_adv.h | 6 -- .../JGAurora/A5/Configuration_adv.h | 6 -- .../Malyan/M150/Configuration_adv.h | 6 -- .../Micromake/C1/enhanced/Configuration_adv.h | 6 -- .../RigidBot/Configuration_adv.h | 6 -- .../SCARA/Configuration_adv.h | 6 -- .../Sanguinololu/Configuration_adv.h | 6 -- .../TinyBoy2/Configuration_adv.h | 6 -- .../Velleman/K8200/Configuration_adv.h | 6 -- .../Velleman/K8400/Configuration_adv.h | 6 -- .../Wanhao/Duplicator 6/Configuration_adv.h | 6 -- .../FLSUN/auto_calibrate/Configuration_adv.h | 6 -- .../delta/FLSUN/kossel/Configuration_adv.h | 6 -- .../FLSUN/kossel_mini/Configuration_adv.h | 6 -- .../delta/Hatchbox_Alpha/Configuration.h | 11 +-- .../delta/generic/Configuration.h | 11 +-- .../delta/generic/Configuration_adv.h | 6 -- .../delta/kossel_mini/Configuration.h | 11 +-- .../delta/kossel_mini/Configuration_adv.h | 6 -- .../delta/kossel_pro/Configuration.h | 11 +-- .../delta/kossel_pro/Configuration_adv.h | 6 -- .../delta/kossel_xl/Configuration.h | 11 +-- .../delta/kossel_xl/Configuration_adv.h | 6 -- .../gCreate/gMax1.5+/Configuration_adv.h | 6 -- .../makibox/Configuration_adv.h | 6 -- .../tvrrug/Round2/Configuration_adv.h | 6 -- .../wt150/Configuration_adv.h | 6 -- 46 files changed, 66 insertions(+), 311 deletions(-) diff --git a/Marlin/Conditionals_post.h b/Marlin/Conditionals_post.h index 2d83f8c737..ffdc3d27f9 100644 --- a/Marlin/Conditionals_post.h +++ b/Marlin/Conditionals_post.h @@ -916,6 +916,20 @@ #endif #endif // SKEW_CORRECTION + /** + * Set granular options based on the specific type of leveling + */ + #define UBL_SEGMENTED (ENABLED(AUTO_BED_LEVELING_UBL) && (ENABLED(DELTA))) + #define ABL_PLANAR (ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_3POINT)) + #define ABL_GRID (ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)) + #define OLDSCHOOL_ABL (ABL_PLANAR || ABL_GRID) + #define HAS_ABL (OLDSCHOOL_ABL || ENABLED(AUTO_BED_LEVELING_UBL)) + #define HAS_LEVELING (HAS_ABL || ENABLED(MESH_BED_LEVELING)) + #define HAS_AUTOLEVEL (HAS_ABL && DISABLED(PROBE_MANUALLY)) + #define HAS_MESH (ENABLED(AUTO_BED_LEVELING_BILINEAR) || ENABLED(AUTO_BED_LEVELING_UBL) || ENABLED(MESH_BED_LEVELING)) + #define PLANNER_LEVELING (OLDSCHOOL_ABL || ENABLED(MESH_BED_LEVELING) || UBL_SEGMENTED || ENABLED(SKEW_CORRECTION)) + #define HAS_PROBING_PROCEDURE (HAS_ABL || ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)) + /** * Heater & Fan Pausing */ @@ -936,16 +950,24 @@ #endif /** - * Delta radius/rod trimmers/angle trimmers + * Bed Probing rectangular bounds + * These can be further constrained in code for Delta and SCARA */ - #if ENABLED(DELTA) - #define _DELTA_PROBE_RADIUS (DELTA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE)) + #ifndef MIN_PROBE_EDGE + #define MIN_PROBE_EDGE 0 + #endif + + #if ENABLED(DELTA) + /** + * Delta radius/rod trimmers/angle trimmers + */ + #define _PROBE_RADIUS (DELTA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE)) #ifndef DELTA_CALIBRATION_RADIUS #ifdef X_PROBE_OFFSET_FROM_EXTRUDER #define DELTA_CALIBRATION_RADIUS (DELTA_PRINTABLE_RADIUS - MAX3(abs(X_PROBE_OFFSET_FROM_EXTRUDER), abs(Y_PROBE_OFFSET_FROM_EXTRUDER), abs(MIN_PROBE_EDGE))) #else - #define DELTA_CALIBRATION_RADIUS _DELTA_PROBE_RADIUS + #define DELTA_CALIBRATION_RADIUS _PROBE_RADIUS #endif #endif #ifndef DELTA_ENDSTOP_ADJ @@ -960,56 +982,36 @@ #ifndef DELTA_DIAGONAL_ROD_TRIM_TOWER #define DELTA_DIAGONAL_ROD_TRIM_TOWER {0, 0, 0} #endif - #endif - - /** - * Set granular options based on the specific type of leveling - */ - #define UBL_SEGMENTED (ENABLED(AUTO_BED_LEVELING_UBL) && (ENABLED(DELTA))) - #define ABL_PLANAR (ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_3POINT)) - #define ABL_GRID (ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)) - #define OLDSCHOOL_ABL (ABL_PLANAR || ABL_GRID) - #define HAS_ABL (OLDSCHOOL_ABL || ENABLED(AUTO_BED_LEVELING_UBL)) - #define HAS_LEVELING (HAS_ABL || ENABLED(MESH_BED_LEVELING)) - #define HAS_AUTOLEVEL (HAS_ABL && DISABLED(PROBE_MANUALLY)) - #define HAS_MESH (ENABLED(AUTO_BED_LEVELING_BILINEAR) || ENABLED(AUTO_BED_LEVELING_UBL) || ENABLED(MESH_BED_LEVELING)) - #define PLANNER_LEVELING (OLDSCHOOL_ABL || ENABLED(MESH_BED_LEVELING) || UBL_SEGMENTED || ENABLED(SKEW_CORRECTION)) - #define HAS_PROBING_PROCEDURE (HAS_ABL || ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)) - - #if ENABLED(SEGMENT_LEVELED_MOVES) && !defined(LEVELED_SEGMENT_LENGTH) - #define LEVELED_SEGMENT_LENGTH 5 - #endif - - /** - * Bed Probing rectangular bounds - * These can be further constrained in code for Delta and SCARA - */ - - #ifndef MIN_PROBE_EDGE - #define MIN_PROBE_EDGE 0 - #endif - - #if ENABLED(DELTA) // Probing points may be verified at compile time within the radius // using static_assert(HYPOT2(X2-X1,Y2-Y1)<=sq(DELTA_PRINTABLE_RADIUS),"bad probe point!") // so that may be added to SanityCheck.h in the future. - #define _MIN_PROBE_X (X_CENTER - (_DELTA_PROBE_RADIUS)) - #define _MIN_PROBE_Y (Y_CENTER - (_DELTA_PROBE_RADIUS)) - #define _MAX_PROBE_X (X_CENTER + _DELTA_PROBE_RADIUS) - #define _MAX_PROBE_Y (Y_CENTER + _DELTA_PROBE_RADIUS) + #define _MIN_PROBE_X (X_CENTER - (_PROBE_RADIUS)) + #define _MIN_PROBE_Y (Y_CENTER - (_PROBE_RADIUS)) + #define _MAX_PROBE_X (X_CENTER + _PROBE_RADIUS) + #define _MAX_PROBE_Y (Y_CENTER + _PROBE_RADIUS) + #elif IS_SCARA + #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) + #define _PROBE_RADIUS (SCARA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE)) #define _MIN_PROBE_X (X_CENTER - (SCARA_PRINTABLE_RADIUS) + MIN_PROBE_EDGE) #define _MIN_PROBE_Y (Y_CENTER - (SCARA_PRINTABLE_RADIUS) + MIN_PROBE_EDGE) #define _MAX_PROBE_X (X_CENTER + SCARA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE)) #define _MAX_PROBE_Y (Y_CENTER + SCARA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE)) + #else + // Boundaries for Cartesian probing based on bed limits #define _MIN_PROBE_X (max(X_MIN_BED + MIN_PROBE_EDGE, X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER)) #define _MIN_PROBE_Y (max(Y_MIN_BED + MIN_PROBE_EDGE, Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER)) #define _MAX_PROBE_X (min(X_MAX_BED - (MIN_PROBE_EDGE), X_MAX_POS + X_PROBE_OFFSET_FROM_EXTRUDER)) #define _MAX_PROBE_Y (min(Y_MAX_BED - (MIN_PROBE_EDGE), Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER)) + + #endif + + #if ENABLED(SEGMENT_LEVELED_MOVES) && !defined(LEVELED_SEGMENT_LENGTH) + #define LEVELED_SEGMENT_LENGTH 5 #endif // These may be overridden in Configuration.h if a smaller area is desired @@ -1185,10 +1187,6 @@ // Stepper pulse duration, in cycles #define STEP_PULSE_CYCLES ((MINIMUM_STEPPER_PULSE) * CYCLES_PER_MICROSECOND) - #if ENABLED(SDCARD_SORT_ALPHA) - #define HAS_FOLDER_SORTING (FOLDER_SORTING || ENABLED(SDSORT_GCODE)) - #endif - // Updated G92 behavior shifts the workspace #define HAS_POSITION_SHIFT DISABLED(NO_WORKSPACE_OFFSETS) // The home offset also shifts the coordinate space @@ -1255,4 +1253,8 @@ #define NOZZLE_PARK_Z_FEEDRATE NOZZLE_PARK_XY_FEEDRATE #endif + #if ENABLED(SDCARD_SORT_ALPHA) + #define HAS_FOLDER_SORTING (FOLDER_SORTING || ENABLED(SDSORT_GCODE)) + #endif + #endif // CONDITIONALS_POST_H diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 14bb649d36..ac8003a288 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/SanityCheck.h b/Marlin/SanityCheck.h index f07775aae0..72ddef53e3 100644 --- a/Marlin/SanityCheck.h +++ b/Marlin/SanityCheck.h @@ -227,6 +227,8 @@ #error "LIN_ADVANCE (1.5) no longer uses LIN_ADVANCE_E_D_RATIO. Check your configuration." #elif defined(NEOPIXEL_RGBW_LED) #error "NEOPIXEL_RGBW_LED is now NEOPIXEL_LED. Please update your configuration." +#elif ENABLED(DELTA) && defined(DELTA_PROBEABLE_RADIUS) + #error "Remove DELTA_PROBEABLE_RADIUS and use MIN_PROBE_EDGE to inset the probe area instead." #elif defined(UBL_MESH_INSET) #error "UBL_MESH_INSET is now just MESH_INSET. Please update your configuration." #elif defined(UBL_MESH_MIN_X) || defined(UBL_MESH_MIN_Y) || defined(UBL_MESH_MAX_X) || defined(UBL_MESH_MAX_Y) diff --git a/Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h b/Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h index dd471d8f1a..6bf2544bdb 100644 --- a/Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h +++ b/Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Anet/A6/Configuration_adv.h b/Marlin/example_configurations/Anet/A6/Configuration_adv.h index 6a0e326a14..4995baf990 100644 --- a/Marlin/example_configurations/Anet/A6/Configuration_adv.h +++ b/Marlin/example_configurations/Anet/A6/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Anet/A8/Configuration_adv.h b/Marlin/example_configurations/Anet/A8/Configuration_adv.h index be652a5f2c..9c3999dd16 100644 --- a/Marlin/example_configurations/Anet/A8/Configuration_adv.h +++ b/Marlin/example_configurations/Anet/A8/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/BIBO/TouchX/Cyclops/Configuration_adv.h b/Marlin/example_configurations/BIBO/TouchX/Cyclops/Configuration_adv.h index 36d8e80a64..dacb83b6f3 100644 --- a/Marlin/example_configurations/BIBO/TouchX/Cyclops/Configuration_adv.h +++ b/Marlin/example_configurations/BIBO/TouchX/Cyclops/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/BIBO/TouchX/default/Configuration_adv.h b/Marlin/example_configurations/BIBO/TouchX/default/Configuration_adv.h index 14bb649d36..ac8003a288 100644 --- a/Marlin/example_configurations/BIBO/TouchX/default/Configuration_adv.h +++ b/Marlin/example_configurations/BIBO/TouchX/default/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h b/Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h index 2b5351980a..c8d7787866 100644 --- a/Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h +++ b/Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h b/Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h index 3624171938..84befe1096 100644 --- a/Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h +++ b/Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h b/Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h index 2b5351980a..c8d7787866 100644 --- a/Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h +++ b/Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Cartesio/Configuration_adv.h b/Marlin/example_configurations/Cartesio/Configuration_adv.h index 56d7667ebc..7308718ecc 100644 --- a/Marlin/example_configurations/Cartesio/Configuration_adv.h +++ b/Marlin/example_configurations/Cartesio/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Creality/CR-10/Configuration_adv.h b/Marlin/example_configurations/Creality/CR-10/Configuration_adv.h index 84b5d27db9..aa6746e9ff 100755 --- a/Marlin/example_configurations/Creality/CR-10/Configuration_adv.h +++ b/Marlin/example_configurations/Creality/CR-10/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Creality/CR-10S/Configuration_adv.h b/Marlin/example_configurations/Creality/CR-10S/Configuration_adv.h index b50d4263f5..3b69372607 100644 --- a/Marlin/example_configurations/Creality/CR-10S/Configuration_adv.h +++ b/Marlin/example_configurations/Creality/CR-10S/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Creality/CR-10mini/Configuration_adv.h b/Marlin/example_configurations/Creality/CR-10mini/Configuration_adv.h index d0e5d4fad2..70737d42ab 100644 --- a/Marlin/example_configurations/Creality/CR-10mini/Configuration_adv.h +++ b/Marlin/example_configurations/Creality/CR-10mini/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Creality/Ender-2/Configuration_adv.h b/Marlin/example_configurations/Creality/Ender-2/Configuration_adv.h index b1aa44b7b3..ac41eaabd9 100644 --- a/Marlin/example_configurations/Creality/Ender-2/Configuration_adv.h +++ b/Marlin/example_configurations/Creality/Ender-2/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Creality/Ender-4/Configuration_adv.h b/Marlin/example_configurations/Creality/Ender-4/Configuration_adv.h index 8ce6d0b6b0..d36a75c79e 100644 --- a/Marlin/example_configurations/Creality/Ender-4/Configuration_adv.h +++ b/Marlin/example_configurations/Creality/Ender-4/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Felix/Configuration_adv.h b/Marlin/example_configurations/Felix/Configuration_adv.h index 27557e5d30..12afdd756a 100644 --- a/Marlin/example_configurations/Felix/Configuration_adv.h +++ b/Marlin/example_configurations/Felix/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/FolgerTech/i3-2020/Configuration_adv.h b/Marlin/example_configurations/FolgerTech/i3-2020/Configuration_adv.h index 15c3b6fcde..77eec736ea 100644 --- a/Marlin/example_configurations/FolgerTech/i3-2020/Configuration_adv.h +++ b/Marlin/example_configurations/FolgerTech/i3-2020/Configuration_adv.h @@ -736,12 +736,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h b/Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h index 71dc51fa00..1d27c07d46 100644 --- a/Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h +++ b/Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/JGAurora/A5/Configuration_adv.h b/Marlin/example_configurations/JGAurora/A5/Configuration_adv.h index dc94e6de5c..3a1c7b34e1 100644 --- a/Marlin/example_configurations/JGAurora/A5/Configuration_adv.h +++ b/Marlin/example_configurations/JGAurora/A5/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Malyan/M150/Configuration_adv.h b/Marlin/example_configurations/Malyan/M150/Configuration_adv.h index 0a3d4b95a1..625e101287 100644 --- a/Marlin/example_configurations/Malyan/M150/Configuration_adv.h +++ b/Marlin/example_configurations/Malyan/M150/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Micromake/C1/enhanced/Configuration_adv.h b/Marlin/example_configurations/Micromake/C1/enhanced/Configuration_adv.h index 4af9d4d897..aec0442a03 100644 --- a/Marlin/example_configurations/Micromake/C1/enhanced/Configuration_adv.h +++ b/Marlin/example_configurations/Micromake/C1/enhanced/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/RigidBot/Configuration_adv.h b/Marlin/example_configurations/RigidBot/Configuration_adv.h index 0dc6fb1304..ef4a613921 100644 --- a/Marlin/example_configurations/RigidBot/Configuration_adv.h +++ b/Marlin/example_configurations/RigidBot/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/SCARA/Configuration_adv.h b/Marlin/example_configurations/SCARA/Configuration_adv.h index 83d4c07350..71597ab6a2 100644 --- a/Marlin/example_configurations/SCARA/Configuration_adv.h +++ b/Marlin/example_configurations/SCARA/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Sanguinololu/Configuration_adv.h b/Marlin/example_configurations/Sanguinololu/Configuration_adv.h index 85e1bcfb36..8f16748742 100644 --- a/Marlin/example_configurations/Sanguinololu/Configuration_adv.h +++ b/Marlin/example_configurations/Sanguinololu/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/TinyBoy2/Configuration_adv.h b/Marlin/example_configurations/TinyBoy2/Configuration_adv.h index 5bbe5e1bf6..b28488f3e4 100644 --- a/Marlin/example_configurations/TinyBoy2/Configuration_adv.h +++ b/Marlin/example_configurations/TinyBoy2/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Velleman/K8200/Configuration_adv.h b/Marlin/example_configurations/Velleman/K8200/Configuration_adv.h index 63a95cdc78..592635dcc2 100644 --- a/Marlin/example_configurations/Velleman/K8200/Configuration_adv.h +++ b/Marlin/example_configurations/Velleman/K8200/Configuration_adv.h @@ -750,12 +750,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Velleman/K8400/Configuration_adv.h b/Marlin/example_configurations/Velleman/K8400/Configuration_adv.h index 314bd123f7..5376626ce8 100644 --- a/Marlin/example_configurations/Velleman/K8400/Configuration_adv.h +++ b/Marlin/example_configurations/Velleman/K8400/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/Wanhao/Duplicator 6/Configuration_adv.h b/Marlin/example_configurations/Wanhao/Duplicator 6/Configuration_adv.h index 1ce8f3bb9b..679f47b1a8 100644 --- a/Marlin/example_configurations/Wanhao/Duplicator 6/Configuration_adv.h +++ b/Marlin/example_configurations/Wanhao/Duplicator 6/Configuration_adv.h @@ -739,12 +739,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h b/Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h index 0d977564c5..58af840299 100644 --- a/Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h +++ b/Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h @@ -739,12 +739,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/delta/FLSUN/kossel/Configuration_adv.h b/Marlin/example_configurations/delta/FLSUN/kossel/Configuration_adv.h index 0c93829e10..45cace428f 100644 --- a/Marlin/example_configurations/delta/FLSUN/kossel/Configuration_adv.h +++ b/Marlin/example_configurations/delta/FLSUN/kossel/Configuration_adv.h @@ -739,12 +739,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h b/Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h index 0f0be645bc..cade398fb1 100644 --- a/Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h +++ b/Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h @@ -739,12 +739,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/delta/Hatchbox_Alpha/Configuration.h b/Marlin/example_configurations/delta/Hatchbox_Alpha/Configuration.h index 9eae209ca1..cc25411622 100644 --- a/Marlin/example_configurations/delta/Hatchbox_Alpha/Configuration.h +++ b/Marlin/example_configurations/delta/Hatchbox_Alpha/Configuration.h @@ -1064,9 +1064,6 @@ #define MESH_TEST_BED_TEMP 60.0 // (°C) Default bed temperature for the G26 Mesh Validation Tool. #endif - // Set the boundaries for probing (where the probe can reach). - #define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10) - #endif #if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR) @@ -1077,10 +1074,10 @@ #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X // Set the boundaries for probing (where the probe can reach). - //#define LEFT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS) - //#define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS - //#define FRONT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS) - //#define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS + //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)) + //#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE) + //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)) + //#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE) // Probe along the Y axis, advancing X after each column //#define PROBE_Y_FIRST diff --git a/Marlin/example_configurations/delta/generic/Configuration.h b/Marlin/example_configurations/delta/generic/Configuration.h index 5ef29b01a6..a018c96b4d 100644 --- a/Marlin/example_configurations/delta/generic/Configuration.h +++ b/Marlin/example_configurations/delta/generic/Configuration.h @@ -1049,9 +1049,6 @@ #define MESH_TEST_BED_TEMP 60.0 // (°C) Default bed temperature for the G26 Mesh Validation Tool. #endif - // Set the boundaries for probing (where the probe can reach). - #define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10) - #endif #if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR) @@ -1062,10 +1059,10 @@ #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X // Set the boundaries for probing (where the probe can reach). - //#define LEFT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS) - //#define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS - //#define FRONT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS) - //#define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS + //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)) + //#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE) + //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)) + //#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE) // Probe along the Y axis, advancing X after each column //#define PROBE_Y_FIRST diff --git a/Marlin/example_configurations/delta/generic/Configuration_adv.h b/Marlin/example_configurations/delta/generic/Configuration_adv.h index 0f0be645bc..cade398fb1 100644 --- a/Marlin/example_configurations/delta/generic/Configuration_adv.h +++ b/Marlin/example_configurations/delta/generic/Configuration_adv.h @@ -739,12 +739,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/delta/kossel_mini/Configuration.h b/Marlin/example_configurations/delta/kossel_mini/Configuration.h index 47531631d1..dcd540643d 100644 --- a/Marlin/example_configurations/delta/kossel_mini/Configuration.h +++ b/Marlin/example_configurations/delta/kossel_mini/Configuration.h @@ -1052,9 +1052,6 @@ #define MESH_TEST_BED_TEMP 60.0 // (°C) Default bed temperature for the G26 Mesh Validation Tool. #endif - // Set the boundaries for probing (where the probe can reach). - #define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10) - #endif #if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR) @@ -1065,10 +1062,10 @@ #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X // Set the boundaries for probing (where the probe can reach). - //#define LEFT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS) - //#define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS - //#define FRONT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS) - //#define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS + //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)) + //#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE) + //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)) + //#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE) // Probe along the Y axis, advancing X after each column //#define PROBE_Y_FIRST diff --git a/Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h b/Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h index 0f0be645bc..cade398fb1 100644 --- a/Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h +++ b/Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h @@ -739,12 +739,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/delta/kossel_pro/Configuration.h b/Marlin/example_configurations/delta/kossel_pro/Configuration.h index e0f8a9d6ce..13f0abe2e6 100644 --- a/Marlin/example_configurations/delta/kossel_pro/Configuration.h +++ b/Marlin/example_configurations/delta/kossel_pro/Configuration.h @@ -1052,9 +1052,6 @@ #define MESH_TEST_BED_TEMP 60.0 // (°C) Default bed temperature for the G26 Mesh Validation Tool. #endif - // Set the boundaries for probing (where the probe can reach). - #define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10) - #endif #if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR) @@ -1065,10 +1062,10 @@ #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X // Set the boundaries for probing (where the probe can reach). - //#define LEFT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS) - //#define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS - //#define FRONT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS) - //#define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS + //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)) + //#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE) + //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)) + //#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE) // Probe along the Y axis, advancing X after each column //#define PROBE_Y_FIRST diff --git a/Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h b/Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h index 5b5d5472e9..23b1b0552d 100644 --- a/Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h +++ b/Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h @@ -744,12 +744,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/delta/kossel_xl/Configuration.h b/Marlin/example_configurations/delta/kossel_xl/Configuration.h index 2fec9e7e2b..edc3afb9e1 100644 --- a/Marlin/example_configurations/delta/kossel_xl/Configuration.h +++ b/Marlin/example_configurations/delta/kossel_xl/Configuration.h @@ -1061,9 +1061,6 @@ #define MESH_TEST_BED_TEMP 60.0 // (°C) Default bed temperature for the G26 Mesh Validation Tool. #endif - // Set the boundaries for probing (where the probe can reach). - #define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10) - #endif #if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR) @@ -1074,10 +1071,10 @@ #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X // Set the boundaries for probing (where the probe can reach). - //#define LEFT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS) - //#define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS - //#define FRONT_PROBE_BED_POSITION - (DELTA_PROBEABLE_RADIUS - 20) - //#define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS - 40 + //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS + MIN_PROBE_EDGE) + //#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE) + //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS + MIN_PROBE_EDGE) + //#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE) // Probe along the Y axis, advancing X after each column //#define PROBE_Y_FIRST diff --git a/Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h b/Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h index c7e0edc707..74a6b50f92 100644 --- a/Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h +++ b/Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h @@ -739,12 +739,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h b/Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h index afce5c2c63..0148871fa7 100644 --- a/Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h +++ b/Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/makibox/Configuration_adv.h b/Marlin/example_configurations/makibox/Configuration_adv.h index cc15afb33f..7a67a696a2 100644 --- a/Marlin/example_configurations/makibox/Configuration_adv.h +++ b/Marlin/example_configurations/makibox/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h b/Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h index f98a582b74..1e0b27db25 100644 --- a/Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h +++ b/Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h @@ -737,12 +737,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET diff --git a/Marlin/example_configurations/wt150/Configuration_adv.h b/Marlin/example_configurations/wt150/Configuration_adv.h index 8b4d80920b..5c2bbc764d 100644 --- a/Marlin/example_configurations/wt150/Configuration_adv.h +++ b/Marlin/example_configurations/wt150/Configuration_adv.h @@ -738,12 +738,6 @@ // @section leveling -#if ENABLED(DELTA) && !defined(DELTA_PROBEABLE_RADIUS) - #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS -#elif IS_SCARA && !defined(SCARA_PRINTABLE_RADIUS) - #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) -#endif - #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET