Browse Source

Consolidate 3-point leveling point options

Scott Lahteine 7 years ago
parent
commit
dd2949922b
66 changed files with 1255 additions and 1508 deletions
  1. 17
    23
      Marlin/Configuration.h
  2. 17
    23
      Marlin/src/config/default/Configuration.h
  3. 17
    23
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  4. 17
    23
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  5. 20
    24
      Marlin/src/config/examples/Anet/A6/Configuration.h
  6. 25
    19
      Marlin/src/config/examples/Anet/A8/Configuration.h
  7. 17
    23
      Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
  8. 19
    25
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
  9. 24
    30
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
  10. 17
    23
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  11. 24
    19
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  12. 17
    23
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  13. 17
    23
      Marlin/src/config/examples/Cartesio/Configuration.h
  14. 19
    26
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  15. 18
    24
      Marlin/src/config/examples/Creality/CR-10S/Configuration.h
  16. 19
    25
      Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
  17. 17
    23
      Marlin/src/config/examples/Creality/Ender-2/Configuration.h
  18. 18
    24
      Marlin/src/config/examples/Creality/Ender-4/Configuration.h
  19. 17
    23
      Marlin/src/config/examples/Felix/Configuration.h
  20. 17
    23
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  21. 33
    22
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  22. 19
    25
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  23. 17
    22
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  24. 17
    23
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  25. 17
    23
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  26. 17
    23
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  27. 18
    24
      Marlin/src/config/examples/JGAurora/A5/Configuration.h
  28. 17
    23
      Marlin/src/config/examples/MakerParts/Configuration.h
  29. 26
    21
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  30. 17
    23
      Marlin/src/config/examples/Malyan/M200/Configuration.h
  31. 17
    23
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  32. 17
    23
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  33. 17
    23
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  34. 17
    23
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  35. 17
    23
      Marlin/src/config/examples/RigidBot/Configuration.h
  36. 17
    23
      Marlin/src/config/examples/SCARA/Configuration.h
  37. 17
    23
      Marlin/src/config/examples/STM32F10/Configuration.h
  38. 17
    23
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  39. 17
    23
      Marlin/src/config/examples/TheBorg/Configuration.h
  40. 19
    25
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  41. 20
    26
      Marlin/src/config/examples/Tronxy/X1/Configuration.h
  42. 17
    23
      Marlin/src/config/examples/Tronxy/X5S/Configuration.h
  43. 21
    27
      Marlin/src/config/examples/Tronxy/XY100/Configuration.h
  44. 17
    23
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h
  45. 17
    23
      Marlin/src/config/examples/Velleman/K8200/Configuration.h
  46. 17
    23
      Marlin/src/config/examples/Velleman/K8400/Configuration.h
  47. 17
    23
      Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
  48. 17
    26
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h
  49. 17
    23
      Marlin/src/config/examples/adafruit/ST7565/Configuration.h
  50. 29
    19
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  51. 17
    25
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h
  52. 17
    26
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
  53. 24
    23
      Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h
  54. 18
    28
      Marlin/src/config/examples/delta/generic/Configuration.h
  55. 18
    28
      Marlin/src/config/examples/delta/kossel_mini/Configuration.h
  56. 20
    30
      Marlin/src/config/examples/delta/kossel_pro/Configuration.h
  57. 18
    28
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  58. 25
    24
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
  59. 17
    23
      Marlin/src/config/examples/makibox/Configuration.h
  60. 17
    23
      Marlin/src/config/examples/stm32f103ret6/Configuration.h
  61. 17
    23
      Marlin/src/config/examples/tvrrug/Round2/Configuration.h
  62. 20
    26
      Marlin/src/config/examples/wt150/Configuration.h
  63. 15
    15
      Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
  64. 3
    3
      Marlin/src/gcode/bedlevel/abl/G29.cpp
  65. 63
    0
      Marlin/src/inc/Conditionals_post.h
  66. 14
    17
      Marlin/src/inc/SanityCheck.h

+ 17
- 23
Marlin/Configuration.h View File

@@ -963,12 +963,11 @@
963 963
   #define GRID_MAX_POINTS_X 3
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966
-
967 966
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION 15
969
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
970
-  #define FRONT_PROBE_BED_POSITION 15
971
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
967
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
969
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
970
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 17
- 23
Marlin/src/config/default/Configuration.h View File

@@ -963,12 +963,11 @@
963 963
   #define GRID_MAX_POINTS_X 3
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966
-
967 966
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION 15
969
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
970
-  #define FRONT_PROBE_BED_POSITION 15
971
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
967
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
969
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
970
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 17
- 23
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h View File

@@ -983,12 +983,11 @@
983 983
   #define GRID_MAX_POINTS_X 3
984 984
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
985 985
 
986
-
987 986
   // Set the boundaries for probing (where the probe can reach).
988
-  #define LEFT_PROBE_BED_POSITION 15
989
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
990
-  #define FRONT_PROBE_BED_POSITION 15
991
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
987
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
988
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
989
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
990
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
992 991
 
993 992
   // Probe along the Y axis, advancing X after each column
994 993
   //#define PROBE_Y_FIRST
@@ -1011,17 +1010,6 @@
1011 1010
 
1012 1011
   #endif
1013 1012
 
1014
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1015
-
1016
-  // 3 arbitrary points to probe.
1017
-  // A simple cross-product is used to estimate the plane of the bed.
1018
-  #define ABL_PROBE_PT_1_X 15
1019
-  #define ABL_PROBE_PT_1_Y 180
1020
-  #define ABL_PROBE_PT_2_X 15
1021
-  #define ABL_PROBE_PT_2_Y 20
1022
-  #define ABL_PROBE_PT_3_X 170
1023
-  #define ABL_PROBE_PT_3_Y 20
1024
-
1025 1013
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1026 1014
 
1027 1015
   //===========================================================================
@@ -1034,13 +1022,6 @@
1034 1022
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1035 1023
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1036 1024
 
1037
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1038
-  #define UBL_PROBE_PT_1_Y 180
1039
-  #define UBL_PROBE_PT_2_X 39
1040
-  #define UBL_PROBE_PT_2_Y 20
1041
-  #define UBL_PROBE_PT_3_X 180
1042
-  #define UBL_PROBE_PT_3_Y 20
1043
-
1044 1025
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1045 1026
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1046 1027
 
@@ -1062,6 +1043,19 @@
1062 1043
 #endif // BED_LEVELING
1063 1044
 
1064 1045
 /**
1046
+ * Points to probe for all 3-point Leveling procedures.
1047
+ * Override if the automatically selected points are inadequate.
1048
+ */
1049
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1050
+  //#define PROBE_PT_1_X 15
1051
+  //#define PROBE_PT_1_Y 180
1052
+  //#define PROBE_PT_2_X 15
1053
+  //#define PROBE_PT_2_Y 20
1054
+  //#define PROBE_PT_3_X 170
1055
+  //#define PROBE_PT_3_Y 20
1056
+#endif
1057
+
1058
+/**
1065 1059
  * Use the LCD controller for bed leveling
1066 1060
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1067 1061
  */

+ 17
- 23
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h View File

@@ -963,12 +963,11 @@
963 963
   #define GRID_MAX_POINTS_X 3
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966
-
967 966
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION 15
969
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
970
-  #define FRONT_PROBE_BED_POSITION 15
971
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
967
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
969
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
970
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 20
- 24
Marlin/src/config/examples/Anet/A6/Configuration.h View File

@@ -827,7 +827,7 @@
827 827
 #define Z_CLEARANCE_DEPLOY_PROBE   10 // Z Clearance for Deploy/Stow
828 828
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
829 829
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
830
-//#define Z_CLEARANCE_DEPLOY_PROBE    5 // Z Clearance for Deploy/Stow
830
+//#define Z_CLEARANCE_DEPLOY_PROBE   5 // Z Clearance for Deploy/Stow
831 831
 //#define Z_CLEARANCE_BETWEEN_PROBES  3 // Z Clearance between probe points
832 832
 //#define Z_AFTER_PROBING             3 // Z position after probing is done
833 833
 
@@ -1087,10 +1087,10 @@
1087 1087
   //#define BACK_PROBE_BED_POSITION 190
1088 1088
 
1089 1089
   // ANET A6 BLTOUCH right (39mm) to the nozzle
1090
-  #define LEFT_PROBE_BED_POSITION 36
1091
-  #define RIGHT_PROBE_BED_POSITION 190
1092
-  #define FRONT_PROBE_BED_POSITION 20
1093
-  #define BACK_PROBE_BED_POSITION 190
1090
+  //#define LEFT_PROBE_BED_POSITION 36
1091
+  //#define RIGHT_PROBE_BED_POSITION 190
1092
+  //#define FRONT_PROBE_BED_POSITION 20
1093
+  //#define BACK_PROBE_BED_POSITION 190
1094 1094
 
1095 1095
   // ANET A6 with new X-Axis and modded Y-Axis
1096 1096
   //#define LEFT_PROBE_BED_POSITION 20
@@ -1104,7 +1104,6 @@
1104 1104
   //#define FRONT_PROBE_BED_POSITION 20
1105 1105
   //#define BACK_PROBE_BED_POSITION 194
1106 1106
 
1107
-
1108 1107
   // Probe along the Y axis, advancing X after each column
1109 1108
   //#define PROBE_Y_FIRST
1110 1109
 
@@ -1126,17 +1125,6 @@
1126 1125
 
1127 1126
   #endif
1128 1127
 
1129
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1130
-
1131
-  // 3 arbitrary points to probe.
1132
-  // A simple cross-product is used to estimate the plane of the bed.
1133
-  #define ABL_PROBE_PT_1_X 15
1134
-  #define ABL_PROBE_PT_1_Y 180
1135
-  #define ABL_PROBE_PT_2_X 15
1136
-  #define ABL_PROBE_PT_2_Y 20
1137
-  #define ABL_PROBE_PT_3_X 170
1138
-  #define ABL_PROBE_PT_3_Y 20
1139
-
1140 1128
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1141 1129
 
1142 1130
   //===========================================================================
@@ -1149,13 +1137,6 @@
1149 1137
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1150 1138
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1151 1139
 
1152
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1153
-  #define UBL_PROBE_PT_1_Y 180
1154
-  #define UBL_PROBE_PT_2_X 39
1155
-  #define UBL_PROBE_PT_2_Y 20
1156
-  #define UBL_PROBE_PT_3_X 180
1157
-  #define UBL_PROBE_PT_3_Y 20
1158
-
1159 1140
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1160 1141
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1161 1142
 
@@ -1177,6 +1158,19 @@
1177 1158
 #endif // BED_LEVELING
1178 1159
 
1179 1160
 /**
1161
+ * Points to probe for all 3-point Leveling procedures.
1162
+ * Override if the automatically selected points are inadequate.
1163
+ */
1164
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1165
+  //#define PROBE_PT_1_X 15
1166
+  //#define PROBE_PT_1_Y 180
1167
+  //#define PROBE_PT_2_X 15
1168
+  //#define PROBE_PT_2_Y 20
1169
+  //#define PROBE_PT_3_X 170
1170
+  //#define PROBE_PT_3_Y 20
1171
+#endif
1172
+
1173
+/**
1180 1174
  * Use the LCD controller for bed leveling
1181 1175
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1182 1176
  */
@@ -1687,6 +1681,8 @@
1687 1681
 // RepRapDiscount FULL GRAPHIC Smart Controller
1688 1682
 // http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
1689 1683
 //
1684
+// Note: Details on connecting to the Anet V1.0 controller are in the file pins_ANET_10.h
1685
+//
1690 1686
 //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
1691 1687
 
1692 1688
 //

+ 25
- 19
Marlin/src/config/examples/Anet/A8/Configuration.h View File

@@ -970,12 +970,11 @@
970 970
   #define GRID_MAX_POINTS_X 3
971 971
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
972 972
 
973
-
974 973
   // Set the boundaries for probing (where the probe can reach).
975
-  #define LEFT_PROBE_BED_POSITION 15
976
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
977
-  #define FRONT_PROBE_BED_POSITION 15
978
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
974
+  //#define LEFT_PROBE_BED_POSITION 15
975
+  //#define RIGHT_PROBE_BED_POSITION 190
976
+  //#define FRONT_PROBE_BED_POSITION 15
977
+  //#define BACK_PROBE_BED_POSITION 170
979 978
 
980 979
   // Probe along the Y axis, advancing X after each column
981 980
   //#define PROBE_Y_FIRST
@@ -1002,12 +1001,12 @@
1002 1001
 
1003 1002
   // 3 arbitrary points to probe.
1004 1003
   // A simple cross-product is used to estimate the plane of the bed.
1005
-  #define ABL_PROBE_PT_1_X 20
1006
-  #define ABL_PROBE_PT_1_Y 160
1007
-  #define ABL_PROBE_PT_2_X 20
1008
-  #define ABL_PROBE_PT_2_Y 10
1009
-  #define ABL_PROBE_PT_3_X 180
1010
-  #define ABL_PROBE_PT_3_Y 10
1004
+  #define PROBE_PT_1_X 20
1005
+  #define PROBE_PT_1_Y 160
1006
+  #define PROBE_PT_2_X 20
1007
+  #define PROBE_PT_2_Y 10
1008
+  #define PROBE_PT_3_X 180
1009
+  #define PROBE_PT_3_Y 10
1011 1010
 
1012 1011
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1013 1012
 
@@ -1021,13 +1020,6 @@
1021 1020
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1022 1021
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1023 1022
 
1024
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1025
-  #define UBL_PROBE_PT_1_Y 180
1026
-  #define UBL_PROBE_PT_2_X 39
1027
-  #define UBL_PROBE_PT_2_Y 20
1028
-  #define UBL_PROBE_PT_3_X 180
1029
-  #define UBL_PROBE_PT_3_Y 20
1030
-
1031 1023
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1032 1024
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1033 1025
 
@@ -1049,6 +1041,19 @@
1049 1041
 #endif // BED_LEVELING
1050 1042
 
1051 1043
 /**
1044
+ * Points to probe for all 3-point Leveling procedures.
1045
+ * Override if the automatically selected points are inadequate.
1046
+ */
1047
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1048
+  //#define PROBE_PT_1_X 15
1049
+  //#define PROBE_PT_1_Y 180
1050
+  //#define PROBE_PT_2_X 15
1051
+  //#define PROBE_PT_2_Y 20
1052
+  //#define PROBE_PT_3_X 170
1053
+  //#define PROBE_PT_3_Y 20
1054
+#endif
1055
+
1056
+/**
1052 1057
  * Use the LCD controller for bed leveling
1053 1058
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1054 1059
  */
@@ -1541,11 +1546,12 @@
1541 1546
 //
1542 1547
 //#define G3D_PANEL
1543 1548
 
1544
-
1545 1549
 //
1546 1550
 // RepRapDiscount FULL GRAPHIC Smart Controller
1547 1551
 // http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
1548 1552
 //
1553
+// Note: Details on connecting to the Anet V1.0 controller are in the file pins_ANET_10.h
1554
+//
1549 1555
 //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
1550 1556
 
1551 1557
 //

+ 17
- 23
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h View File

@@ -963,12 +963,11 @@
963 963
   #define GRID_MAX_POINTS_X 3
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966
-
967 966
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION 15
969
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
970
-  #define FRONT_PROBE_BED_POSITION 15
971
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
967
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
969
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
970
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 19
- 25
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h View File

@@ -810,8 +810,8 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
810 810
 
811 811
 //#define UNKNOWN_Z_NO_RAISE // Don't raise Z (lower the bed) if Z is "unknown." For beds that fall when Z is powered off.
812 812
 
813
-#define Z_HOMING_HEIGHT 10  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
814
-                             // Be sure you have this distance over your Z_MAX_POS in case.
813
+#define Z_HOMING_HEIGHT  8  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
814
+                            // Be sure you have this distance over your Z_MAX_POS in case.
815 815
 
816 816
 // Direction of endstops when homing; 1=MAX, -1=MIN
817 817
 // :[-1,1]
@@ -963,12 +963,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
963 963
   #define GRID_MAX_POINTS_X 3
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966
-
967 966
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION 15
969
-  #define RIGHT_PROBE_BED_POSITION 170
970
-  #define FRONT_PROBE_BED_POSITION 20
971
-  #define BACK_PROBE_BED_POSITION 170
967
+  //#define LEFT_PROBE_BED_POSITION 15
968
+  //#define RIGHT_PROBE_BED_POSITION 170
969
+  //#define FRONT_PROBE_BED_POSITION 20
970
+  //#define BACK_PROBE_BED_POSITION 170
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 24
- 30
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h View File

@@ -528,13 +528,13 @@
528 528
 #endif
529 529
 
530 530
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
531
-#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
532
-#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
533
-#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
534
-#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
535
-#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
536
-#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
537
-#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the probe.
531
+const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
532
+const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
533
+const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
534
+const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
535
+const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
536
+const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
537
+const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
538 538
 
539 539
 // Enable this feature if all enabled endstop pins are interrupt-capable.
540 540
 // This will remove the need to poll the interrupt pins, saving many CPU cycles.
@@ -963,12 +963,11 @@
963 963
   #define GRID_MAX_POINTS_X 3
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966
-
967 966
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION 15
969
-  #define RIGHT_PROBE_BED_POSITION 170
970
-  #define FRONT_PROBE_BED_POSITION 20
971
-  #define BACK_PROBE_BED_POSITION 170
967
+  //#define LEFT_PROBE_BED_POSITION 15
968
+  //#define RIGHT_PROBE_BED_POSITION 170
969
+  //#define FRONT_PROBE_BED_POSITION 20
970
+  //#define BACK_PROBE_BED_POSITION 170
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 17
- 23
Marlin/src/config/examples/BQ/Hephestos/Configuration.h View File

@@ -951,12 +951,11 @@
951 951
   #define GRID_MAX_POINTS_X 3
952 952
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
953 953
 
954
-
955 954
   // Set the boundaries for probing (where the probe can reach).
956
-  #define LEFT_PROBE_BED_POSITION 15
957
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
958
-  #define FRONT_PROBE_BED_POSITION 15
959
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
955
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
956
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
957
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
958
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
960 959
 
961 960
   // Probe along the Y axis, advancing X after each column
962 961
   //#define PROBE_Y_FIRST
@@ -979,17 +978,6 @@
979 978
 
980 979
   #endif
981 980
 
982
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
983
-
984
-  // 3 arbitrary points to probe.
985
-  // A simple cross-product is used to estimate the plane of the bed.
986
-  #define ABL_PROBE_PT_1_X 15
987
-  #define ABL_PROBE_PT_1_Y 180
988
-  #define ABL_PROBE_PT_2_X 15
989
-  #define ABL_PROBE_PT_2_Y 20
990
-  #define ABL_PROBE_PT_3_X 170
991
-  #define ABL_PROBE_PT_3_Y 20
992
-
993 981
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
994 982
 
995 983
   //===========================================================================
@@ -1002,13 +990,6 @@
1002 990
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1003 991
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1004 992
 
1005
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1006
-  #define UBL_PROBE_PT_1_Y 180
1007
-  #define UBL_PROBE_PT_2_X 39
1008
-  #define UBL_PROBE_PT_2_Y 20
1009
-  #define UBL_PROBE_PT_3_X 180
1010
-  #define UBL_PROBE_PT_3_Y 20
1011
-
1012 993
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1013 994
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1014 995
 
@@ -1030,6 +1011,19 @@
1030 1011
 #endif // BED_LEVELING
1031 1012
 
1032 1013
 /**
1014
+ * Points to probe for all 3-point Leveling procedures.
1015
+ * Override if the automatically selected points are inadequate.
1016
+ */
1017
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1018
+  //#define PROBE_PT_1_X 15
1019
+  //#define PROBE_PT_1_Y 180
1020
+  //#define PROBE_PT_2_X 15
1021
+  //#define PROBE_PT_2_Y 20
1022
+  //#define PROBE_PT_3_X 170
1023
+  //#define PROBE_PT_3_Y 20
1024
+#endif
1025
+
1026
+/**
1033 1027
  * Use the LCD controller for bed leveling
1034 1028
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1035 1029
  */

+ 24
- 19
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h View File

@@ -159,7 +159,7 @@
159 159
 #define EXTRUDERS 1
160 160
 
161 161
 // Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
162
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
162
+#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
163 163
 
164 164
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
165 165
 //#define SINGLENOZZLE
@@ -965,11 +965,10 @@
965 965
   #define GRID_MAX_POINTS_Y 4
966 966
 
967 967
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION  X_MIN_POS + (X_PROBE_OFFSET_FROM_EXTRUDER)
969
-  #define RIGHT_PROBE_BED_POSITION X_MAX_POS - (X_PROBE_OFFSET_FROM_EXTRUDER)
970
-  #define FRONT_PROBE_BED_POSITION Y_MIN_POS + (Y_PROBE_OFFSET_FROM_EXTRUDER)
971
-  #define BACK_PROBE_BED_POSITION  Y_MAX_POS - (Y_PROBE_OFFSET_FROM_EXTRUDER)
972
-
968
+  //#define LEFT_PROBE_BED_POSITION  X_MIN_POS + (X_PROBE_OFFSET_FROM_EXTRUDER)
969
+  //#define RIGHT_PROBE_BED_POSITION X_MAX_POS - (X_PROBE_OFFSET_FROM_EXTRUDER)
970
+  //#define FRONT_PROBE_BED_POSITION Y_MIN_POS + (Y_PROBE_OFFSET_FROM_EXTRUDER)
971
+  //#define BACK_PROBE_BED_POSITION  Y_MAX_POS - (Y_PROBE_OFFSET_FROM_EXTRUDER)
973 972
 
974 973
   // Probe along the Y axis, advancing X after each column
975 974
   //#define PROBE_Y_FIRST
@@ -996,12 +995,12 @@
996 995
 
997 996
   // 3 arbitrary points to probe.
998 997
   // A simple cross-product is used to estimate the plane of the bed.
999
-  #define ABL_PROBE_PT_1_X X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER
1000
-  #define ABL_PROBE_PT_1_Y Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER
1001
-  #define ABL_PROBE_PT_2_X X_MAX_POS - (X_PROBE_OFFSET_FROM_EXTRUDER)
1002
-  #define ABL_PROBE_PT_2_Y Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER
1003
-  #define ABL_PROBE_PT_3_X ((X_MIN_POS + X_MAX_POS) / 2)
1004
-  #define ABL_PROBE_PT_3_Y Y_MAX_POS - (Y_PROBE_OFFSET_FROM_EXTRUDER)
998
+  #define PROBE_PT_1_X X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER
999
+  #define PROBE_PT_1_Y Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER
1000
+  #define PROBE_PT_2_X X_MAX_POS - (X_PROBE_OFFSET_FROM_EXTRUDER)
1001
+  #define PROBE_PT_2_Y Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER
1002
+  #define PROBE_PT_3_X ((X_MIN_POS + X_MAX_POS) / 2)
1003
+  #define PROBE_PT_3_Y Y_MAX_POS - (Y_PROBE_OFFSET_FROM_EXTRUDER)
1005 1004
 
1006 1005
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1007 1006
 
@@ -1015,13 +1014,6 @@
1015 1014
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1016 1015
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1017 1016
 
1018
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1019
-  #define UBL_PROBE_PT_1_Y 180
1020
-  #define UBL_PROBE_PT_2_X 39
1021
-  #define UBL_PROBE_PT_2_Y 20
1022
-  #define UBL_PROBE_PT_3_X 180
1023
-  #define UBL_PROBE_PT_3_Y 20
1024
-
1025 1017
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1026 1018
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1027 1019
 
@@ -1043,6 +1035,19 @@
1043 1035
 #endif // BED_LEVELING
1044 1036
 
1045 1037
 /**
1038
+ * Points to probe for all 3-point Leveling procedures.
1039
+ * Override if the automatically selected points are inadequate.
1040
+ */
1041
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1042
+  //#define PROBE_PT_1_X 15
1043
+  //#define PROBE_PT_1_Y 180
1044
+  //#define PROBE_PT_2_X 15
1045
+  //#define PROBE_PT_2_Y 20
1046
+  //#define PROBE_PT_3_X 170
1047
+  //#define PROBE_PT_3_Y 20
1048
+#endif
1049
+
1050
+/**
1046 1051
  * Use the LCD controller for bed leveling
1047 1052
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1048 1053
  */

+ 17
- 23
Marlin/src/config/examples/BQ/WITBOX/Configuration.h View File

@@ -951,12 +951,11 @@
951 951
   #define GRID_MAX_POINTS_X 3
952 952
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
953 953
 
954
-
955 954
   // Set the boundaries for probing (where the probe can reach).
956
-  #define LEFT_PROBE_BED_POSITION 15
957
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
958
-  #define FRONT_PROBE_BED_POSITION 15
959
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
955
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
956
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
957
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
958
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
960 959
 
961 960
   // Probe along the Y axis, advancing X after each column
962 961
   //#define PROBE_Y_FIRST
@@ -979,17 +978,6 @@
979 978
 
980 979
   #endif
981 980
 
982
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
983
-
984
-  // 3 arbitrary points to probe.
985
-  // A simple cross-product is used to estimate the plane of the bed.
986
-  #define ABL_PROBE_PT_1_X 15
987
-  #define ABL_PROBE_PT_1_Y 180
988
-  #define ABL_PROBE_PT_2_X 15
989
-  #define ABL_PROBE_PT_2_Y 20
990
-  #define ABL_PROBE_PT_3_X 170
991
-  #define ABL_PROBE_PT_3_Y 20
992
-
993 981
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
994 982
 
995 983
   //===========================================================================
@@ -1002,13 +990,6 @@
1002 990
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1003 991
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1004 992
 
1005
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1006
-  #define UBL_PROBE_PT_1_Y 180
1007
-  #define UBL_PROBE_PT_2_X 39
1008
-  #define UBL_PROBE_PT_2_Y 20
1009
-  #define UBL_PROBE_PT_3_X 180
1010
-  #define UBL_PROBE_PT_3_Y 20
1011
-
1012 993
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1013 994
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1014 995
 
@@ -1030,6 +1011,19 @@
1030 1011
 #endif // BED_LEVELING
1031 1012
 
1032 1013
 /**
1014
+ * Points to probe for all 3-point Leveling procedures.
1015
+ * Override if the automatically selected points are inadequate.
1016
+ */
1017
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1018
+  //#define PROBE_PT_1_X 15
1019
+  //#define PROBE_PT_1_Y 180
1020
+  //#define PROBE_PT_2_X 15
1021
+  //#define PROBE_PT_2_Y 20
1022
+  //#define PROBE_PT_3_X 170
1023
+  //#define PROBE_PT_3_Y 20
1024
+#endif
1025
+
1026
+/**
1033 1027
  * Use the LCD controller for bed leveling
1034 1028
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1035 1029
  */

+ 17
- 23
Marlin/src/config/examples/Cartesio/Configuration.h View File

@@ -962,12 +962,11 @@
962 962
   #define GRID_MAX_POINTS_X 3
963 963
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
964 964
 
965
-
966 965
   // Set the boundaries for probing (where the probe can reach).
967
-  #define LEFT_PROBE_BED_POSITION 15
968
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
969
-  #define FRONT_PROBE_BED_POSITION 15
970
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
966
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
967
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
968
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
969
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
971 970
 
972 971
   // Probe along the Y axis, advancing X after each column
973 972
   //#define PROBE_Y_FIRST
@@ -990,17 +989,6 @@
990 989
 
991 990
   #endif
992 991
 
993
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
994
-
995
-  // 3 arbitrary points to probe.
996
-  // A simple cross-product is used to estimate the plane of the bed.
997
-  #define ABL_PROBE_PT_1_X 15
998
-  #define ABL_PROBE_PT_1_Y 180
999
-  #define ABL_PROBE_PT_2_X 15
1000
-  #define ABL_PROBE_PT_2_Y 20
1001
-  #define ABL_PROBE_PT_3_X 170
1002
-  #define ABL_PROBE_PT_3_Y 20
1003
-
1004 992
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1005 993
 
1006 994
   //===========================================================================
@@ -1013,13 +1001,6 @@
1013 1001
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1014 1002
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1015 1003
 
1016
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1017
-  #define UBL_PROBE_PT_1_Y 180
1018
-  #define UBL_PROBE_PT_2_X 39
1019
-  #define UBL_PROBE_PT_2_Y 20
1020
-  #define UBL_PROBE_PT_3_X 180
1021
-  #define UBL_PROBE_PT_3_Y 20
1022
-
1023 1004
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1024 1005
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1025 1006
 
@@ -1041,6 +1022,19 @@
1041 1022
 #endif // BED_LEVELING
1042 1023
 
1043 1024
 /**
1025
+ * Points to probe for all 3-point Leveling procedures.
1026
+ * Override if the automatically selected points are inadequate.
1027
+ */
1028
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1029
+  //#define PROBE_PT_1_X 15
1030
+  //#define PROBE_PT_1_Y 180
1031
+  //#define PROBE_PT_2_X 15
1032
+  //#define PROBE_PT_2_Y 20
1033
+  //#define PROBE_PT_3_X 170
1034
+  //#define PROBE_PT_3_Y 20
1035
+#endif
1036
+
1037
+/**
1044 1038
  * Use the LCD controller for bed leveling
1045 1039
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1046 1040
  */

+ 19
- 26
Marlin/src/config/examples/Creality/CR-10/Configuration.h View File

@@ -973,12 +973,11 @@
973 973
   #define GRID_MAX_POINTS_X 3
974 974
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
975 975
 
976
-
977 976
   // Set the boundaries for probing (where the probe can reach).
978
-  #define LEFT_PROBE_BED_POSITION 15
979
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
980
-  #define FRONT_PROBE_BED_POSITION 15
981
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
977
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
978
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
979
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
980
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
982 981
 
983 982
   // Probe along the Y axis, advancing X after each column
984 983
   //#define PROBE_Y_FIRST
@@ -1001,17 +1000,6 @@
1001 1000
 
1002 1001
   #endif
1003 1002
 
1004
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1005
-
1006
-  // 3 arbitrary points to probe.
1007
-  // A simple cross-product is used to estimate the plane of the bed.
1008
-  #define ABL_PROBE_PT_1_X 15
1009
-  #define ABL_PROBE_PT_1_Y 180
1010
-  #define ABL_PROBE_PT_2_X 15
1011
-  #define ABL_PROBE_PT_2_Y 20
1012
-  #define ABL_PROBE_PT_3_X 170
1013
-  #define ABL_PROBE_PT_3_Y 20
1014
-
1015 1003
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1016 1004
 
1017 1005
   //===========================================================================
@@ -1024,14 +1012,6 @@
1024 1012
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1025 1013
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1026 1014
 
1027
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1028
-  #define UBL_PROBE_PT_1_Y 180
1029
-  #define UBL_PROBE_PT_2_X 39
1030
-
1031
-  #define UBL_PROBE_PT_2_Y 20
1032
-  #define UBL_PROBE_PT_3_X 180
1033
-  #define UBL_PROBE_PT_3_Y 20
1034
-
1035 1015
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1036 1016
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1037 1017
 
@@ -1053,6 +1033,19 @@
1053 1033
 #endif // BED_LEVELING
1054 1034
 
1055 1035
 /**
1036
+ * Points to probe for all 3-point Leveling procedures.
1037
+ * Override if the automatically selected points are inadequate.
1038
+ */
1039
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1040
+  //#define PROBE_PT_1_X 15
1041
+  //#define PROBE_PT_1_Y 180
1042
+  //#define PROBE_PT_2_X 15
1043
+  //#define PROBE_PT_2_Y 20
1044
+  //#define PROBE_PT_3_X 170
1045
+  //#define PROBE_PT_3_Y 20
1046
+#endif
1047
+
1048
+/**
1056 1049
  * Use the LCD controller for bed leveling
1057 1050
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1058 1051
  */
@@ -1416,13 +1409,13 @@
1416 1409
 // This option overrides the default number of encoder pulses needed to
1417 1410
 // produce one step. Should be increased for high-resolution encoders.
1418 1411
 //
1419
-#define ENCODER_PULSES_PER_STEP 4
1412
+//#define ENCODER_PULSES_PER_STEP 4
1420 1413
 
1421 1414
 //
1422 1415
 // Use this option to override the number of step signals required to
1423 1416
 // move between next/prev menu items.
1424 1417
 //
1425
-#define ENCODER_STEPS_PER_MENU_ITEM 1
1418
+//#define ENCODER_STEPS_PER_MENU_ITEM 1
1426 1419
 
1427 1420
 /**
1428 1421
  * Encoder Direction Options

+ 18
- 24
Marlin/src/config/examples/Creality/CR-10S/Configuration.h View File

@@ -948,7 +948,7 @@
948 948
   /**
949 949
    * Enable the G26 Mesh Validation Pattern tool.
950 950
    */
951
-  #define G26_MESH_VALIDATION
951
+  #define G26_MESH_VALIDATION   // Enable G26 mesh validation
952 952
   #if ENABLED(G26_MESH_VALIDATION)
953 953
     #define MESH_TEST_NOZZLE_SIZE    0.4  // (mm) Diameter of primary nozzle.
954 954
     #define MESH_TEST_LAYER_HEIGHT   0.2  // (mm) Default layer height for the G26 Mesh Validation Tool.
@@ -964,12 +964,11 @@
964 964
   #define GRID_MAX_POINTS_X 3
965 965
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
966 966
 
967
-
968 967
   // Set the boundaries for probing (where the probe can reach).
969
-  #define LEFT_PROBE_BED_POSITION 15
970
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
971
-  #define FRONT_PROBE_BED_POSITION 15
972
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
968
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
969
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
970
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
971
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
973 972
 
974 973
   // Probe along the Y axis, advancing X after each column
975 974
   //#define PROBE_Y_FIRST
@@ -992,17 +991,6 @@
992 991
 
993 992
   #endif
994 993
 
995
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
996
-
997
-  // 3 arbitrary points to probe.
998
-  // A simple cross-product is used to estimate the plane of the bed.
999
-  #define ABL_PROBE_PT_1_X 15
1000
-  #define ABL_PROBE_PT_1_Y 180
1001
-  #define ABL_PROBE_PT_2_X 15
1002
-  #define ABL_PROBE_PT_2_Y 20
1003
-  #define ABL_PROBE_PT_3_X 170
1004
-  #define ABL_PROBE_PT_3_Y 20
1005
-
1006 994
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1007 995
 
1008 996
   //===========================================================================
@@ -1015,13 +1003,6 @@
1015 1003
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1016 1004
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1017 1005
 
1018
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1019
-  #define UBL_PROBE_PT_1_Y 180
1020
-  #define UBL_PROBE_PT_2_X 39
1021
-  #define UBL_PROBE_PT_2_Y 20
1022
-  #define UBL_PROBE_PT_3_X 180
1023
-  #define UBL_PROBE_PT_3_Y 20
1024
-
1025 1006
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1026 1007
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1027 1008
 
@@ -1043,6 +1024,19 @@
1043 1024
 #endif // BED_LEVELING
1044 1025
 
1045 1026
 /**
1027
+ * Points to probe for all 3-point Leveling procedures.
1028
+ * Override if the automatically selected points are inadequate.
1029
+ */
1030
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1031
+  //#define PROBE_PT_1_X 15
1032
+  //#define PROBE_PT_1_Y 180
1033
+  //#define PROBE_PT_2_X 15
1034
+  //#define PROBE_PT_2_Y 20
1035
+  //#define PROBE_PT_3_X 170
1036
+  //#define PROBE_PT_3_Y 20
1037
+#endif
1038
+
1039
+/**
1046 1040
  * Use the LCD controller for bed leveling
1047 1041
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1048 1042
  */

+ 19
- 25
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h View File

@@ -982,12 +982,11 @@
982 982
   #define GRID_MAX_POINTS_X 3
983 983
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
984 984
 
985
-
986 985
   // Set the boundaries for probing (where the probe can reach).
987
-  #define LEFT_PROBE_BED_POSITION 15
988
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
989
-  #define FRONT_PROBE_BED_POSITION 15
990
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
986
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
987
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
988
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
989
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
991 990
 
992 991
   // Probe along the Y axis, advancing X after each column
993 992
   //#define PROBE_Y_FIRST
@@ -1010,17 +1009,6 @@
1010 1009
 
1011 1010
   #endif
1012 1011
 
1013
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1014
-
1015
-  // 3 arbitrary points to probe.
1016
-  // A simple cross-product is used to estimate the plane of the bed.
1017
-  #define ABL_PROBE_PT_1_X 15
1018
-  #define ABL_PROBE_PT_1_Y 180
1019
-  #define ABL_PROBE_PT_2_X 15
1020
-  #define ABL_PROBE_PT_2_Y 20
1021
-  #define ABL_PROBE_PT_3_X 170
1022
-  #define ABL_PROBE_PT_3_Y 20
1023
-
1024 1012
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1025 1013
 
1026 1014
   //===========================================================================
@@ -1033,13 +1021,6 @@
1033 1021
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1034 1022
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1035 1023
 
1036
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1037
-  #define UBL_PROBE_PT_1_Y 180
1038
-  #define UBL_PROBE_PT_2_X 39
1039
-  #define UBL_PROBE_PT_2_Y 20
1040
-  #define UBL_PROBE_PT_3_X 180
1041
-  #define UBL_PROBE_PT_3_Y 20
1042
-
1043 1024
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1044 1025
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1045 1026
 
@@ -1061,6 +1042,19 @@
1061 1042
 #endif // BED_LEVELING
1062 1043
 
1063 1044
 /**
1045
+ * Points to probe for all 3-point Leveling procedures.
1046
+ * Override if the automatically selected points are inadequate.
1047
+ */
1048
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1049
+  //#define PROBE_PT_1_X 15
1050
+  //#define PROBE_PT_1_Y 180
1051
+  //#define PROBE_PT_2_X 15
1052
+  //#define PROBE_PT_2_Y 20
1053
+  //#define PROBE_PT_3_X 170
1054
+  //#define PROBE_PT_3_Y 20
1055
+#endif
1056
+
1057
+/**
1064 1058
  * Use the LCD controller for bed leveling
1065 1059
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1066 1060
  */
@@ -1424,13 +1418,13 @@
1424 1418
 // This option overrides the default number of encoder pulses needed to
1425 1419
 // produce one step. Should be increased for high-resolution encoders.
1426 1420
 //
1427
-#define ENCODER_PULSES_PER_STEP 4
1421
+//#define ENCODER_PULSES_PER_STEP 4
1428 1422
 
1429 1423
 //
1430 1424
 // Use this option to override the number of step signals required to
1431 1425
 // move between next/prev menu items.
1432 1426
 //
1433
-#define ENCODER_STEPS_PER_MENU_ITEM 1
1427
+//#define ENCODER_STEPS_PER_MENU_ITEM 1
1434 1428
 
1435 1429
 /**
1436 1430
  * Encoder Direction Options

+ 17
- 23
Marlin/src/config/examples/Creality/Ender-2/Configuration.h View File

@@ -967,12 +967,11 @@
967 967
   #define GRID_MAX_POINTS_X 3
968 968
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
969 969
 
970
-
971 970
   // Set the boundaries for probing (where the probe can reach).
972
-  #define LEFT_PROBE_BED_POSITION 15
973
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
974
-  #define FRONT_PROBE_BED_POSITION 15
975
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
971
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
972
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
973
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
974
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
976 975
 
977 976
   // Probe along the Y axis, advancing X after each column
978 977
   //#define PROBE_Y_FIRST
@@ -995,17 +994,6 @@
995 994
 
996 995
   #endif
997 996
 
998
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
999
-
1000
-  // 3 arbitrary points to probe.
1001
-  // A simple cross-product is used to estimate the plane of the bed.
1002
-  #define ABL_PROBE_PT_1_X 15
1003
-  #define ABL_PROBE_PT_1_Y 180
1004
-  #define ABL_PROBE_PT_2_X 15
1005
-  #define ABL_PROBE_PT_2_Y 20
1006
-  #define ABL_PROBE_PT_3_X 170
1007
-  #define ABL_PROBE_PT_3_Y 20
1008
-
1009 997
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1010 998
 
1011 999
   //===========================================================================
@@ -1018,13 +1006,6 @@
1018 1006
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1019 1007
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1020 1008
 
1021
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1022
-  #define UBL_PROBE_PT_1_Y 180
1023
-  #define UBL_PROBE_PT_2_X 39
1024
-  #define UBL_PROBE_PT_2_Y 20
1025
-  #define UBL_PROBE_PT_3_X 180
1026
-  #define UBL_PROBE_PT_3_Y 20
1027
-
1028 1009
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1029 1010
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1030 1011
 
@@ -1046,6 +1027,19 @@
1046 1027
 #endif // BED_LEVELING
1047 1028
 
1048 1029
 /**
1030
+ * Points to probe for all 3-point Leveling procedures.
1031
+ * Override if the automatically selected points are inadequate.
1032
+ */
1033
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1034
+  //#define PROBE_PT_1_X 15
1035
+  //#define PROBE_PT_1_Y 180
1036
+  //#define PROBE_PT_2_X 15
1037
+  //#define PROBE_PT_2_Y 20
1038
+  //#define PROBE_PT_3_X 170
1039
+  //#define PROBE_PT_3_Y 20
1040
+#endif
1041
+
1042
+/**
1049 1043
  * Use the LCD controller for bed leveling
1050 1044
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1051 1045
  */

+ 18
- 24
Marlin/src/config/examples/Creality/Ender-4/Configuration.h View File

@@ -957,7 +957,7 @@
957 957
   /**
958 958
    * Enable the G26 Mesh Validation Pattern tool.
959 959
    */
960
-  #define G26_MESH_VALIDATION
960
+  #define G26_MESH_VALIDATION   // Enable G26 mesh validation
961 961
   #if ENABLED(G26_MESH_VALIDATION)
962 962
     #define MESH_TEST_NOZZLE_SIZE    0.4  // (mm) Diameter of primary nozzle.
963 963
     #define MESH_TEST_LAYER_HEIGHT   0.2  // (mm) Default layer height for the G26 Mesh Validation Tool.
@@ -973,12 +973,11 @@
973 973
   #define GRID_MAX_POINTS_X 3
974 974
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
975 975
 
976
-
977 976
   // Set the boundaries for probing (where the probe can reach).
978
-  #define LEFT_PROBE_BED_POSITION 15
979
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
980
-  #define FRONT_PROBE_BED_POSITION 15
981
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
977
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
978
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
979
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
980
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
982 981
 
983 982
   // Probe along the Y axis, advancing X after each column
984 983
   //#define PROBE_Y_FIRST
@@ -1001,17 +1000,6 @@
1001 1000
 
1002 1001
   #endif
1003 1002
 
1004
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1005
-
1006
-  // 3 arbitrary points to probe.
1007
-  // A simple cross-product is used to estimate the plane of the bed.
1008
-  #define ABL_PROBE_PT_1_X 15
1009
-  #define ABL_PROBE_PT_1_Y 180
1010
-  #define ABL_PROBE_PT_2_X 15
1011
-  #define ABL_PROBE_PT_2_Y 20
1012
-  #define ABL_PROBE_PT_3_X 170
1013
-  #define ABL_PROBE_PT_3_Y 20
1014
-
1015 1003
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1016 1004
 
1017 1005
   //===========================================================================
@@ -1024,13 +1012,6 @@
1024 1012
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1025 1013
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1026 1014
 
1027
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1028
-  #define UBL_PROBE_PT_1_Y 180
1029
-  #define UBL_PROBE_PT_2_X 39
1030
-  #define UBL_PROBE_PT_2_Y 20
1031
-  #define UBL_PROBE_PT_3_X 180
1032
-  #define UBL_PROBE_PT_3_Y 20
1033
-
1034 1015
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1035 1016
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1036 1017
 
@@ -1052,6 +1033,19 @@
1052 1033
 #endif // BED_LEVELING
1053 1034
 
1054 1035
 /**
1036
+ * Points to probe for all 3-point Leveling procedures.
1037
+ * Override if the automatically selected points are inadequate.
1038
+ */
1039
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1040
+  //#define PROBE_PT_1_X 15
1041
+  //#define PROBE_PT_1_Y 180
1042
+  //#define PROBE_PT_2_X 15
1043
+  //#define PROBE_PT_2_Y 20
1044
+  //#define PROBE_PT_3_X 170
1045
+  //#define PROBE_PT_3_Y 20
1046
+#endif
1047
+
1048
+/**
1055 1049
  * Use the LCD controller for bed leveling
1056 1050
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1057 1051
  */

+ 17
- 23
Marlin/src/config/examples/Felix/Configuration.h View File

@@ -945,12 +945,11 @@
945 945
   #define GRID_MAX_POINTS_X 3
946 946
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
947 947
 
948
-
949 948
   // Set the boundaries for probing (where the probe can reach).
950
-  #define LEFT_PROBE_BED_POSITION 15
951
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
952
-  #define FRONT_PROBE_BED_POSITION 15
953
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
949
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
950
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
951
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
952
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
954 953
 
955 954
   // Probe along the Y axis, advancing X after each column
956 955
   //#define PROBE_Y_FIRST
@@ -973,17 +972,6 @@
973 972
 
974 973
   #endif
975 974
 
976
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
977
-
978
-  // 3 arbitrary points to probe.
979
-  // A simple cross-product is used to estimate the plane of the bed.
980
-  #define ABL_PROBE_PT_1_X 15
981
-  #define ABL_PROBE_PT_1_Y 180
982
-  #define ABL_PROBE_PT_2_X 15
983
-  #define ABL_PROBE_PT_2_Y 20
984
-  #define ABL_PROBE_PT_3_X 170
985
-  #define ABL_PROBE_PT_3_Y 20
986
-
987 975
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
988 976
 
989 977
   //===========================================================================
@@ -996,13 +984,6 @@
996 984
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
997 985
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
998 986
 
999
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1000
-  #define UBL_PROBE_PT_1_Y 180
1001
-  #define UBL_PROBE_PT_2_X 39
1002
-  #define UBL_PROBE_PT_2_Y 20
1003
-  #define UBL_PROBE_PT_3_X 180
1004
-  #define UBL_PROBE_PT_3_Y 20
1005
-
1006 987
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1007 988
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1008 989
 
@@ -1024,6 +1005,19 @@
1024 1005
 #endif // BED_LEVELING
1025 1006
 
1026 1007
 /**
1008
+ * Points to probe for all 3-point Leveling procedures.
1009
+ * Override if the automatically selected points are inadequate.
1010
+ */
1011
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1012
+  //#define PROBE_PT_1_X 15
1013
+  //#define PROBE_PT_1_Y 180
1014
+  //#define PROBE_PT_2_X 15
1015
+  //#define PROBE_PT_2_Y 20
1016
+  //#define PROBE_PT_3_X 170
1017
+  //#define PROBE_PT_3_Y 20
1018
+#endif
1019
+
1020
+/**
1027 1021
  * Use the LCD controller for bed leveling
1028 1022
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1029 1023
  */

+ 17
- 23
Marlin/src/config/examples/Felix/DUAL/Configuration.h View File

@@ -945,12 +945,11 @@
945 945
   #define GRID_MAX_POINTS_X 3
946 946
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
947 947
 
948
-
949 948
   // Set the boundaries for probing (where the probe can reach).
950
-  #define LEFT_PROBE_BED_POSITION 15
951
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
952
-  #define FRONT_PROBE_BED_POSITION 15
953
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
949
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
950
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
951
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
952
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
954 953
 
955 954
   // Probe along the Y axis, advancing X after each column
956 955
   //#define PROBE_Y_FIRST
@@ -973,17 +972,6 @@
973 972
 
974 973
   #endif
975 974
 
976
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
977
-
978
-  // 3 arbitrary points to probe.
979
-  // A simple cross-product is used to estimate the plane of the bed.
980
-  #define ABL_PROBE_PT_1_X 15
981
-  #define ABL_PROBE_PT_1_Y 180
982
-  #define ABL_PROBE_PT_2_X 15
983
-  #define ABL_PROBE_PT_2_Y 20
984
-  #define ABL_PROBE_PT_3_X 170
985
-  #define ABL_PROBE_PT_3_Y 20
986
-
987 975
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
988 976
 
989 977
   //===========================================================================
@@ -996,13 +984,6 @@
996 984
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
997 985
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
998 986
 
999
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1000
-  #define UBL_PROBE_PT_1_Y 180
1001
-  #define UBL_PROBE_PT_2_X 39
1002
-  #define UBL_PROBE_PT_2_Y 20
1003
-  #define UBL_PROBE_PT_3_X 180
1004
-  #define UBL_PROBE_PT_3_Y 20
1005
-
1006 987
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1007 988
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1008 989
 
@@ -1024,6 +1005,19 @@
1024 1005
 #endif // BED_LEVELING
1025 1006
 
1026 1007
 /**
1008
+ * Points to probe for all 3-point Leveling procedures.
1009
+ * Override if the automatically selected points are inadequate.
1010
+ */
1011
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1012
+  //#define PROBE_PT_1_X 15
1013
+  //#define PROBE_PT_1_Y 180
1014
+  //#define PROBE_PT_2_X 15
1015
+  //#define PROBE_PT_2_Y 20
1016
+  //#define PROBE_PT_3_X 170
1017
+  //#define PROBE_PT_3_Y 20
1018
+#endif
1019
+
1020
+/**
1027 1021
  * Use the LCD controller for bed leveling
1028 1022
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1029 1023
  */

+ 33
- 22
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h View File

@@ -133,8 +133,7 @@
133 133
 // The following define selects which electronics board you have.
134 134
 // Please choose the name from boards.h that matches your setup
135 135
 #ifndef MOTHERBOARD
136
-//#define MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB   // For people switching over to the Panucatt Re-ARM board
137
-  #define MOTHERBOARD BOARD_RAMPS_14_EFB          // For unmodified printers using Atmega-2560 and RAMPS boards.
136
+  #define MOTHERBOARD BOARD_RAMPS_14_EFB
138 137
 #endif
139 138
 
140 139
 // Optional custom name for your RepStrap or other custom machine
@@ -728,10 +727,10 @@
728 727
  */
729 728
 #define X_PROBE_OFFSET_FROM_EXTRUDER 38     // X offset: -left  +right  [of the nozzle]
730 729
 #define Y_PROBE_OFFSET_FROM_EXTRUDER -7     // Y offset: -front +behind [the nozzle]
731
-#define Z_PROBE_OFFSET_FROM_EXTRUDER -10.35 // Z offset: -below +above  [the nozzle]
730
+#define Z_PROBE_OFFSET_FROM_EXTRUDER -10.30 // Z offset: -below +above  [the nozzle]
732 731
 
733 732
 // Certain types of probes need to stay away from edges
734
-#define MIN_PROBE_EDGE 10
733
+#define MIN_PROBE_EDGE 0
735 734
 
736 735
 // X and Y axis travel speed (mm/m) between probes
737 736
 #define XY_PROBE_SPEED 7500
@@ -971,11 +970,10 @@
971 970
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
972 971
 
973 972
   // Set the boundaries for probing (where the probe can reach).
974
-  #define LEFT_PROBE_BED_POSITION 39
975
-  #define RIGHT_PROBE_BED_POSITION 170
976
-  #define FRONT_PROBE_BED_POSITION 10
977
-  #define BACK_PROBE_BED_POSITION 170
978
-
973
+  //#define LEFT_PROBE_BED_POSITION (X_MIN_POS + 33)
974
+  //#define RIGHT_PROBE_BED_POSITION (X_MAX_POS - 37)
975
+  //#define FRONT_PROBE_BED_POSITION (Y_MIN_POS + 7)
976
+  //#define BACK_PROBE_BED_POSITION (Y_MAX_POS - 12)
979 977
 
980 978
   // Probe along the Y axis, advancing X after each column
981 979
   //#define PROBE_Y_FIRST
@@ -1002,12 +1000,12 @@
1002 1000
 
1003 1001
   // 3 arbitrary points to probe.
1004 1002
   // A simple cross-product is used to estimate the plane of the bed.
1005
-  #define ABL_PROBE_PT_1_X 39
1006
-  #define ABL_PROBE_PT_1_Y 170
1007
-  #define ABL_PROBE_PT_2_X 39
1008
-  #define ABL_PROBE_PT_2_Y 10
1009
-  #define ABL_PROBE_PT_3_X 170
1010
-  #define ABL_PROBE_PT_3_Y 10
1003
+  #define PROBE_PT_1_X 39
1004
+  #define PROBE_PT_1_Y 170
1005
+  #define PROBE_PT_2_X 39
1006
+  #define PROBE_PT_2_Y 10
1007
+  #define PROBE_PT_3_X 170
1008
+  #define PROBE_PT_3_Y 10
1011 1009
 
1012 1010
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1013 1011
 
@@ -1021,17 +1019,17 @@
1021 1019
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1022 1020
   #define GRID_MAX_POINTS_Y 10
1023 1021
 
1024
-  #define UBL_PROBE_PT_1_X 45       // Probing points for 3-Point leveling of the mesh
1025
-  #define UBL_PROBE_PT_1_Y 170
1026
-  #define UBL_PROBE_PT_2_X 45
1027
-  #define UBL_PROBE_PT_2_Y 25
1028
-  #define UBL_PROBE_PT_3_X 180
1029
-  #define UBL_PROBE_PT_3_Y 25
1022
+  #define PROBE_PT_1_X 45       // Probing points for 3-Point leveling of the mesh
1023
+  #define PROBE_PT_1_Y 170
1024
+  #define PROBE_PT_2_X 45
1025
+  #define PROBE_PT_2_Y 25
1026
+  #define PROBE_PT_3_X 180
1027
+  #define PROBE_PT_3_Y 25
1030 1028
 
1031 1029
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1032 1030
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1033 1031
 
1034
-  #define UBL_Z_RAISE_WHEN_OFF_MESH 2.5 // When the nozzle is off the mesh, this value is used
1032
+  #define UBL_Z_RAISE_WHEN_OFF_MESH 2.50// When the nozzle is off the mesh, this value is used
1035 1033
                                         // as the Z-Height correction value.
1036 1034
 
1037 1035
 #elif ENABLED(MESH_BED_LEVELING)
@@ -1049,6 +1047,19 @@
1049 1047
 #endif // BED_LEVELING
1050 1048
 
1051 1049
 /**
1050
+ * Points to probe for all 3-point Leveling procedures.
1051
+ * Override if the automatically selected points are inadequate.
1052
+ */
1053
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1054
+  //#define PROBE_PT_1_X 15
1055
+  //#define PROBE_PT_1_Y 180
1056
+  //#define PROBE_PT_2_X 15
1057
+  //#define PROBE_PT_2_Y 20
1058
+  //#define PROBE_PT_3_X 170
1059
+  //#define PROBE_PT_3_Y 20
1060
+#endif
1061
+
1062
+/**
1052 1063
  * Use the LCD controller for bed leveling
1053 1064
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1054 1065
  */

+ 19
- 25
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h View File

@@ -978,12 +978,11 @@
978 978
   #define GRID_MAX_POINTS_X 3
979 979
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
980 980
 
981
-
982 981
   // Set the boundaries for probing (where the probe can reach).
983
-  #define LEFT_PROBE_BED_POSITION 15
984
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
985
-  #define FRONT_PROBE_BED_POSITION 15
986
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
982
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
983
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
984
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
985
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
987 986
 
988 987
   // Probe along the Y axis, advancing X after each column
989 988
   //#define PROBE_Y_FIRST
@@ -1006,17 +1005,6 @@
1006 1005
 
1007 1006
   #endif
1008 1007
 
1009
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1010
-
1011
-  // 3 arbitrary points to probe.
1012
-  // A simple cross-product is used to estimate the plane of the bed.
1013
-  #define ABL_PROBE_PT_1_X 15
1014
-  #define ABL_PROBE_PT_1_Y 180
1015
-  #define ABL_PROBE_PT_2_X 15
1016
-  #define ABL_PROBE_PT_2_Y 20
1017
-  #define ABL_PROBE_PT_3_X 170
1018
-  #define ABL_PROBE_PT_3_Y 20
1019
-
1020 1008
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1021 1009
 
1022 1010
   //===========================================================================
@@ -1029,13 +1017,6 @@
1029 1017
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1030 1018
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1031 1019
 
1032
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1033
-  #define UBL_PROBE_PT_1_Y 180
1034
-  #define UBL_PROBE_PT_2_X 39
1035
-  #define UBL_PROBE_PT_2_Y 20
1036
-  #define UBL_PROBE_PT_3_X 180
1037
-  #define UBL_PROBE_PT_3_Y 20
1038
-
1039 1020
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1040 1021
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1041 1022
 
@@ -1057,6 +1038,19 @@
1057 1038
 #endif // BED_LEVELING
1058 1039
 
1059 1040
 /**
1041
+ * Points to probe for all 3-point Leveling procedures.
1042
+ * Override if the automatically selected points are inadequate.
1043
+ */
1044
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1045
+  //#define PROBE_PT_1_X 15
1046
+  //#define PROBE_PT_1_Y 180
1047
+  //#define PROBE_PT_2_X 15
1048
+  //#define PROBE_PT_2_Y 20
1049
+  //#define PROBE_PT_3_X 170
1050
+  //#define PROBE_PT_3_Y 20
1051
+#endif
1052
+
1053
+/**
1060 1054
  * Use the LCD controller for bed leveling
1061 1055
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1062 1056
  */
@@ -1866,8 +1860,8 @@
1866 1860
  */
1867 1861
 #if ENABLED(ULTIMAKERCONTROLLER) || ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) || ENABLED(G3D_PANEL) || ENABLED(MKS_MINI_12864)
1868 1862
   #define SDSUPPORT   // Force SD Card support on for these displays
1869
-#elif ENABLED(ULTRA_LCD) && ENABLED(DOGLCD) // No panel, just graphical LCD?
1870
-  #define LCD_WIDTH_OVERRIDE 20 // Default is 22. For this Geeetech use 20
1863
+#else
1864
+  #define LCD_WIDTH_OVERRIDE 20 // Default is 22. For this Geeetech use 20.
1871 1865
 #endif
1872 1866
 
1873 1867
 #endif // CONFIGURATION_H

+ 17
- 22
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h View File

@@ -964,10 +964,10 @@
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966 966
   // Set the boundaries for probing (where the probe can reach).
967
-  #define LEFT_PROBE_BED_POSITION 15
968
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
969
-  #define FRONT_PROBE_BED_POSITION 15
970
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
967
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
969
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
970
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
971 971
 
972 972
   // Probe along the Y axis, advancing X after each column
973 973
   //#define PROBE_Y_FIRST
@@ -990,17 +990,6 @@
990 990
 
991 991
   #endif
992 992
 
993
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
994
-
995
-  // 3 arbitrary points to probe.
996
-  // A simple cross-product is used to estimate the plane of the bed.
997
-  #define ABL_PROBE_PT_1_X 15
998
-  #define ABL_PROBE_PT_1_Y 180
999
-  #define ABL_PROBE_PT_2_X 15
1000
-  #define ABL_PROBE_PT_2_Y 20
1001
-  #define ABL_PROBE_PT_3_X 170
1002
-  #define ABL_PROBE_PT_3_Y 20
1003
-
1004 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1005 994
 
1006 995
   //===========================================================================
@@ -1013,13 +1002,6 @@
1013 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1014 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1015 1004
 
1016
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1017
-  #define UBL_PROBE_PT_1_Y 180
1018
-  #define UBL_PROBE_PT_2_X 39
1019
-  #define UBL_PROBE_PT_2_Y 20
1020
-  #define UBL_PROBE_PT_3_X 180
1021
-  #define UBL_PROBE_PT_3_Y 20
1022
-
1023 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1024 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1025 1007
 
@@ -1041,6 +1023,19 @@
1041 1023
 #endif // BED_LEVELING
1042 1024
 
1043 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1044 1039
  * Use the LCD controller for bed leveling
1045 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1046 1041
  */

+ 17
- 23
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h View File

@@ -979,12 +979,11 @@
979 979
   #define GRID_MAX_POINTS_X 4
980 980
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
981 981
 
982
-
983 982
   // Set the boundaries for probing (where the probe can reach).
984
-  #define LEFT_PROBE_BED_POSITION 10
985
-  #define RIGHT_PROBE_BED_POSITION (X_MAX_POS - X_PROBE_OFFSET_FROM_EXTRUDER - 14)
986
-  #define FRONT_PROBE_BED_POSITION 15
987
-  #define BACK_PROBE_BED_POSITION (Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER - 25)
983
+  //#define LEFT_PROBE_BED_POSITION 10
984
+  //#define RIGHT_PROBE_BED_POSITION (X_MAX_POS - X_PROBE_OFFSET_FROM_EXTRUDER - 14)
985
+  //#define FRONT_PROBE_BED_POSITION 15
986
+  //#define BACK_PROBE_BED_POSITION (Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER - 25)
988 987
 
989 988
   // Probe along the Y axis, advancing X after each column
990 989
   //#define PROBE_Y_FIRST
@@ -1007,17 +1006,6 @@
1007 1006
 
1008 1007
   #endif
1009 1008
 
1010
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1011
-
1012
-  // 3 arbitrary points to probe.
1013
-  // A simple cross-product is used to estimate the plane of the bed.
1014
-  #define ABL_PROBE_PT_1_X 15
1015
-  #define ABL_PROBE_PT_1_Y 180
1016
-  #define ABL_PROBE_PT_2_X 15
1017
-  #define ABL_PROBE_PT_2_Y 20
1018
-  #define ABL_PROBE_PT_3_X 170
1019
-  #define ABL_PROBE_PT_3_Y 20
1020
-
1021 1009
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1022 1010
 
1023 1011
   //===========================================================================
@@ -1030,13 +1018,6 @@
1030 1018
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1031 1019
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1032 1020
 
1033
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1034
-  #define UBL_PROBE_PT_1_Y 180
1035
-  #define UBL_PROBE_PT_2_X 39
1036
-  #define UBL_PROBE_PT_2_Y 20
1037
-  #define UBL_PROBE_PT_3_X 180
1038
-  #define UBL_PROBE_PT_3_Y 20
1039
-
1040 1021
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1041 1022
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1042 1023
 
@@ -1058,6 +1039,19 @@
1058 1039
 #endif // BED_LEVELING
1059 1040
 
1060 1041
 /**
1042
+ * Points to probe for all 3-point Leveling procedures.
1043
+ * Override if the automatically selected points are inadequate.
1044
+ */
1045
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1046
+  //#define PROBE_PT_1_X 15
1047
+  //#define PROBE_PT_1_Y 180
1048
+  //#define PROBE_PT_2_X 15
1049
+  //#define PROBE_PT_2_Y 20
1050
+  //#define PROBE_PT_3_X 170
1051
+  //#define PROBE_PT_3_Y 20
1052
+#endif
1053
+
1054
+/**
1061 1055
  * Use the LCD controller for bed leveling
1062 1056
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1063 1057
  */

+ 17
- 23
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h View File

@@ -978,12 +978,11 @@
978 978
   #define GRID_MAX_POINTS_X 4
979 979
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
980 980
 
981
-
982 981
   // Set the boundaries for probing (where the probe can reach).
983
-  #define LEFT_PROBE_BED_POSITION 10
984
-  #define RIGHT_PROBE_BED_POSITION (X_MAX_POS - X_PROBE_OFFSET_FROM_EXTRUDER - 14)
985
-  #define FRONT_PROBE_BED_POSITION 15
986
-  #define BACK_PROBE_BED_POSITION (Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER - 25)
982
+  //#define LEFT_PROBE_BED_POSITION 10
983
+  //#define RIGHT_PROBE_BED_POSITION (X_MAX_POS - X_PROBE_OFFSET_FROM_EXTRUDER - 14)
984
+  //#define FRONT_PROBE_BED_POSITION 15
985
+  //#define BACK_PROBE_BED_POSITION (Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER - 25)
987 986
 
988 987
   // Probe along the Y axis, advancing X after each column
989 988
   //#define PROBE_Y_FIRST
@@ -1006,17 +1005,6 @@
1006 1005
 
1007 1006
   #endif
1008 1007
 
1009
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1010
-
1011
-  // 3 arbitrary points to probe.
1012
-  // A simple cross-product is used to estimate the plane of the bed.
1013
-  #define ABL_PROBE_PT_1_X 15
1014
-  #define ABL_PROBE_PT_1_Y 180
1015
-  #define ABL_PROBE_PT_2_X 15
1016
-  #define ABL_PROBE_PT_2_Y 20
1017
-  #define ABL_PROBE_PT_3_X 170
1018
-  #define ABL_PROBE_PT_3_Y 20
1019
-
1020 1008
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1021 1009
 
1022 1010
   //===========================================================================
@@ -1029,13 +1017,6 @@
1029 1017
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1030 1018
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1031 1019
 
1032
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1033
-  #define UBL_PROBE_PT_1_Y 180
1034
-  #define UBL_PROBE_PT_2_X 39
1035
-  #define UBL_PROBE_PT_2_Y 20
1036
-  #define UBL_PROBE_PT_3_X 180
1037
-  #define UBL_PROBE_PT_3_Y 20
1038
-
1039 1020
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1040 1021
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1041 1022
 
@@ -1057,6 +1038,19 @@
1057 1038
 #endif // BED_LEVELING
1058 1039
 
1059 1040
 /**
1041
+ * Points to probe for all 3-point Leveling procedures.
1042
+ * Override if the automatically selected points are inadequate.
1043
+ */
1044
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1045
+  //#define PROBE_PT_1_X 15
1046
+  //#define PROBE_PT_1_Y 180
1047
+  //#define PROBE_PT_2_X 15
1048
+  //#define PROBE_PT_2_Y 20
1049
+  //#define PROBE_PT_3_X 170
1050
+  //#define PROBE_PT_3_Y 20
1051
+#endif
1052
+
1053
+/**
1060 1054
  * Use the LCD controller for bed leveling
1061 1055
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1062 1056
  */

+ 17
- 23
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h View File

@@ -967,12 +967,11 @@
967 967
   #define GRID_MAX_POINTS_X 3
968 968
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
969 969
 
970
-
971 970
   // Set the boundaries for probing (where the probe can reach).
972
-  #define LEFT_PROBE_BED_POSITION 15
973
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
974
-  #define FRONT_PROBE_BED_POSITION 15
975
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
971
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
972
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
973
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
974
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
976 975
 
977 976
   // Probe along the Y axis, advancing X after each column
978 977
   //#define PROBE_Y_FIRST
@@ -995,17 +994,6 @@
995 994
 
996 995
   #endif
997 996
 
998
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
999
-
1000
-  // 3 arbitrary points to probe.
1001
-  // A simple cross-product is used to estimate the plane of the bed.
1002
-  #define ABL_PROBE_PT_1_X 15
1003
-  #define ABL_PROBE_PT_1_Y 180
1004
-  #define ABL_PROBE_PT_2_X 15
1005
-  #define ABL_PROBE_PT_2_Y 20
1006
-  #define ABL_PROBE_PT_3_X 170
1007
-  #define ABL_PROBE_PT_3_Y 20
1008
-
1009 997
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1010 998
 
1011 999
   //===========================================================================
@@ -1018,13 +1006,6 @@
1018 1006
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1019 1007
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1020 1008
 
1021
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1022
-  #define UBL_PROBE_PT_1_Y 180
1023
-  #define UBL_PROBE_PT_2_X 39
1024
-  #define UBL_PROBE_PT_2_Y 20
1025
-  #define UBL_PROBE_PT_3_X 180
1026
-  #define UBL_PROBE_PT_3_Y 20
1027
-
1028 1009
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1029 1010
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1030 1011
 
@@ -1046,6 +1027,19 @@
1046 1027
 #endif // BED_LEVELING
1047 1028
 
1048 1029
 /**
1030
+ * Points to probe for all 3-point Leveling procedures.
1031
+ * Override if the automatically selected points are inadequate.
1032
+ */
1033
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1034
+  //#define PROBE_PT_1_X 15
1035
+  //#define PROBE_PT_1_Y 180
1036
+  //#define PROBE_PT_2_X 15
1037
+  //#define PROBE_PT_2_Y 20
1038
+  //#define PROBE_PT_3_X 170
1039
+  //#define PROBE_PT_3_Y 20
1040
+#endif
1041
+
1042
+/**
1049 1043
  * Use the LCD controller for bed leveling
1050 1044
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1051 1045
  */

+ 18
- 24
Marlin/src/config/examples/JGAurora/A5/Configuration.h View File

@@ -959,7 +959,7 @@
959 959
   /**
960 960
    * Enable the G26 Mesh Validation Pattern tool.
961 961
    */
962
-  #define G26_MESH_VALIDATION
962
+  #define G26_MESH_VALIDATION   // Enable G26 mesh validation
963 963
   #if ENABLED(G26_MESH_VALIDATION)
964 964
     #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
965 965
     #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
@@ -976,11 +976,10 @@
976 976
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
977 977
 
978 978
   // Set the boundaries for probing (where the probe can reach).
979
-  #define LEFT_PROBE_BED_POSITION 15
980
-  #define RIGHT_PROBE_BED_POSITION 170
981
-  #define FRONT_PROBE_BED_POSITION 20
982
-  #define BACK_PROBE_BED_POSITION 170
983
-
979
+  //#define LEFT_PROBE_BED_POSITION 15
980
+  //#define RIGHT_PROBE_BED_POSITION 170
981
+  //#define FRONT_PROBE_BED_POSITION 20
982
+  //#define BACK_PROBE_BED_POSITION 170
984 983
 
985 984
   // Probe along the Y axis, advancing X after each column
986 985
   //#define PROBE_Y_FIRST
@@ -1003,17 +1002,6 @@
1003 1002
 
1004 1003
   #endif
1005 1004
 
1006
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1007
-
1008
-  // 3 arbitrary points to probe.
1009
-  // A simple cross-product is used to estimate the plane of the bed.
1010
-  #define ABL_PROBE_PT_1_X 15
1011
-  #define ABL_PROBE_PT_1_Y 180
1012
-  #define ABL_PROBE_PT_2_X 15
1013
-  #define ABL_PROBE_PT_2_Y 20
1014
-  #define ABL_PROBE_PT_3_X 170
1015
-  #define ABL_PROBE_PT_3_Y 20
1016
-
1017 1005
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1018 1006
 
1019 1007
   //===========================================================================
@@ -1026,13 +1014,6 @@
1026 1014
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1027 1015
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1028 1016
 
1029
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1030
-  #define UBL_PROBE_PT_1_Y 180
1031
-  #define UBL_PROBE_PT_2_X 39
1032
-  #define UBL_PROBE_PT_2_Y 20
1033
-  #define UBL_PROBE_PT_3_X 180
1034
-  #define UBL_PROBE_PT_3_Y 20
1035
-
1036 1017
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1037 1018
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1038 1019
 
@@ -1053,6 +1034,19 @@
1053 1034
 #endif // BED_LEVELING
1054 1035
 
1055 1036
 /**
1037
+ * Points to probe for all 3-point Leveling procedures.
1038
+ * Override if the automatically selected points are inadequate.
1039
+ */
1040
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1041
+  //#define PROBE_PT_1_X 15
1042
+  //#define PROBE_PT_1_Y 180
1043
+  //#define PROBE_PT_2_X 15
1044
+  //#define PROBE_PT_2_Y 20
1045
+  //#define PROBE_PT_3_X 170
1046
+  //#define PROBE_PT_3_Y 20
1047
+#endif
1048
+
1049
+/**
1056 1050
  * Use the LCD controller for bed leveling
1057 1051
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1058 1052
  */

+ 17
- 23
Marlin/src/config/examples/MakerParts/Configuration.h View File

@@ -983,12 +983,11 @@
983 983
   #define GRID_MAX_POINTS_X 3
984 984
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
985 985
 
986
-
987 986
   // Set the boundaries for probing (where the probe can reach).
988
-  #define LEFT_PROBE_BED_POSITION 15
989
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
990
-  #define FRONT_PROBE_BED_POSITION 15
991
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
987
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
988
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
989
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
990
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
992 991
 
993 992
   // Probe along the Y axis, advancing X after each column
994 993
   //#define PROBE_Y_FIRST
@@ -1011,17 +1010,6 @@
1011 1010
 
1012 1011
   #endif
1013 1012
 
1014
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1015
-
1016
-  // 3 arbitrary points to probe.
1017
-  // A simple cross-product is used to estimate the plane of the bed.
1018
-  #define ABL_PROBE_PT_1_X 15
1019
-  #define ABL_PROBE_PT_1_Y 180
1020
-  #define ABL_PROBE_PT_2_X 15
1021
-  #define ABL_PROBE_PT_2_Y 20
1022
-  #define ABL_PROBE_PT_3_X 170
1023
-  #define ABL_PROBE_PT_3_Y 20
1024
-
1025 1013
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1026 1014
 
1027 1015
   //===========================================================================
@@ -1034,13 +1022,6 @@
1034 1022
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1035 1023
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1036 1024
 
1037
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1038
-  #define UBL_PROBE_PT_1_Y 180
1039
-  #define UBL_PROBE_PT_2_X 39
1040
-  #define UBL_PROBE_PT_2_Y 20
1041
-  #define UBL_PROBE_PT_3_X 180
1042
-  #define UBL_PROBE_PT_3_Y 20
1043
-
1044 1025
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1045 1026
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1046 1027
 
@@ -1062,6 +1043,19 @@
1062 1043
 #endif // BED_LEVELING
1063 1044
 
1064 1045
 /**
1046
+ * Points to probe for all 3-point Leveling procedures.
1047
+ * Override if the automatically selected points are inadequate.
1048
+ */
1049
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1050
+  //#define PROBE_PT_1_X 15
1051
+  //#define PROBE_PT_1_Y 180
1052
+  //#define PROBE_PT_2_X 15
1053
+  //#define PROBE_PT_2_Y 20
1054
+  //#define PROBE_PT_3_X 170
1055
+  //#define PROBE_PT_3_Y 20
1056
+#endif
1057
+
1058
+/**
1065 1059
  * Use the LCD controller for bed leveling
1066 1060
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1067 1061
  */

+ 26
- 21
Marlin/src/config/examples/Malyan/M150/Configuration.h View File

@@ -21,7 +21,7 @@
21 21
  */
22 22
 
23 23
 /**
24
- * Malyan M150 Configuration
24
+ * Maylan M150 Configuration
25 25
  * Non-Automatic Bed Level config by default
26 26
  */
27 27
 
@@ -778,8 +778,8 @@
778 778
  * Example: `M851 Z-5` with a CLEARANCE of 4  =>  9mm from bed to nozzle.
779 779
  *     But: `M851 Z+1` with a CLEARANCE of 2  =>  2mm from bed to nozzle.
780 780
  */
781
-#define Z_CLEARANCE_DEPLOY_PROBE   10 // Z Clearance for Deploy/Stow
782
-#define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
781
+//#define Z_CLEARANCE_DEPLOY_PROBE   10 // Z Clearance for Deploy/Stow
782
+//#define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
783 783
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
784 784
 
785 785
 // For M851 give a range for adjusting the Z probe offset
@@ -992,11 +992,10 @@
992 992
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
993 993
 
994 994
   // Set the boundaries for probing (where the probe can reach).
995
-  #define LEFT_PROBE_BED_POSITION 50
996
-  #define RIGHT_PROBE_BED_POSITION 150
997
-  #define FRONT_PROBE_BED_POSITION 50
998
-  #define BACK_PROBE_BED_POSITION 150
999
-
995
+  //#define LEFT_PROBE_BED_POSITION 50
996
+  //#define RIGHT_PROBE_BED_POSITION 150
997
+  //#define FRONT_PROBE_BED_POSITION 50
998
+  //#define BACK_PROBE_BED_POSITION 150
1000 999
 
1001 1000
   // Probe along the Y axis, advancing X after each column
1002 1001
   //#define PROBE_Y_FIRST
@@ -1023,12 +1022,12 @@
1023 1022
 
1024 1023
   // 3 arbitrary points to probe.
1025 1024
   // A simple cross-product is used to estimate the plane of the bed.
1026
-  #define ABL_PROBE_PT_1_X 50
1027
-  #define ABL_PROBE_PT_1_Y 150
1028
-  #define ABL_PROBE_PT_2_X 50
1029
-  #define ABL_PROBE_PT_2_Y 50
1030
-  #define ABL_PROBE_PT_3_X 150
1031
-  #define ABL_PROBE_PT_3_Y 50
1025
+  #define PROBE_PT_1_X 50
1026
+  #define PROBE_PT_1_Y 150
1027
+  #define PROBE_PT_2_X 50
1028
+  #define PROBE_PT_2_Y 50
1029
+  #define PROBE_PT_3_X 150
1030
+  #define PROBE_PT_3_Y 50
1032 1031
 
1033 1032
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1034 1033
 
@@ -1042,13 +1041,6 @@
1042 1041
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1043 1042
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1044 1043
 
1045
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1046
-  #define UBL_PROBE_PT_1_Y 180
1047
-  #define UBL_PROBE_PT_2_X 39
1048
-  #define UBL_PROBE_PT_2_Y 20
1049
-  #define UBL_PROBE_PT_3_X 180
1050
-  #define UBL_PROBE_PT_3_Y 20
1051
-
1052 1044
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1053 1045
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1054 1046
 
@@ -1070,6 +1062,19 @@
1070 1062
 #endif // BED_LEVELING
1071 1063
 
1072 1064
 /**
1065
+ * Points to probe for all 3-point Leveling procedures.
1066
+ * Override if the automatically selected points are inadequate.
1067
+ */
1068
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1069
+  //#define PROBE_PT_1_X 15
1070
+  //#define PROBE_PT_1_Y 180
1071
+  //#define PROBE_PT_2_X 15
1072
+  //#define PROBE_PT_2_Y 20
1073
+  //#define PROBE_PT_3_X 170
1074
+  //#define PROBE_PT_3_Y 20
1075
+#endif
1076
+
1077
+/**
1073 1078
  * Use the LCD controller for bed leveling
1074 1079
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1075 1080
  */

+ 17
- 23
Marlin/src/config/examples/Malyan/M200/Configuration.h View File

@@ -962,12 +962,11 @@
962 962
   #define GRID_MAX_POINTS_X 3
963 963
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
964 964
 
965
-
966 965
   // Set the boundaries for probing (where the probe can reach).
967
-  #define LEFT_PROBE_BED_POSITION 15
968
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
969
-  #define FRONT_PROBE_BED_POSITION 15
970
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
966
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
967
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
968
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
969
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
971 970
 
972 971
   // Probe along the Y axis, advancing X after each column
973 972
   //#define PROBE_Y_FIRST
@@ -990,17 +989,6 @@
990 989
 
991 990
   #endif
992 991
 
993
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
994
-
995
-  // 3 arbitrary points to probe.
996
-  // A simple cross-product is used to estimate the plane of the bed.
997
-  #define ABL_PROBE_PT_1_X 15
998
-  #define ABL_PROBE_PT_1_Y 180
999
-  #define ABL_PROBE_PT_2_X 15
1000
-  #define ABL_PROBE_PT_2_Y 20
1001
-  #define ABL_PROBE_PT_3_X 170
1002
-  #define ABL_PROBE_PT_3_Y 20
1003
-
1004 992
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1005 993
 
1006 994
   //===========================================================================
@@ -1013,13 +1001,6 @@
1013 1001
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1014 1002
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1015 1003
 
1016
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1017
-  #define UBL_PROBE_PT_1_Y 180
1018
-  #define UBL_PROBE_PT_2_X 39
1019
-  #define UBL_PROBE_PT_2_Y 20
1020
-  #define UBL_PROBE_PT_3_X 180
1021
-  #define UBL_PROBE_PT_3_Y 20
1022
-
1023 1004
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1024 1005
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1025 1006
 
@@ -1041,6 +1022,19 @@
1041 1022
 #endif // BED_LEVELING
1042 1023
 
1043 1024
 /**
1025
+ * Points to probe for all 3-point Leveling procedures.
1026
+ * Override if the automatically selected points are inadequate.
1027
+ */
1028
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1029
+  //#define PROBE_PT_1_X 15
1030
+  //#define PROBE_PT_1_Y 180
1031
+  //#define PROBE_PT_2_X 15
1032
+  //#define PROBE_PT_2_Y 20
1033
+  //#define PROBE_PT_3_X 170
1034
+  //#define PROBE_PT_3_Y 20
1035
+#endif
1036
+
1037
+/**
1044 1038
  * Use the LCD controller for bed leveling
1045 1039
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1046 1040
  */

+ 17
- 23
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h View File

@@ -967,12 +967,11 @@
967 967
   #define GRID_MAX_POINTS_X 3
968 968
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
969 969
 
970
-
971 970
   // Set the boundaries for probing (where the probe can reach).
972
-  #define LEFT_PROBE_BED_POSITION 15
973
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
974
-  #define FRONT_PROBE_BED_POSITION 15
975
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
971
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
972
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
973
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
974
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
976 975
 
977 976
   // Probe along the Y axis, advancing X after each column
978 977
   //#define PROBE_Y_FIRST
@@ -995,17 +994,6 @@
995 994
 
996 995
   #endif
997 996
 
998
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
999
-
1000
-  // 3 arbitrary points to probe.
1001
-  // A simple cross-product is used to estimate the plane of the bed.
1002
-  #define ABL_PROBE_PT_1_X 15
1003
-  #define ABL_PROBE_PT_1_Y 180
1004
-  #define ABL_PROBE_PT_2_X 15
1005
-  #define ABL_PROBE_PT_2_Y 20
1006
-  #define ABL_PROBE_PT_3_X 170
1007
-  #define ABL_PROBE_PT_3_Y 20
1008
-
1009 997
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1010 998
 
1011 999
   //===========================================================================
@@ -1018,13 +1006,6 @@
1018 1006
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1019 1007
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1020 1008
 
1021
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1022
-  #define UBL_PROBE_PT_1_Y 180
1023
-  #define UBL_PROBE_PT_2_X 39
1024
-  #define UBL_PROBE_PT_2_Y 20
1025
-  #define UBL_PROBE_PT_3_X 180
1026
-  #define UBL_PROBE_PT_3_Y 20
1027
-
1028 1009
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1029 1010
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1030 1011
 
@@ -1046,6 +1027,19 @@
1046 1027
 #endif // BED_LEVELING
1047 1028
 
1048 1029
 /**
1030
+ * Points to probe for all 3-point Leveling procedures.
1031
+ * Override if the automatically selected points are inadequate.
1032
+ */
1033
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1034
+  //#define PROBE_PT_1_X 15
1035
+  //#define PROBE_PT_1_Y 180
1036
+  //#define PROBE_PT_2_X 15
1037
+  //#define PROBE_PT_2_Y 20
1038
+  //#define PROBE_PT_3_X 170
1039
+  //#define PROBE_PT_3_Y 20
1040
+#endif
1041
+
1042
+/**
1049 1043
  * Use the LCD controller for bed leveling
1050 1044
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1051 1045
  */

+ 17
- 23
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h View File

@@ -967,12 +967,11 @@
967 967
   #define GRID_MAX_POINTS_X 3
968 968
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
969 969
 
970
-
971 970
   // Set the boundaries for probing (where the probe can reach).
972
-  #define LEFT_PROBE_BED_POSITION 15
973
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
974
-  #define FRONT_PROBE_BED_POSITION 15
975
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
971
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
972
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
973
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
974
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
976 975
 
977 976
   // Probe along the Y axis, advancing X after each column
978 977
   //#define PROBE_Y_FIRST
@@ -995,17 +994,6 @@
995 994
 
996 995
   #endif
997 996
 
998
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
999
-
1000
-  // 3 arbitrary points to probe.
1001
-  // A simple cross-product is used to estimate the plane of the bed.
1002
-  #define ABL_PROBE_PT_1_X 15
1003
-  #define ABL_PROBE_PT_1_Y 180
1004
-  #define ABL_PROBE_PT_2_X 15
1005
-  #define ABL_PROBE_PT_2_Y 20
1006
-  #define ABL_PROBE_PT_3_X 170
1007
-  #define ABL_PROBE_PT_3_Y 20
1008
-
1009 997
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1010 998
 
1011 999
   //===========================================================================
@@ -1018,13 +1006,6 @@
1018 1006
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1019 1007
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1020 1008
 
1021
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1022
-  #define UBL_PROBE_PT_1_Y 180
1023
-  #define UBL_PROBE_PT_2_X 39
1024
-  #define UBL_PROBE_PT_2_Y 20
1025
-  #define UBL_PROBE_PT_3_X 180
1026
-  #define UBL_PROBE_PT_3_Y 20
1027
-
1028 1009
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1029 1010
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1030 1011
 
@@ -1046,6 +1027,19 @@
1046 1027
 #endif // BED_LEVELING
1047 1028
 
1048 1029
 /**
1030
+ * Points to probe for all 3-point Leveling procedures.
1031
+ * Override if the automatically selected points are inadequate.
1032
+ */
1033
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1034
+  //#define PROBE_PT_1_X 15
1035
+  //#define PROBE_PT_1_Y 180
1036
+  //#define PROBE_PT_2_X 15
1037
+  //#define PROBE_PT_2_Y 20
1038
+  //#define PROBE_PT_3_X 170
1039
+  //#define PROBE_PT_3_Y 20
1040
+#endif
1041
+
1042
+/**
1049 1043
  * Use the LCD controller for bed leveling
1050 1044
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1051 1045
  */

+ 17
- 23
Marlin/src/config/examples/Mks/Sbase/Configuration.h View File

@@ -964,11 +964,10 @@
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966 966
   // Set the boundaries for probing (where the probe can reach).
967
-  #define LEFT_PROBE_BED_POSITION 32
968
-  #define RIGHT_PROBE_BED_POSITION 170
969
-  #define FRONT_PROBE_BED_POSITION 20
970
-  #define BACK_PROBE_BED_POSITION 170
971
-
967
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
969
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
970
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 17
- 23
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h View File

@@ -963,12 +963,11 @@
963 963
   #define GRID_MAX_POINTS_X 3
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966
-
967 966
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION 15
969
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
970
-  #define FRONT_PROBE_BED_POSITION 15
971
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
967
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
969
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
970
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 17
- 23
Marlin/src/config/examples/RigidBot/Configuration.h View File

@@ -961,12 +961,11 @@
961 961
   #define GRID_MAX_POINTS_X 3
962 962
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
963 963
 
964
-
965 964
   // Set the boundaries for probing (where the probe can reach).
966
-  #define LEFT_PROBE_BED_POSITION 15
967
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
968
-  #define FRONT_PROBE_BED_POSITION 15
969
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
965
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
966
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
967
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
970 969
 
971 970
   // Probe along the Y axis, advancing X after each column
972 971
   //#define PROBE_Y_FIRST
@@ -989,17 +988,6 @@
989 988
 
990 989
   #endif
991 990
 
992
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
993
-
994
-  // 3 arbitrary points to probe.
995
-  // A simple cross-product is used to estimate the plane of the bed.
996
-  #define ABL_PROBE_PT_1_X 15
997
-  #define ABL_PROBE_PT_1_Y 180
998
-  #define ABL_PROBE_PT_2_X 15
999
-  #define ABL_PROBE_PT_2_Y 20
1000
-  #define ABL_PROBE_PT_3_X 170
1001
-  #define ABL_PROBE_PT_3_Y 20
1002
-
1003 991
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1004 992
 
1005 993
   //===========================================================================
@@ -1012,13 +1000,6 @@
1012 1000
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1013 1001
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1014 1002
 
1015
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1016
-  #define UBL_PROBE_PT_1_Y 180
1017
-  #define UBL_PROBE_PT_2_X 39
1018
-  #define UBL_PROBE_PT_2_Y 20
1019
-  #define UBL_PROBE_PT_3_X 180
1020
-  #define UBL_PROBE_PT_3_Y 20
1021
-
1022 1003
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1023 1004
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1024 1005
 
@@ -1040,6 +1021,19 @@
1040 1021
 #endif // BED_LEVELING
1041 1022
 
1042 1023
 /**
1024
+ * Points to probe for all 3-point Leveling procedures.
1025
+ * Override if the automatically selected points are inadequate.
1026
+ */
1027
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1028
+  //#define PROBE_PT_1_X 15
1029
+  //#define PROBE_PT_1_Y 180
1030
+  //#define PROBE_PT_2_X 15
1031
+  //#define PROBE_PT_2_Y 20
1032
+  //#define PROBE_PT_3_X 170
1033
+  //#define PROBE_PT_3_Y 20
1034
+#endif
1035
+
1036
+/**
1043 1037
  * Use the LCD controller for bed leveling
1044 1038
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1045 1039
  */

+ 17
- 23
Marlin/src/config/examples/SCARA/Configuration.h View File

@@ -974,12 +974,11 @@
974 974
   #define GRID_MAX_POINTS_X 3
975 975
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
976 976
 
977
-
978 977
   // Set the boundaries for probing (where the probe can reach).
979
-  #define LEFT_PROBE_BED_POSITION 15
980
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
981
-  #define FRONT_PROBE_BED_POSITION 15
982
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
978
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
979
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
980
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
981
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
983 982
 
984 983
   // Probe along the Y axis, advancing X after each column
985 984
   //#define PROBE_Y_FIRST
@@ -1002,17 +1001,6 @@
1002 1001
 
1003 1002
   #endif
1004 1003
 
1005
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1006
-
1007
-  // 3 arbitrary points to probe.
1008
-  // A simple cross-product is used to estimate the plane of the bed.
1009
-  #define ABL_PROBE_PT_1_X 15
1010
-  #define ABL_PROBE_PT_1_Y 180
1011
-  #define ABL_PROBE_PT_2_X 15
1012
-  #define ABL_PROBE_PT_2_Y 20
1013
-  #define ABL_PROBE_PT_3_X 170
1014
-  #define ABL_PROBE_PT_3_Y 20
1015
-
1016 1004
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1017 1005
 
1018 1006
   //===========================================================================
@@ -1025,13 +1013,6 @@
1025 1013
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1026 1014
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1027 1015
 
1028
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1029
-  #define UBL_PROBE_PT_1_Y 180
1030
-  #define UBL_PROBE_PT_2_X 39
1031
-  #define UBL_PROBE_PT_2_Y 20
1032
-  #define UBL_PROBE_PT_3_X 180
1033
-  #define UBL_PROBE_PT_3_Y 20
1034
-
1035 1016
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1036 1017
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1037 1018
 
@@ -1053,6 +1034,19 @@
1053 1034
 #endif // BED_LEVELING
1054 1035
 
1055 1036
 /**
1037
+ * Points to probe for all 3-point Leveling procedures.
1038
+ * Override if the automatically selected points are inadequate.
1039
+ */
1040
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1041
+  //#define PROBE_PT_1_X 15
1042
+  //#define PROBE_PT_1_Y 180
1043
+  //#define PROBE_PT_2_X 15
1044
+  //#define PROBE_PT_2_Y 20
1045
+  //#define PROBE_PT_3_X 170
1046
+  //#define PROBE_PT_3_Y 20
1047
+#endif
1048
+
1049
+/**
1056 1050
  * Use the LCD controller for bed leveling
1057 1051
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1058 1052
  */

+ 17
- 23
Marlin/src/config/examples/STM32F10/Configuration.h View File

@@ -966,12 +966,11 @@
966 966
   #define GRID_MAX_POINTS_X 3
967 967
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
968 968
 
969
-
970 969
   // Set the boundaries for probing (where the probe can reach).
971
-  #define LEFT_PROBE_BED_POSITION 15
972
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
973
-  #define FRONT_PROBE_BED_POSITION 15
974
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
970
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
971
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
972
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
973
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
975 974
 
976 975
   // Probe along the Y axis, advancing X after each column
977 976
   //#define PROBE_Y_FIRST
@@ -994,17 +993,6 @@
994 993
 
995 994
   #endif
996 995
 
997
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
998
-
999
-  // 3 arbitrary points to probe.
1000
-  // A simple cross-product is used to estimate the plane of the bed.
1001
-  #define ABL_PROBE_PT_1_X 15
1002
-  #define ABL_PROBE_PT_1_Y 180
1003
-  #define ABL_PROBE_PT_2_X 15
1004
-  #define ABL_PROBE_PT_2_Y 20
1005
-  #define ABL_PROBE_PT_3_X 170
1006
-  #define ABL_PROBE_PT_3_Y 20
1007
-
1008 996
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1009 997
 
1010 998
   //===========================================================================
@@ -1017,13 +1005,6 @@
1017 1005
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1018 1006
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1019 1007
 
1020
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1021
-  #define UBL_PROBE_PT_1_Y 180
1022
-  #define UBL_PROBE_PT_2_X 39
1023
-  #define UBL_PROBE_PT_2_Y 20
1024
-  #define UBL_PROBE_PT_3_X 180
1025
-  #define UBL_PROBE_PT_3_Y 20
1026
-
1027 1008
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1028 1009
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1029 1010
 
@@ -1045,6 +1026,19 @@
1045 1026
 #endif // BED_LEVELING
1046 1027
 
1047 1028
 /**
1029
+ * Points to probe for all 3-point Leveling procedures.
1030
+ * Override if the automatically selected points are inadequate.
1031
+ */
1032
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1033
+  //#define PROBE_PT_1_X 15
1034
+  //#define PROBE_PT_1_Y 180
1035
+  //#define PROBE_PT_2_X 15
1036
+  //#define PROBE_PT_2_Y 20
1037
+  //#define PROBE_PT_3_X 170
1038
+  //#define PROBE_PT_3_Y 20
1039
+#endif
1040
+
1041
+/**
1048 1042
  * Use the LCD controller for bed leveling
1049 1043
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1050 1044
  */

+ 17
- 23
Marlin/src/config/examples/Sanguinololu/Configuration.h View File

@@ -994,12 +994,11 @@
994 994
   #define GRID_MAX_POINTS_X 3
995 995
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
996 996
 
997
-
998 997
   // Set the boundaries for probing (where the probe can reach).
999
-  #define LEFT_PROBE_BED_POSITION 15
1000
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
1001
-  #define FRONT_PROBE_BED_POSITION 15
1002
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
998
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
999
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
1000
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
1001
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
1003 1002
 
1004 1003
   // Probe along the Y axis, advancing X after each column
1005 1004
   //#define PROBE_Y_FIRST
@@ -1022,17 +1021,6 @@
1022 1021
 
1023 1022
   #endif
1024 1023
 
1025
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1026
-
1027
-  // 3 arbitrary points to probe.
1028
-  // A simple cross-product is used to estimate the plane of the bed.
1029
-  #define ABL_PROBE_PT_1_X 15
1030
-  #define ABL_PROBE_PT_1_Y 180
1031
-  #define ABL_PROBE_PT_2_X 15
1032
-  #define ABL_PROBE_PT_2_Y 20
1033
-  #define ABL_PROBE_PT_3_X 170
1034
-  #define ABL_PROBE_PT_3_Y 20
1035
-
1036 1024
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1037 1025
 
1038 1026
   //===========================================================================
@@ -1045,13 +1033,6 @@
1045 1033
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1046 1034
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1047 1035
 
1048
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1049
-  #define UBL_PROBE_PT_1_Y 180
1050
-  #define UBL_PROBE_PT_2_X 39
1051
-  #define UBL_PROBE_PT_2_Y 20
1052
-  #define UBL_PROBE_PT_3_X 180
1053
-  #define UBL_PROBE_PT_3_Y 20
1054
-
1055 1036
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1056 1037
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1057 1038
 
@@ -1073,6 +1054,19 @@
1073 1054
 #endif // BED_LEVELING
1074 1055
 
1075 1056
 /**
1057
+ * Points to probe for all 3-point Leveling procedures.
1058
+ * Override if the automatically selected points are inadequate.
1059
+ */
1060
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1061
+  //#define PROBE_PT_1_X 15
1062
+  //#define PROBE_PT_1_Y 180
1063
+  //#define PROBE_PT_2_X 15
1064
+  //#define PROBE_PT_2_Y 20
1065
+  //#define PROBE_PT_3_X 170
1066
+  //#define PROBE_PT_3_Y 20
1067
+#endif
1068
+
1069
+/**
1076 1070
  * Use the LCD controller for bed leveling
1077 1071
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1078 1072
  */

+ 17
- 23
Marlin/src/config/examples/TheBorg/Configuration.h View File

@@ -964,11 +964,10 @@
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966 966
   // Set the boundaries for probing (where the probe can reach).
967
-  #define LEFT_PROBE_BED_POSITION 32
968
-  #define RIGHT_PROBE_BED_POSITION 210
969
-  #define FRONT_PROBE_BED_POSITION 10
970
-  #define BACK_PROBE_BED_POSITION 210
971
-
967
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
969
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
970
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 19
- 25
Marlin/src/config/examples/TinyBoy2/Configuration.h View File

@@ -1019,12 +1019,11 @@
1019 1019
   #define GRID_MAX_POINTS_X 3
1020 1020
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1021 1021
 
1022
-
1023 1022
   // Set the boundaries for probing (where the probe can reach).
1024
-  #define LEFT_PROBE_BED_POSITION 15
1025
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
1026
-  #define FRONT_PROBE_BED_POSITION 15
1027
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
1023
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
1024
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
1025
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
1026
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
1028 1027
 
1029 1028
   // Probe along the Y axis, advancing X after each column
1030 1029
   //#define PROBE_Y_FIRST
@@ -1047,17 +1046,6 @@
1047 1046
 
1048 1047
   #endif
1049 1048
 
1050
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1051
-
1052
-  // 3 arbitrary points to probe.
1053
-  // A simple cross-product is used to estimate the plane of the bed.
1054
-  #define ABL_PROBE_PT_1_X 15
1055
-  #define ABL_PROBE_PT_1_Y 180
1056
-  #define ABL_PROBE_PT_2_X 15
1057
-  #define ABL_PROBE_PT_2_Y 20
1058
-  #define ABL_PROBE_PT_3_X 170
1059
-  #define ABL_PROBE_PT_3_Y 20
1060
-
1061 1049
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1062 1050
 
1063 1051
   //===========================================================================
@@ -1070,13 +1058,6 @@
1070 1058
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1071 1059
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1072 1060
 
1073
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1074
-  #define UBL_PROBE_PT_1_Y 180
1075
-  #define UBL_PROBE_PT_2_X 39
1076
-  #define UBL_PROBE_PT_2_Y 20
1077
-  #define UBL_PROBE_PT_3_X 180
1078
-  #define UBL_PROBE_PT_3_Y 20
1079
-
1080 1061
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1081 1062
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1082 1063
 
@@ -1098,6 +1079,19 @@
1098 1079
 #endif // BED_LEVELING
1099 1080
 
1100 1081
 /**
1082
+ * Points to probe for all 3-point Leveling procedures.
1083
+ * Override if the automatically selected points are inadequate.
1084
+ */
1085
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1086
+  //#define PROBE_PT_1_X 15
1087
+  //#define PROBE_PT_1_Y 180
1088
+  //#define PROBE_PT_2_X 15
1089
+  //#define PROBE_PT_2_Y 20
1090
+  //#define PROBE_PT_3_X 170
1091
+  //#define PROBE_PT_3_Y 20
1092
+#endif
1093
+
1094
+/**
1101 1095
  * Use the LCD controller for bed leveling
1102 1096
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1103 1097
  */
@@ -1461,13 +1455,13 @@
1461 1455
 // This option overrides the default number of encoder pulses needed to
1462 1456
 // produce one step. Should be increased for high-resolution encoders.
1463 1457
 //
1464
-#define ENCODER_PULSES_PER_STEP 4
1458
+//#define ENCODER_PULSES_PER_STEP 4
1465 1459
 
1466 1460
 //
1467 1461
 // Use this option to override the number of step signals required to
1468 1462
 // move between next/prev menu items.
1469 1463
 //
1470
-#define ENCODER_STEPS_PER_MENU_ITEM 1
1464
+//#define ENCODER_STEPS_PER_MENU_ITEM 1
1471 1465
 
1472 1466
 /**
1473 1467
  * Encoder Direction Options

+ 20
- 26
Marlin/src/config/examples/Tronxy/X1/Configuration.h View File

@@ -365,7 +365,7 @@
365 365
 #define PIDTEMP
366 366
 #define BANG_MAX 255     // Limits current to nozzle while in bang-bang mode; 255=full current
367 367
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
368
-#define PID_K1 0.95      // Smoothing factor within any PID loop
368
+#define PID_K1 0.95      // Smoothing factor within the PID
369 369
 #if ENABLED(PIDTEMP)
370 370
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
371 371
   //#define PID_DEBUG // Sends debug data to the serial port.
@@ -947,7 +947,7 @@
947 947
   /**
948 948
    * Enable the G26 Mesh Validation Pattern tool.
949 949
    */
950
-  #define G26_MESH_VALIDATION
950
+  #define G26_MESH_VALIDATION   // Enable G26 mesh validation
951 951
   #if ENABLED(G26_MESH_VALIDATION)
952 952
     #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
953 953
     #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
@@ -963,12 +963,11 @@
963 963
   #define GRID_MAX_POINTS_X 3
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966
-
967 966
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION 15
969
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
970
-  #define FRONT_PROBE_BED_POSITION 15
971
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
967
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
969
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
970
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */
@@ -1577,7 +1571,7 @@
1577 1571
 //
1578 1572
 // ANET and Tronxy Controller supported displays.
1579 1573
 //
1580
-#define ZONESTAR_LCD            // Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
1574
+#define ZONESTAR_LCD              // Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
1581 1575
                                   // This LCD is known to be susceptible to electrical interference
1582 1576
                                   // which scrambles the display.  Pressing any button clears it up.
1583 1577
                                   // This is a LCD2004 display with 5 analog buttons.

+ 17
- 23
Marlin/src/config/examples/Tronxy/X5S/Configuration.h View File

@@ -963,12 +963,11 @@
963 963
   #define GRID_MAX_POINTS_X 3
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966
-
967 966
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION 15
969
-  #define RIGHT_PROBE_BED_POSITION 270
970
-  #define FRONT_PROBE_BED_POSITION 20
971
-  #define BACK_PROBE_BED_POSITION 260
967
+  //#define LEFT_PROBE_BED_POSITION 15
968
+  //#define RIGHT_PROBE_BED_POSITION 270
969
+  //#define FRONT_PROBE_BED_POSITION 20
970
+  //#define BACK_PROBE_BED_POSITION 260
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 21
- 27
Marlin/src/config/examples/Tronxy/XY100/Configuration.h View File

@@ -974,12 +974,11 @@
974 974
   #define GRID_MAX_POINTS_X 3
975 975
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
976 976
 
977
-
978 977
   // Set the boundaries for probing (where the probe can reach).
979
-  #define LEFT_PROBE_BED_POSITION 15
980
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
981
-  #define FRONT_PROBE_BED_POSITION 15
982
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
978
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
979
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
980
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
981
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
983 982
 
984 983
   // Probe along the Y axis, advancing X after each column
985 984
   //#define PROBE_Y_FIRST
@@ -1002,17 +1001,6 @@
1002 1001
 
1003 1002
   #endif
1004 1003
 
1005
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1006
-
1007
-  // 3 arbitrary points to probe.
1008
-  // A simple cross-product is used to estimate the plane of the bed.
1009
-  #define ABL_PROBE_PT_1_X 15
1010
-  #define ABL_PROBE_PT_1_Y 180
1011
-  #define ABL_PROBE_PT_2_X 15
1012
-  #define ABL_PROBE_PT_2_Y 20
1013
-  #define ABL_PROBE_PT_3_X 170
1014
-  #define ABL_PROBE_PT_3_Y 20
1015
-
1016 1004
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1017 1005
 
1018 1006
   //===========================================================================
@@ -1025,13 +1013,6 @@
1025 1013
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1026 1014
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1027 1015
 
1028
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1029
-  #define UBL_PROBE_PT_1_Y 180
1030
-  #define UBL_PROBE_PT_2_X 39
1031
-  #define UBL_PROBE_PT_2_Y 20
1032
-  #define UBL_PROBE_PT_3_X 180
1033
-  #define UBL_PROBE_PT_3_Y 20
1034
-
1035 1016
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1036 1017
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1037 1018
 
@@ -1053,6 +1034,19 @@
1053 1034
 #endif // BED_LEVELING
1054 1035
 
1055 1036
 /**
1037
+ * Points to probe for all 3-point Leveling procedures.
1038
+ * Override if the automatically selected points are inadequate.
1039
+ */
1040
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1041
+  //#define PROBE_PT_1_X 15
1042
+  //#define PROBE_PT_1_Y 180
1043
+  //#define PROBE_PT_2_X 15
1044
+  //#define PROBE_PT_2_Y 20
1045
+  //#define PROBE_PT_3_X 170
1046
+  //#define PROBE_PT_3_Y 20
1047
+#endif
1048
+
1049
+/**
1056 1050
  * Use the LCD controller for bed leveling
1057 1051
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1058 1052
  */
@@ -1588,10 +1582,10 @@
1588 1582
 //
1589 1583
 // ANET and Tronxy Controller supported displays.
1590 1584
 //
1591
-#define ZONESTAR_LCD            // Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
1592
-                                // This LCD is known to be susceptible to electrical interference
1593
-                                // which scrambles the display.  Pressing any button clears it up.
1594
-                                // This is a LCD2004 display with 5 analog buttons.
1585
+#define ZONESTAR_LCD              // Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
1586
+                                  // This LCD is known to be susceptible to electrical interference
1587
+                                  // which scrambles the display.  Pressing any button clears it up.
1588
+                                  // This is a LCD2004 display with 5 analog buttons.
1595 1589
 
1596 1590
 //#define ANET_FULL_GRAPHICS_LCD  // Anet 128x64 full graphics lcd with rotary encoder as used on Anet A6
1597 1591
                                   // A clone of the RepRapDiscount full graphics display but with

+ 17
- 23
Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h View File

@@ -963,12 +963,11 @@
963 963
   #define GRID_MAX_POINTS_X 3
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966
-
967 966
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION 15
969
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
970
-  #define FRONT_PROBE_BED_POSITION 15
971
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
967
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
969
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
970
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 17
- 23
Marlin/src/config/examples/Velleman/K8200/Configuration.h View File

@@ -993,12 +993,11 @@
993 993
   #define GRID_MAX_POINTS_X 3
994 994
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
995 995
 
996
-
997 996
   // Set the boundaries for probing (where the probe can reach).
998
-  #define LEFT_PROBE_BED_POSITION 15
999
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
1000
-  #define FRONT_PROBE_BED_POSITION 15
1001
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
997
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
998
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
999
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
1000
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
1002 1001
 
1003 1002
   // Probe along the Y axis, advancing X after each column
1004 1003
   //#define PROBE_Y_FIRST
@@ -1021,17 +1020,6 @@
1021 1020
 
1022 1021
   #endif
1023 1022
 
1024
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1025
-
1026
-  // 3 arbitrary points to probe.
1027
-  // A simple cross-product is used to estimate the plane of the bed.
1028
-  #define ABL_PROBE_PT_1_X 15
1029
-  #define ABL_PROBE_PT_1_Y 180
1030
-  #define ABL_PROBE_PT_2_X 15
1031
-  #define ABL_PROBE_PT_2_Y 20
1032
-  #define ABL_PROBE_PT_3_X 170
1033
-  #define ABL_PROBE_PT_3_Y 20
1034
-
1035 1023
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1036 1024
 
1037 1025
   //===========================================================================
@@ -1044,13 +1032,6 @@
1044 1032
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1045 1033
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1046 1034
 
1047
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1048
-  #define UBL_PROBE_PT_1_Y 180
1049
-  #define UBL_PROBE_PT_2_X 39
1050
-  #define UBL_PROBE_PT_2_Y 20
1051
-  #define UBL_PROBE_PT_3_X 180
1052
-  #define UBL_PROBE_PT_3_Y 20
1053
-
1054 1035
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1055 1036
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1056 1037
 
@@ -1072,6 +1053,19 @@
1072 1053
 #endif // BED_LEVELING
1073 1054
 
1074 1055
 /**
1056
+ * Points to probe for all 3-point Leveling procedures.
1057
+ * Override if the automatically selected points are inadequate.
1058
+ */
1059
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1060
+  //#define PROBE_PT_1_X 15
1061
+  //#define PROBE_PT_1_Y 180
1062
+  //#define PROBE_PT_2_X 15
1063
+  //#define PROBE_PT_2_Y 20
1064
+  //#define PROBE_PT_3_X 170
1065
+  //#define PROBE_PT_3_Y 20
1066
+#endif
1067
+
1068
+/**
1075 1069
  * Use the LCD controller for bed leveling
1076 1070
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1077 1071
  */

+ 17
- 23
Marlin/src/config/examples/Velleman/K8400/Configuration.h View File

@@ -963,12 +963,11 @@
963 963
   #define GRID_MAX_POINTS_X 3
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966
-
967 966
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION 15
969
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
970
-  #define FRONT_PROBE_BED_POSITION 15
971
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
967
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
969
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
970
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 17
- 23
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h View File

@@ -963,12 +963,11 @@
963 963
   #define GRID_MAX_POINTS_X 3
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966
-
967 966
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION 15
969
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
970
-  #define FRONT_PROBE_BED_POSITION 15
971
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
967
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
969
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
970
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 17
- 26
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h View File

@@ -973,12 +973,11 @@
973 973
   #define GRID_MAX_POINTS_X 3
974 974
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
975 975
 
976
-
977 976
   // Set the boundaries for probing (where the probe can reach).
978
-  #define LEFT_PROBE_BED_POSITION 15
979
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
980
-  #define FRONT_PROBE_BED_POSITION 15
981
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
977
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
978
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
979
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
980
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
982 981
 
983 982
   // Probe along the Y axis, advancing X after each column
984 983
   //#define PROBE_Y_FIRST
@@ -1001,17 +1000,6 @@
1001 1000
 
1002 1001
   #endif
1003 1002
 
1004
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1005
-
1006
-  // 3 arbitrary points to probe.
1007
-  // A simple cross-product is used to estimate the plane of the bed.
1008
-  #define ABL_PROBE_PT_1_X 15
1009
-  #define ABL_PROBE_PT_1_Y 180
1010
-  #define ABL_PROBE_PT_2_X 15
1011
-  #define ABL_PROBE_PT_2_Y 20
1012
-  #define ABL_PROBE_PT_3_X 170
1013
-  #define ABL_PROBE_PT_3_Y 20
1014
-
1015 1003
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1016 1004
 
1017 1005
   //===========================================================================
@@ -1024,19 +1012,9 @@
1024 1012
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1025 1013
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1026 1014
 
1027
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1028
-  #define UBL_PROBE_PT_1_Y 180
1029
-  #define UBL_PROBE_PT_2_X 39
1030
-  #define UBL_PROBE_PT_2_Y 20
1031
-  #define UBL_PROBE_PT_3_X 180
1032
-  #define UBL_PROBE_PT_3_Y 20
1033
-
1034 1015
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1035 1016
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1036 1017
 
1037
-  //#define UBL_Z_RAISE_WHEN_OFF_MESH 2.5 // When the nozzle is off the mesh, this value is used
1038
-                                          // as the Z-Height correction value.
1039
-
1040 1018
 #elif ENABLED(MESH_BED_LEVELING)
1041 1019
 
1042 1020
   //===========================================================================
@@ -1052,6 +1030,19 @@
1052 1030
 #endif // BED_LEVELING
1053 1031
 
1054 1032
 /**
1033
+ * Points to probe for all 3-point Leveling procedures.
1034
+ * Override if the automatically selected points are inadequate.
1035
+ */
1036
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1037
+  //#define PROBE_PT_1_X 15
1038
+  //#define PROBE_PT_1_Y 180
1039
+  //#define PROBE_PT_2_X 15
1040
+  //#define PROBE_PT_2_Y 20
1041
+  //#define PROBE_PT_3_X 170
1042
+  //#define PROBE_PT_3_Y 20
1043
+#endif
1044
+
1045
+/**
1055 1046
  * Use the LCD controller for bed leveling
1056 1047
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1057 1048
  */

+ 17
- 23
Marlin/src/config/examples/adafruit/ST7565/Configuration.h View File

@@ -963,12 +963,11 @@
963 963
   #define GRID_MAX_POINTS_X 3
964 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965 965
 
966
-
967 966
   // Set the boundaries for probing (where the probe can reach).
968
-  #define LEFT_PROBE_BED_POSITION 15
969
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
970
-  #define FRONT_PROBE_BED_POSITION 15
971
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
967
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
968
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
969
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
970
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
972 971
 
973 972
   // Probe along the Y axis, advancing X after each column
974 973
   //#define PROBE_Y_FIRST
@@ -991,17 +990,6 @@
991 990
 
992 991
   #endif
993 992
 
994
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
995
-
996
-  // 3 arbitrary points to probe.
997
-  // A simple cross-product is used to estimate the plane of the bed.
998
-  #define ABL_PROBE_PT_1_X 15
999
-  #define ABL_PROBE_PT_1_Y 180
1000
-  #define ABL_PROBE_PT_2_X 15
1001
-  #define ABL_PROBE_PT_2_Y 20
1002
-  #define ABL_PROBE_PT_3_X 170
1003
-  #define ABL_PROBE_PT_3_Y 20
1004
-
1005 993
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1006 994
 
1007 995
   //===========================================================================
@@ -1014,13 +1002,6 @@
1014 1002
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1015 1003
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1016 1004
 
1017
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1018
-  #define UBL_PROBE_PT_1_Y 180
1019
-  #define UBL_PROBE_PT_2_X 39
1020
-  #define UBL_PROBE_PT_2_Y 20
1021
-  #define UBL_PROBE_PT_3_X 180
1022
-  #define UBL_PROBE_PT_3_Y 20
1023
-
1024 1005
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1025 1006
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1026 1007
 
@@ -1042,6 +1023,19 @@
1042 1023
 #endif // BED_LEVELING
1043 1024
 
1044 1025
 /**
1026
+ * Points to probe for all 3-point Leveling procedures.
1027
+ * Override if the automatically selected points are inadequate.
1028
+ */
1029
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1030
+  //#define PROBE_PT_1_X 15
1031
+  //#define PROBE_PT_1_Y 180
1032
+  //#define PROBE_PT_2_X 15
1033
+  //#define PROBE_PT_2_Y 20
1034
+  //#define PROBE_PT_3_X 170
1035
+  //#define PROBE_PT_3_Y 20
1036
+#endif
1037
+
1038
+/**
1045 1039
  * Use the LCD controller for bed leveling
1046 1040
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1047 1041
  */

+ 29
- 19
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h View File

@@ -1095,11 +1095,10 @@
1095 1095
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1096 1096
 
1097 1097
   // Set the boundaries for probing (where the probe can reach).
1098
-  #define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 15)
1099
-  #define LEFT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1100
-  #define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1101
-  #define FRONT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1102
-  #define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1098
+  //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS - MIN_PROBE_EDGE)
1099
+  //#define RIGHT_PROBE_BED_POSITION (DELTA_PRINTABLE_RADIUS - MIN_PROBE_EDGE)
1100
+  //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS - MIN_PROBE_EDGE)
1101
+  //#define BACK_PROBE_BED_POSITION (DELTA_PRINTABLE_RADIUS - MIN_PROBE_EDGE)
1103 1102
 
1104 1103
   // Probe along the Y axis, advancing X after each column
1105 1104
   //#define PROBE_Y_FIRST
@@ -1126,12 +1125,12 @@
1126 1125
 
1127 1126
   // 3 arbitrary points to probe.
1128 1127
   // A simple cross-product is used to estimate the plane of the bed.
1129
-  #define ABL_PROBE_PT_1_X 15
1130
-  #define ABL_PROBE_PT_1_Y 180
1131
-  #define ABL_PROBE_PT_2_X 15
1132
-  #define ABL_PROBE_PT_2_Y 20
1133
-  #define ABL_PROBE_PT_3_X 170
1134
-  #define ABL_PROBE_PT_3_Y 20
1128
+  //#define PROBE_PT_1_X 15
1129
+  //#define PROBE_PT_1_Y 180
1130
+  //#define PROBE_PT_2_X 15
1131
+  //#define PROBE_PT_2_Y 20
1132
+  //#define PROBE_PT_3_X 170
1133
+  //#define PROBE_PT_3_Y 20
1135 1134
 
1136 1135
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1137 1136
 
@@ -1145,14 +1144,12 @@
1145 1144
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1146 1145
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1147 1146
 
1148
-  #define _PX(R,A) (R) * cos(RADIANS(A))
1149
-  #define _PY(R,A) (R) * sin(RADIANS(A))
1150
-  #define UBL_PROBE_PT_1_X _PX(DELTA_PROBEABLE_RADIUS, 0)   // Probing points for 3-Point leveling of the mesh
1151
-  #define UBL_PROBE_PT_1_Y _PY(DELTA_PROBEABLE_RADIUS, 0)
1152
-  #define UBL_PROBE_PT_2_X _PX(DELTA_PROBEABLE_RADIUS, 120)
1153
-  #define UBL_PROBE_PT_2_Y _PY(DELTA_PROBEABLE_RADIUS, 120)
1154
-  #define UBL_PROBE_PT_3_X _PX(DELTA_PROBEABLE_RADIUS, 240)
1155
-  #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1147
+  //#define PROBE_PT_1_X 15
1148
+  //#define PROBE_PT_1_Y 180
1149
+  //#define PROBE_PT_2_X 15
1150
+  //#define PROBE_PT_2_Y 20
1151
+  //#define PROBE_PT_3_X 170
1152
+  //#define PROBE_PT_3_Y 20
1156 1153
 
1157 1154
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1158 1155
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
@@ -1175,6 +1172,19 @@
1175 1172
 #endif // BED_LEVELING
1176 1173
 
1177 1174
 /**
1175
+ * Points to probe for all 3-point Leveling procedures.
1176
+ * Override if the automatically selected points are inadequate.
1177
+ */
1178
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1179
+  //#define PROBE_PT_1_X 15
1180
+  //#define PROBE_PT_1_Y 180
1181
+  //#define PROBE_PT_2_X 15
1182
+  //#define PROBE_PT_2_Y 20
1183
+  //#define PROBE_PT_3_X 170
1184
+  //#define PROBE_PT_3_Y 20
1185
+#endif
1186
+
1187
+/**
1178 1188
  * Use the LCD controller for bed leveling
1179 1189
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1180 1190
  */

+ 17
- 25
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h View File

@@ -1095,11 +1095,10 @@
1095 1095
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1096 1096
 
1097 1097
   // Set the boundaries for probing (where the probe can reach).
1098
-  #define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 15)
1099
-  #define LEFT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1100
-  #define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1101
-  #define FRONT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1102
-  #define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1098
+  //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS - MIN_PROBE_EDGE)
1099
+  //#define RIGHT_PROBE_BED_POSITION (DELTA_PRINTABLE_RADIUS - MIN_PROBE_EDGE)
1100
+  //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS - MIN_PROBE_EDGE)
1101
+  //#define BACK_PROBE_BED_POSITION (DELTA_PRINTABLE_RADIUS - MIN_PROBE_EDGE)
1103 1102
 
1104 1103
   // Probe along the Y axis, advancing X after each column
1105 1104
   //#define PROBE_Y_FIRST
@@ -1122,17 +1121,6 @@
1122 1121
 
1123 1122
   #endif
1124 1123
 
1125
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1126
-
1127
-  // 3 arbitrary points to probe.
1128
-  // A simple cross-product is used to estimate the plane of the bed.
1129
-  #define ABL_PROBE_PT_1_X 15
1130
-  #define ABL_PROBE_PT_1_Y 180
1131
-  #define ABL_PROBE_PT_2_X 15
1132
-  #define ABL_PROBE_PT_2_Y 20
1133
-  #define ABL_PROBE_PT_3_X 170
1134
-  #define ABL_PROBE_PT_3_Y 20
1135
-
1136 1124
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1137 1125
 
1138 1126
   //===========================================================================
@@ -1145,15 +1133,6 @@
1145 1133
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1146 1134
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1147 1135
 
1148
-  #define _PX(R,A) (R) * cos(RADIANS(A))
1149
-  #define _PY(R,A) (R) * sin(RADIANS(A))
1150
-  #define UBL_PROBE_PT_1_X _PX(DELTA_PROBEABLE_RADIUS, 0)   // Probing points for 3-Point leveling of the mesh
1151
-  #define UBL_PROBE_PT_1_Y _PY(DELTA_PROBEABLE_RADIUS, 0)
1152
-  #define UBL_PROBE_PT_2_X _PX(DELTA_PROBEABLE_RADIUS, 120)
1153
-  #define UBL_PROBE_PT_2_Y _PY(DELTA_PROBEABLE_RADIUS, 120)
1154
-  #define UBL_PROBE_PT_3_X _PX(DELTA_PROBEABLE_RADIUS, 240)
1155
-  #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1156
-
1157 1136
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1158 1137
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1159 1138
 
@@ -1175,6 +1154,19 @@
1175 1154
 #endif // BED_LEVELING
1176 1155
 
1177 1156
 /**
1157
+ * Points to probe for all 3-point Leveling procedures.
1158
+ * Override if the automatically selected points are inadequate.
1159
+ */
1160
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1161
+  //#define PROBE_PT_1_X 15
1162
+  //#define PROBE_PT_1_Y 180
1163
+  //#define PROBE_PT_2_X 15
1164
+  //#define PROBE_PT_2_Y 20
1165
+  //#define PROBE_PT_3_X 170
1166
+  //#define PROBE_PT_3_Y 20
1167
+#endif
1168
+
1169
+/**
1178 1170
  * Use the LCD controller for bed leveling
1179 1171
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1180 1172
  */

+ 17
- 26
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h View File

@@ -1093,13 +1093,11 @@
1093 1093
   #define GRID_MAX_POINTS_X 9
1094 1094
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1095 1095
 
1096
-
1097 1096
   // Set the boundaries for probing (where the probe can reach).
1098
-  #define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 15)
1099
-  #define LEFT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1100
-  #define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1101
-  #define FRONT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1102
-  #define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1097
+  //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS - MIN_PROBE_EDGE)
1098
+  //#define RIGHT_PROBE_BED_POSITION (DELTA_PRINTABLE_RADIUS - MIN_PROBE_EDGE)
1099
+  //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS - MIN_PROBE_EDGE)
1100
+  //#define BACK_PROBE_BED_POSITION (DELTA_PRINTABLE_RADIUS - MIN_PROBE_EDGE)
1103 1101
 
1104 1102
   // Probe along the Y axis, advancing X after each column
1105 1103
   //#define PROBE_Y_FIRST
@@ -1122,17 +1120,6 @@
1122 1120
 
1123 1121
   #endif
1124 1122
 
1125
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1126
-
1127
-  // 3 arbitrary points to probe.
1128
-  // A simple cross-product is used to estimate the plane of the bed.
1129
-  #define ABL_PROBE_PT_1_X 15
1130
-  #define ABL_PROBE_PT_1_Y 180
1131
-  #define ABL_PROBE_PT_2_X 15
1132
-  #define ABL_PROBE_PT_2_Y 20
1133
-  #define ABL_PROBE_PT_3_X 170
1134
-  #define ABL_PROBE_PT_3_Y 20
1135
-
1136 1123
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1137 1124
 
1138 1125
   //===========================================================================
@@ -1145,15 +1132,6 @@
1145 1132
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1146 1133
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1147 1134
 
1148
-  #define _PX(R,A) (R) * cos(RADIANS(A))
1149
-  #define _PY(R,A) (R) * sin(RADIANS(A))
1150
-  #define UBL_PROBE_PT_1_X _PX(DELTA_PROBEABLE_RADIUS, 0)   // Probing points for 3-Point leveling of the mesh
1151
-  #define UBL_PROBE_PT_1_Y _PY(DELTA_PROBEABLE_RADIUS, 0)
1152
-  #define UBL_PROBE_PT_2_X _PX(DELTA_PROBEABLE_RADIUS, 120)
1153
-  #define UBL_PROBE_PT_2_Y _PY(DELTA_PROBEABLE_RADIUS, 120)
1154
-  #define UBL_PROBE_PT_3_X _PX(DELTA_PROBEABLE_RADIUS, 240)
1155
-  #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1156
-
1157 1135
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1158 1136
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1159 1137
 
@@ -1175,6 +1153,19 @@
1175 1153
 #endif // BED_LEVELING
1176 1154
 
1177 1155
 /**
1156
+ * Points to probe for all 3-point Leveling procedures.
1157
+ * Override if the automatically selected points are inadequate.
1158
+ */
1159
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1160
+  //#define PROBE_PT_1_X 15
1161
+  //#define PROBE_PT_1_Y 180
1162
+  //#define PROBE_PT_2_X 15
1163
+  //#define PROBE_PT_2_Y 20
1164
+  //#define PROBE_PT_3_X 170
1165
+  //#define PROBE_PT_3_Y 20
1166
+#endif
1167
+
1168
+/**
1178 1169
  * Use the LCD controller for bed leveling
1179 1170
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1180 1171
  */

+ 24
- 23
Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h View File

@@ -1087,9 +1087,6 @@
1087 1087
     #define MESH_TEST_BED_TEMP      60.0  // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1088 1088
   #endif
1089 1089
 
1090
-  // Set the boundaries for probing (where the probe can reach).
1091
-  #define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
1092
-
1093 1090
 #endif
1094 1091
 
1095 1092
 #if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
@@ -1099,11 +1096,11 @@
1099 1096
   #define GRID_MAX_POINTS_X 9
1100 1097
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1101 1098
 
1102
-
1103
-  #define LEFT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1104
-  #define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1105
-  #define FRONT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1106
-  #define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1099
+  // Set the boundaries for probing (where the probe can reach).
1100
+  //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE))
1101
+  //#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)
1102
+  //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE))
1103
+  //#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)
1107 1104
 
1108 1105
   // Probe along the Y axis, advancing X after each column
1109 1106
   //#define PROBE_Y_FIRST
@@ -1130,12 +1127,12 @@
1130 1127
 
1131 1128
   // 3 arbitrary points to probe.
1132 1129
   // A simple cross-product is used to estimate the plane of the bed.
1133
-  #define ABL_PROBE_PT_1_X -116
1134
-  #define ABL_PROBE_PT_1_Y -67.5
1135
-  #define ABL_PROBE_PT_2_X 116
1136
-  #define ABL_PROBE_PT_2_Y -67.5
1137
-  #define ABL_PROBE_PT_3_X 0
1138
-  #define ABL_PROBE_PT_3_Y 135
1130
+  #define PROBE_PT_1_X -116
1131
+  #define PROBE_PT_1_Y -67.5
1132
+  #define PROBE_PT_2_X 116
1133
+  #define PROBE_PT_2_Y -67.5
1134
+  #define PROBE_PT_3_X 0
1135
+  #define PROBE_PT_3_Y 135
1139 1136
 
1140 1137
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1141 1138
 
@@ -1149,15 +1146,6 @@
1149 1146
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1150 1147
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1151 1148
 
1152
-  #define _PX(R,A) (R) * cos(RADIANS(A))
1153
-  #define _PY(R,A) (R) * sin(RADIANS(A))
1154
-  #define UBL_PROBE_PT_1_X _PX(DELTA_PROBEABLE_RADIUS, 0)   // Probing points for 3-Point leveling of the mesh
1155
-  #define UBL_PROBE_PT_1_Y _PY(DELTA_PROBEABLE_RADIUS, 0)
1156
-  #define UBL_PROBE_PT_2_X _PX(DELTA_PROBEABLE_RADIUS, 120)
1157
-  #define UBL_PROBE_PT_2_Y _PY(DELTA_PROBEABLE_RADIUS, 120)
1158
-  #define UBL_PROBE_PT_3_X _PX(DELTA_PROBEABLE_RADIUS, 240)
1159
-  #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1160
-
1161 1149
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1162 1150
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1163 1151
 
@@ -1179,6 +1167,19 @@
1179 1167
 #endif // BED_LEVELING
1180 1168
 
1181 1169
 /**
1170
+ * Points to probe for all 3-point Leveling procedures.
1171
+ * Override if the automatically selected points are inadequate.
1172
+ */
1173
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1174
+  //#define PROBE_PT_1_X 15
1175
+  //#define PROBE_PT_1_Y 180
1176
+  //#define PROBE_PT_2_X 15
1177
+  //#define PROBE_PT_2_Y 20
1178
+  //#define PROBE_PT_3_X 170
1179
+  //#define PROBE_PT_3_Y 20
1180
+#endif
1181
+
1182
+/**
1182 1183
  * Use the LCD controller for bed leveling
1183 1184
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1184 1185
  */

+ 18
- 28
Marlin/src/config/examples/delta/generic/Configuration.h View File

@@ -1072,9 +1072,6 @@
1072 1072
     #define MESH_TEST_BED_TEMP      60.0  // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1073 1073
   #endif
1074 1074
 
1075
-  // Set the boundaries for probing (where the probe can reach).
1076
-  #define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
1077
-
1078 1075
 #endif
1079 1076
 
1080 1077
 #if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
@@ -1084,11 +1081,11 @@
1084 1081
   #define GRID_MAX_POINTS_X 9
1085 1082
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1086 1083
 
1087
-
1088
-  #define LEFT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1089
-  #define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1090
-  #define FRONT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1091
-  #define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1084
+  // Set the boundaries for probing (where the probe can reach).
1085
+  //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE))
1086
+  //#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)
1087
+  //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE))
1088
+  //#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)
1092 1089
 
1093 1090
   // Probe along the Y axis, advancing X after each column
1094 1091
   //#define PROBE_Y_FIRST
@@ -1111,17 +1108,6 @@
1111 1108
 
1112 1109
   #endif
1113 1110
 
1114
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1115
-
1116
-  // 3 arbitrary points to probe.
1117
-  // A simple cross-product is used to estimate the plane of the bed.
1118
-  #define ABL_PROBE_PT_1_X 15
1119
-  #define ABL_PROBE_PT_1_Y 180
1120
-  #define ABL_PROBE_PT_2_X 15
1121
-  #define ABL_PROBE_PT_2_Y 20
1122
-  #define ABL_PROBE_PT_3_X 170
1123
-  #define ABL_PROBE_PT_3_Y 20
1124
-
1125 1111
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1126 1112
 
1127 1113
   //===========================================================================
@@ -1134,15 +1120,6 @@
1134 1120
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1135 1121
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1136 1122
 
1137
-  #define _PX(R,A) (R) * cos(RADIANS(A))
1138
-  #define _PY(R,A) (R) * sin(RADIANS(A))
1139
-  #define UBL_PROBE_PT_1_X _PX(DELTA_PROBEABLE_RADIUS, 0)   // Probing points for 3-Point leveling of the mesh
1140
-  #define UBL_PROBE_PT_1_Y _PY(DELTA_PROBEABLE_RADIUS, 0)
1141
-  #define UBL_PROBE_PT_2_X _PX(DELTA_PROBEABLE_RADIUS, 120)
1142
-  #define UBL_PROBE_PT_2_Y _PY(DELTA_PROBEABLE_RADIUS, 120)
1143
-  #define UBL_PROBE_PT_3_X _PX(DELTA_PROBEABLE_RADIUS, 240)
1144
-  #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1145
-
1146 1123
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1147 1124
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1148 1125
 
@@ -1164,6 +1141,19 @@
1164 1141
 #endif // BED_LEVELING
1165 1142
 
1166 1143
 /**
1144
+ * Points to probe for all 3-point Leveling procedures.
1145
+ * Override if the automatically selected points are inadequate.
1146
+ */
1147
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1148
+  //#define PROBE_PT_1_X 15
1149
+  //#define PROBE_PT_1_Y 180
1150
+  //#define PROBE_PT_2_X 15
1151
+  //#define PROBE_PT_2_Y 20
1152
+  //#define PROBE_PT_3_X 170
1153
+  //#define PROBE_PT_3_Y 20
1154
+#endif
1155
+
1156
+/**
1167 1157
  * Use the LCD controller for bed leveling
1168 1158
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1169 1159
  */

+ 18
- 28
Marlin/src/config/examples/delta/kossel_mini/Configuration.h View File

@@ -1075,9 +1075,6 @@
1075 1075
     #define MESH_TEST_BED_TEMP      60.0  // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1076 1076
   #endif
1077 1077
 
1078
-  // Set the boundaries for probing (where the probe can reach).
1079
-  #define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
1080
-
1081 1078
 #endif
1082 1079
 
1083 1080
 #if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
@@ -1087,11 +1084,11 @@
1087 1084
   #define GRID_MAX_POINTS_X 9
1088 1085
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1089 1086
 
1090
-
1091
-  #define LEFT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1092
-  #define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1093
-  #define FRONT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1094
-  #define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1087
+  // Set the boundaries for probing (where the probe can reach).
1088
+  //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE))
1089
+  //#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)
1090
+  //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE))
1091
+  //#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)
1095 1092
 
1096 1093
   // Probe along the Y axis, advancing X after each column
1097 1094
   //#define PROBE_Y_FIRST
@@ -1114,17 +1111,6 @@
1114 1111
 
1115 1112
   #endif
1116 1113
 
1117
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1118
-
1119
-  // 3 arbitrary points to probe.
1120
-  // A simple cross-product is used to estimate the plane of the bed.
1121
-  #define ABL_PROBE_PT_1_X 15
1122
-  #define ABL_PROBE_PT_1_Y 180
1123
-  #define ABL_PROBE_PT_2_X 15
1124
-  #define ABL_PROBE_PT_2_Y 20
1125
-  #define ABL_PROBE_PT_3_X 170
1126
-  #define ABL_PROBE_PT_3_Y 20
1127
-
1128 1114
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1129 1115
 
1130 1116
   //===========================================================================
@@ -1137,15 +1123,6 @@
1137 1123
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1138 1124
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1139 1125
 
1140
-  #define _PX(R,A) (R) * cos(RADIANS(A))
1141
-  #define _PY(R,A) (R) * sin(RADIANS(A))
1142
-  #define UBL_PROBE_PT_1_X _PX(DELTA_PROBEABLE_RADIUS, 0)   // Probing points for 3-Point leveling of the mesh
1143
-  #define UBL_PROBE_PT_1_Y _PY(DELTA_PROBEABLE_RADIUS, 0)
1144
-  #define UBL_PROBE_PT_2_X _PX(DELTA_PROBEABLE_RADIUS, 120)
1145
-  #define UBL_PROBE_PT_2_Y _PY(DELTA_PROBEABLE_RADIUS, 120)
1146
-  #define UBL_PROBE_PT_3_X _PX(DELTA_PROBEABLE_RADIUS, 240)
1147
-  #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1148
-
1149 1126
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1150 1127
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1151 1128
 
@@ -1167,6 +1144,19 @@
1167 1144
 #endif // BED_LEVELING
1168 1145
 
1169 1146
 /**
1147
+ * Points to probe for all 3-point Leveling procedures.
1148
+ * Override if the automatically selected points are inadequate.
1149
+ */
1150
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1151
+  //#define PROBE_PT_1_X 15
1152
+  //#define PROBE_PT_1_Y 180
1153
+  //#define PROBE_PT_2_X 15
1154
+  //#define PROBE_PT_2_Y 20
1155
+  //#define PROBE_PT_3_X 170
1156
+  //#define PROBE_PT_3_Y 20
1157
+#endif
1158
+
1159
+/**
1170 1160
  * Use the LCD controller for bed leveling
1171 1161
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1172 1162
  */

+ 20
- 30
Marlin/src/config/examples/delta/kossel_pro/Configuration.h View File

@@ -684,7 +684,7 @@
684 684
  *
685 685
  * Enable this option for a probe connected to the Z Min endstop pin.
686 686
  */
687
-//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
687
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
688 688
 
689 689
 /**
690 690
  * Z_MIN_PROBE_ENDSTOP
@@ -705,7 +705,7 @@
705 705
  * disastrous consequences. Use with caution and do your homework.
706 706
  *
707 707
  */
708
-#define Z_MIN_PROBE_ENDSTOP
708
+//#define Z_MIN_PROBE_ENDSTOP
709 709
 
710 710
 /**
711 711
  * Probe Type
@@ -1075,9 +1075,6 @@
1075 1075
     #define MESH_TEST_BED_TEMP      60.0  // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1076 1076
   #endif
1077 1077
 
1078
-  // Set the boundaries for probing (where the probe can reach).
1079
-  #define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
1080
-
1081 1078
 #endif
1082 1079
 
1083 1080
 #if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
@@ -1087,11 +1084,11 @@
1087 1084
   #define GRID_MAX_POINTS_X 7
1088 1085
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1089 1086
 
1090
-
1091
-  #define LEFT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1092
-  #define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1093
-  #define FRONT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1094
-  #define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1087
+  // Set the boundaries for probing (where the probe can reach).
1088
+  //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE))
1089
+  //#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)
1090
+  //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE))
1091
+  //#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)
1095 1092
 
1096 1093
   // Probe along the Y axis, advancing X after each column
1097 1094
   //#define PROBE_Y_FIRST
@@ -1114,17 +1111,6 @@
1114 1111
 
1115 1112
   #endif
1116 1113
 
1117
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1118
-
1119
-  // 3 arbitrary points to probe.
1120
-  // A simple cross-product is used to estimate the plane of the bed.
1121
-  #define ABL_PROBE_PT_1_X 15
1122
-  #define ABL_PROBE_PT_1_Y 180
1123
-  #define ABL_PROBE_PT_2_X 15
1124
-  #define ABL_PROBE_PT_2_Y 20
1125
-  #define ABL_PROBE_PT_3_X 170
1126
-  #define ABL_PROBE_PT_3_Y 20
1127
-
1128 1114
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1129 1115
 
1130 1116
   //===========================================================================
@@ -1137,15 +1123,6 @@
1137 1123
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1138 1124
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1139 1125
 
1140
-  #define _PX(R,A) (R) * cos(RADIANS(A))
1141
-  #define _PY(R,A) (R) * sin(RADIANS(A))
1142
-  #define UBL_PROBE_PT_1_X _PX(DELTA_PROBEABLE_RADIUS, 0)   // Probing points for 3-Point leveling of the mesh
1143
-  #define UBL_PROBE_PT_1_Y _PY(DELTA_PROBEABLE_RADIUS, 0)
1144
-  #define UBL_PROBE_PT_2_X _PX(DELTA_PROBEABLE_RADIUS, 120)
1145
-  #define UBL_PROBE_PT_2_Y _PY(DELTA_PROBEABLE_RADIUS, 120)
1146
-  #define UBL_PROBE_PT_3_X _PX(DELTA_PROBEABLE_RADIUS, 240)
1147
-  #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1148
-
1149 1126
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1150 1127
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1151 1128
 
@@ -1167,6 +1144,19 @@
1167 1144
 #endif // BED_LEVELING
1168 1145
 
1169 1146
 /**
1147
+ * Points to probe for all 3-point Leveling procedures.
1148
+ * Override if the automatically selected points are inadequate.
1149
+ */
1150
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1151
+  //#define PROBE_PT_1_X 15
1152
+  //#define PROBE_PT_1_Y 180
1153
+  //#define PROBE_PT_2_X 15
1154
+  //#define PROBE_PT_2_Y 20
1155
+  //#define PROBE_PT_3_X 170
1156
+  //#define PROBE_PT_3_Y 20
1157
+#endif
1158
+
1159
+/**
1170 1160
  * Use the LCD controller for bed leveling
1171 1161
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1172 1162
  */

+ 18
- 28
Marlin/src/config/examples/delta/kossel_xl/Configuration.h View File

@@ -1084,9 +1084,6 @@
1084 1084
     #define MESH_TEST_BED_TEMP      60.0  // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1085 1085
   #endif
1086 1086
 
1087
-  // Set the boundaries for probing (where the probe can reach).
1088
-  #define DELTA_PROBEABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10)
1089
-
1090 1087
 #endif
1091 1088
 
1092 1089
 #if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
@@ -1096,11 +1093,11 @@
1096 1093
   #define GRID_MAX_POINTS_X 5
1097 1094
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1098 1095
 
1099
-
1100
-  #define LEFT_PROBE_BED_POSITION -(DELTA_PROBEABLE_RADIUS)
1101
-  #define RIGHT_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS
1102
-  #define FRONT_PROBE_BED_POSITION - (DELTA_PROBEABLE_RADIUS - 20)
1103
-  #define BACK_PROBE_BED_POSITION DELTA_PROBEABLE_RADIUS - 40
1096
+  // Set the boundaries for probing (where the probe can reach).
1097
+  //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS + MIN_PROBE_EDGE)
1098
+  //#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE)
1099
+  //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS + MIN_PROBE_EDGE)
1100
+  //#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE)
1104 1101
 
1105 1102
   // Probe along the Y axis, advancing X after each column
1106 1103
   //#define PROBE_Y_FIRST
@@ -1123,17 +1120,6 @@
1123 1120
 
1124 1121
   #endif
1125 1122
 
1126
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1127
-
1128
-  // 3 arbitrary points to probe.
1129
-  // A simple cross-product is used to estimate the plane of the bed.
1130
-  #define ABL_PROBE_PT_1_X 15
1131
-  #define ABL_PROBE_PT_1_Y 180
1132
-  #define ABL_PROBE_PT_2_X 15
1133
-  #define ABL_PROBE_PT_2_Y 20
1134
-  #define ABL_PROBE_PT_3_X 170
1135
-  #define ABL_PROBE_PT_3_Y 20
1136
-
1137 1123
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1138 1124
 
1139 1125
   //===========================================================================
@@ -1146,15 +1132,6 @@
1146 1132
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1147 1133
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1148 1134
 
1149
-  #define _PX(R,A) (R) * cos(RADIANS(A))
1150
-  #define _PY(R,A) (R) * sin(RADIANS(A))
1151
-  #define UBL_PROBE_PT_1_X _PX(DELTA_PROBEABLE_RADIUS, 0)   // Probing points for 3-Point leveling of the mesh
1152
-  #define UBL_PROBE_PT_1_Y _PY(DELTA_PROBEABLE_RADIUS, 0)
1153
-  #define UBL_PROBE_PT_2_X _PX(DELTA_PROBEABLE_RADIUS, 120)
1154
-  #define UBL_PROBE_PT_2_Y _PY(DELTA_PROBEABLE_RADIUS, 120)
1155
-  #define UBL_PROBE_PT_3_X _PX(DELTA_PROBEABLE_RADIUS, 240)
1156
-  #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1157
-
1158 1135
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1159 1136
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1160 1137
 
@@ -1176,6 +1153,19 @@
1176 1153
 #endif // BED_LEVELING
1177 1154
 
1178 1155
 /**
1156
+ * Points to probe for all 3-point Leveling procedures.
1157
+ * Override if the automatically selected points are inadequate.
1158
+ */
1159
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1160
+  //#define PROBE_PT_1_X 15
1161
+  //#define PROBE_PT_1_Y 180
1162
+  //#define PROBE_PT_2_X 15
1163
+  //#define PROBE_PT_2_Y 20
1164
+  //#define PROBE_PT_3_X 170
1165
+  //#define PROBE_PT_3_Y 20
1166
+#endif
1167
+
1168
+/**
1179 1169
  * Use the LCD controller for bed leveling
1180 1170
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1181 1171
  */

+ 25
- 24
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h View File

@@ -977,12 +977,11 @@
977 977
   #define GRID_MAX_POINTS_X 3
978 978
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
979 979
 
980
-
981 980
   // Set the boundaries for probing (where the probe can reach).
982
-  #define LEFT_PROBE_BED_POSITION 15
983
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
984
-  #define FRONT_PROBE_BED_POSITION 15
985
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
981
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
982
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
983
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
984
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
986 985
 
987 986
   // Probe along the Y axis, advancing X after each column
988 987
   //#define PROBE_Y_FIRST
@@ -1005,17 +1004,6 @@
1005 1004
 
1006 1005
   #endif
1007 1006
 
1008
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1009
-
1010
-  // 3 arbitrary points to probe.
1011
-  // A simple cross-product is used to estimate the plane of the bed.
1012
-  #define ABL_PROBE_PT_1_X 15
1013
-  #define ABL_PROBE_PT_1_Y 180
1014
-  #define ABL_PROBE_PT_2_X 15
1015
-  #define ABL_PROBE_PT_2_Y 20
1016
-  #define ABL_PROBE_PT_3_X 170
1017
-  #define ABL_PROBE_PT_3_Y 20
1018
-
1019 1007
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1020 1008
 
1021 1009
   //===========================================================================
@@ -1028,12 +1016,12 @@
1028 1016
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1029 1017
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1030 1018
 
1031
-  #define UBL_PROBE_PT_1_X 53       // Probing points for 3-Point leveling of the mesh
1032
-  #define UBL_PROBE_PT_1_Y 323
1033
-  #define UBL_PROBE_PT_2_X 53
1034
-  #define UBL_PROBE_PT_2_Y 63
1035
-  #define UBL_PROBE_PT_3_X 348
1036
-  #define UBL_PROBE_PT_3_Y 211
1019
+  #define PROBE_PT_1_X 53       // Probing points for 3-Point leveling of the mesh
1020
+  #define PROBE_PT_1_Y 323
1021
+  #define PROBE_PT_2_X 53
1022
+  #define PROBE_PT_2_Y 63
1023
+  #define PROBE_PT_3_X 348
1024
+  #define PROBE_PT_3_Y 211
1037 1025
 
1038 1026
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1039 1027
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
@@ -1056,6 +1044,19 @@
1056 1044
 #endif // BED_LEVELING
1057 1045
 
1058 1046
 /**
1047
+ * Points to probe for all 3-point Leveling procedures.
1048
+ * Override if the automatically selected points are inadequate.
1049
+ */
1050
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1051
+  //#define PROBE_PT_1_X 15
1052
+  //#define PROBE_PT_1_Y 180
1053
+  //#define PROBE_PT_2_X 15
1054
+  //#define PROBE_PT_2_Y 20
1055
+  //#define PROBE_PT_3_X 170
1056
+  //#define PROBE_PT_3_Y 20
1057
+#endif
1058
+
1059
+/**
1059 1060
  * Use the LCD controller for bed leveling
1060 1061
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1061 1062
  */
@@ -1099,8 +1100,8 @@
1099 1100
 #define Z_SAFE_HOMING
1100 1101
 
1101 1102
 #if ENABLED(Z_SAFE_HOMING)
1102
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2 - 4) // X point for Z homing when homing all axes (G28).
1103
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2 + 4) // Y point for Z homing when homing all axes (G28).
1103
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2 - 8) // X point for Z homing when homing all axes (G28).
1104
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2 - 4) // Y point for Z homing when homing all axes (G28).
1104 1105
 #endif
1105 1106
 
1106 1107
 // Homing speeds (mm/m)

+ 17
- 23
Marlin/src/config/examples/makibox/Configuration.h View File

@@ -966,12 +966,11 @@
966 966
   #define GRID_MAX_POINTS_X 3
967 967
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
968 968
 
969
-
970 969
   // Set the boundaries for probing (where the probe can reach).
971
-  #define LEFT_PROBE_BED_POSITION 15
972
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
973
-  #define FRONT_PROBE_BED_POSITION 15
974
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
970
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
971
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
972
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
973
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
975 974
 
976 975
   // Probe along the Y axis, advancing X after each column
977 976
   //#define PROBE_Y_FIRST
@@ -994,17 +993,6 @@
994 993
 
995 994
   #endif
996 995
 
997
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
998
-
999
-  // 3 arbitrary points to probe.
1000
-  // A simple cross-product is used to estimate the plane of the bed.
1001
-  #define ABL_PROBE_PT_1_X 15
1002
-  #define ABL_PROBE_PT_1_Y 180
1003
-  #define ABL_PROBE_PT_2_X 15
1004
-  #define ABL_PROBE_PT_2_Y 20
1005
-  #define ABL_PROBE_PT_3_X 170
1006
-  #define ABL_PROBE_PT_3_Y 20
1007
-
1008 996
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1009 997
 
1010 998
   //===========================================================================
@@ -1017,13 +1005,6 @@
1017 1005
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1018 1006
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1019 1007
 
1020
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1021
-  #define UBL_PROBE_PT_1_Y 180
1022
-  #define UBL_PROBE_PT_2_X 39
1023
-  #define UBL_PROBE_PT_2_Y 20
1024
-  #define UBL_PROBE_PT_3_X 180
1025
-  #define UBL_PROBE_PT_3_Y 20
1026
-
1027 1008
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1028 1009
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1029 1010
 
@@ -1045,6 +1026,19 @@
1045 1026
 #endif // BED_LEVELING
1046 1027
 
1047 1028
 /**
1029
+ * Points to probe for all 3-point Leveling procedures.
1030
+ * Override if the automatically selected points are inadequate.
1031
+ */
1032
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1033
+  //#define PROBE_PT_1_X 15
1034
+  //#define PROBE_PT_1_Y 180
1035
+  //#define PROBE_PT_2_X 15
1036
+  //#define PROBE_PT_2_Y 20
1037
+  //#define PROBE_PT_3_X 170
1038
+  //#define PROBE_PT_3_Y 20
1039
+#endif
1040
+
1041
+/**
1048 1042
  * Use the LCD controller for bed leveling
1049 1043
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1050 1044
  */

+ 17
- 23
Marlin/src/config/examples/stm32f103ret6/Configuration.h View File

@@ -964,12 +964,11 @@
964 964
   #define GRID_MAX_POINTS_X 3
965 965
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
966 966
 
967
-
968 967
   // Set the boundaries for probing (where the probe can reach).
969
-  #define LEFT_PROBE_BED_POSITION 15
970
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
971
-  #define FRONT_PROBE_BED_POSITION 15
972
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
968
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
969
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
970
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
971
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
973 972
 
974 973
   // Probe along the Y axis, advancing X after each column
975 974
   //#define PROBE_Y_FIRST
@@ -992,17 +991,6 @@
992 991
 
993 992
   #endif
994 993
 
995
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
996
-
997
-  // 3 arbitrary points to probe.
998
-  // A simple cross-product is used to estimate the plane of the bed.
999
-  #define ABL_PROBE_PT_1_X 15
1000
-  #define ABL_PROBE_PT_1_Y 180
1001
-  #define ABL_PROBE_PT_2_X 15
1002
-  #define ABL_PROBE_PT_2_Y 20
1003
-  #define ABL_PROBE_PT_3_X 170
1004
-  #define ABL_PROBE_PT_3_Y 20
1005
-
1006 994
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1007 995
 
1008 996
   //===========================================================================
@@ -1015,13 +1003,6 @@
1015 1003
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1016 1004
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1017 1005
 
1018
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1019
-  #define UBL_PROBE_PT_1_Y 180
1020
-  #define UBL_PROBE_PT_2_X 39
1021
-  #define UBL_PROBE_PT_2_Y 20
1022
-  #define UBL_PROBE_PT_3_X 180
1023
-  #define UBL_PROBE_PT_3_Y 20
1024
-
1025 1006
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1026 1007
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1027 1008
 
@@ -1043,6 +1024,19 @@
1043 1024
 #endif // BED_LEVELING
1044 1025
 
1045 1026
 /**
1027
+ * Points to probe for all 3-point Leveling procedures.
1028
+ * Override if the automatically selected points are inadequate.
1029
+ */
1030
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1031
+  //#define PROBE_PT_1_X 15
1032
+  //#define PROBE_PT_1_Y 180
1033
+  //#define PROBE_PT_2_X 15
1034
+  //#define PROBE_PT_2_Y 20
1035
+  //#define PROBE_PT_3_X 170
1036
+  //#define PROBE_PT_3_Y 20
1037
+#endif
1038
+
1039
+/**
1046 1040
  * Use the LCD controller for bed leveling
1047 1041
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1048 1042
  */

+ 17
- 23
Marlin/src/config/examples/tvrrug/Round2/Configuration.h View File

@@ -958,12 +958,11 @@
958 958
   #define GRID_MAX_POINTS_X 3
959 959
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
960 960
 
961
-
962 961
   // Set the boundaries for probing (where the probe can reach).
963
-  #define LEFT_PROBE_BED_POSITION 15
964
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
965
-  #define FRONT_PROBE_BED_POSITION 15
966
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
962
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
963
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
964
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
965
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
967 966
 
968 967
   // Probe along the Y axis, advancing X after each column
969 968
   //#define PROBE_Y_FIRST
@@ -986,17 +985,6 @@
986 985
 
987 986
   #endif
988 987
 
989
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
990
-
991
-  // 3 arbitrary points to probe.
992
-  // A simple cross-product is used to estimate the plane of the bed.
993
-  #define ABL_PROBE_PT_1_X 15
994
-  #define ABL_PROBE_PT_1_Y 180
995
-  #define ABL_PROBE_PT_2_X 15
996
-  #define ABL_PROBE_PT_2_Y 20
997
-  #define ABL_PROBE_PT_3_X 170
998
-  #define ABL_PROBE_PT_3_Y 20
999
-
1000 988
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1001 989
 
1002 990
   //===========================================================================
@@ -1009,13 +997,6 @@
1009 997
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1010 998
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1011 999
 
1012
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1013
-  #define UBL_PROBE_PT_1_Y 180
1014
-  #define UBL_PROBE_PT_2_X 39
1015
-  #define UBL_PROBE_PT_2_Y 20
1016
-  #define UBL_PROBE_PT_3_X 180
1017
-  #define UBL_PROBE_PT_3_Y 20
1018
-
1019 1000
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1020 1001
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1021 1002
 
@@ -1037,6 +1018,19 @@
1037 1018
 #endif // BED_LEVELING
1038 1019
 
1039 1020
 /**
1021
+ * Points to probe for all 3-point Leveling procedures.
1022
+ * Override if the automatically selected points are inadequate.
1023
+ */
1024
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1025
+  //#define PROBE_PT_1_X 15
1026
+  //#define PROBE_PT_1_Y 180
1027
+  //#define PROBE_PT_2_X 15
1028
+  //#define PROBE_PT_2_Y 20
1029
+  //#define PROBE_PT_3_X 170
1030
+  //#define PROBE_PT_3_Y 20
1031
+#endif
1032
+
1033
+/**
1040 1034
  * Use the LCD controller for bed leveling
1041 1035
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1042 1036
  */

+ 20
- 26
Marlin/src/config/examples/wt150/Configuration.h View File

@@ -507,7 +507,7 @@
507 507
 #define USE_ZMAX_PLUG
508 508
 
509 509
 // Enable pullup for all endstops to prevent a floating state
510
-#define ENDSTOPPULLUPS
510
+//#define ENDSTOPPULLUPS
511 511
 #if DISABLED(ENDSTOPPULLUPS)
512 512
   // Disable ENDSTOPPULLUPS to set pullups individually
513 513
   //#define ENDSTOPPULLUP_XMAX
@@ -968,12 +968,11 @@
968 968
   #define GRID_MAX_POINTS_X 3
969 969
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
970 970
 
971
-
972 971
   // Set the boundaries for probing (where the probe can reach).
973
-  #define LEFT_PROBE_BED_POSITION 15
974
-  #define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
975
-  #define FRONT_PROBE_BED_POSITION 15
976
-  #define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
972
+  //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
973
+  //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
974
+  //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
975
+  //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
977 976
 
978 977
   // Probe along the Y axis, advancing X after each column
979 978
   //#define PROBE_Y_FIRST
@@ -996,17 +995,6 @@
996 995
 
997 996
   #endif
998 997
 
999
-#elif ENABLED(AUTO_BED_LEVELING_3POINT)
1000
-
1001
-  // 3 arbitrary points to probe.
1002
-  // A simple cross-product is used to estimate the plane of the bed.
1003
-  #define ABL_PROBE_PT_1_X 15
1004
-  #define ABL_PROBE_PT_1_Y 180
1005
-  #define ABL_PROBE_PT_2_X 15
1006
-  #define ABL_PROBE_PT_2_Y 20
1007
-  #define ABL_PROBE_PT_3_X 170
1008
-  #define ABL_PROBE_PT_3_Y 20
1009
-
1010 998
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
1011 999
 
1012 1000
   //===========================================================================
@@ -1019,13 +1007,6 @@
1019 1007
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1020 1008
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1021 1009
 
1022
-  #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh
1023
-  #define UBL_PROBE_PT_1_Y 180
1024
-  #define UBL_PROBE_PT_2_X 39
1025
-  #define UBL_PROBE_PT_2_Y 20
1026
-  #define UBL_PROBE_PT_3_X 180
1027
-  #define UBL_PROBE_PT_3_Y 20
1028
-
1029 1010
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1030 1011
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1031 1012
 
@@ -1047,6 +1028,19 @@
1047 1028
 #endif // BED_LEVELING
1048 1029
 
1049 1030
 /**
1031
+ * Points to probe for all 3-point Leveling procedures.
1032
+ * Override if the automatically selected points are inadequate.
1033
+ */
1034
+#if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL)
1035
+  //#define PROBE_PT_1_X 15
1036
+  //#define PROBE_PT_1_Y 180
1037
+  //#define PROBE_PT_2_X 15
1038
+  //#define PROBE_PT_2_Y 20
1039
+  //#define PROBE_PT_3_X 170
1040
+  //#define PROBE_PT_3_Y 20
1041
+#endif
1042
+
1043
+/**
1050 1044
  * Use the LCD controller for bed leveling
1051 1045
  * Requires MESH_BED_LEVELING or PROBE_MANUALLY
1052 1046
  */
@@ -1410,13 +1404,13 @@
1410 1404
 // This option overrides the default number of encoder pulses needed to
1411 1405
 // produce one step. Should be increased for high-resolution encoders.
1412 1406
 //
1413
-#define ENCODER_PULSES_PER_STEP 4
1407
+//#define ENCODER_PULSES_PER_STEP 4
1414 1408
 
1415 1409
 //
1416 1410
 // Use this option to override the number of step signals required to
1417 1411
 // move between next/prev menu items.
1418 1412
 //
1419
-#define ENCODER_STEPS_PER_MENU_ITEM 1
1413
+//#define ENCODER_STEPS_PER_MENU_ITEM 1
1420 1414
 
1421 1415
 /**
1422 1416
  * Encoder Direction Options

+ 15
- 15
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp View File

@@ -1519,46 +1519,46 @@
1519 1519
       incremental_LSF_reset(&lsf_results);
1520 1520
 
1521 1521
       if (do_3_pt_leveling) {
1522
-        measured_z = probe_pt(UBL_PROBE_PT_1_X, UBL_PROBE_PT_1_Y, false, g29_verbose_level);
1522
+        measured_z = probe_pt(PROBE_PT_1_X, PROBE_PT_1_Y, false, g29_verbose_level);
1523 1523
         if (isnan(measured_z))
1524 1524
           abort_flag = true;
1525 1525
         else {
1526
-          measured_z -= get_z_correction(UBL_PROBE_PT_1_X, UBL_PROBE_PT_1_Y);
1526
+          measured_z -= get_z_correction(PROBE_PT_1_X, PROBE_PT_1_Y);
1527 1527
           //z1 = measured_z;
1528 1528
           if (g29_verbose_level > 3) {
1529 1529
             serial_spaces(16);
1530 1530
             SERIAL_ECHOLNPAIR("Corrected_Z=", measured_z);
1531 1531
           }
1532
-          incremental_LSF(&lsf_results, UBL_PROBE_PT_1_X, UBL_PROBE_PT_1_Y, measured_z);
1532
+          incremental_LSF(&lsf_results, PROBE_PT_1_X, PROBE_PT_1_Y, measured_z);
1533 1533
         }
1534 1534
 
1535 1535
         if (!abort_flag) {
1536
-          measured_z = probe_pt(UBL_PROBE_PT_2_X, UBL_PROBE_PT_2_Y, false, g29_verbose_level);
1536
+          measured_z = probe_pt(PROBE_PT_2_X, PROBE_PT_2_Y, false, g29_verbose_level);
1537 1537
           //z2 = measured_z;
1538 1538
           if (isnan(measured_z))
1539 1539
             abort_flag = true;
1540 1540
           else {
1541
-            measured_z -= get_z_correction(UBL_PROBE_PT_2_X, UBL_PROBE_PT_2_Y);
1541
+            measured_z -= get_z_correction(PROBE_PT_2_X, PROBE_PT_2_Y);
1542 1542
             if (g29_verbose_level > 3) {
1543 1543
               serial_spaces(16);
1544 1544
               SERIAL_ECHOLNPAIR("Corrected_Z=", measured_z);
1545 1545
             }
1546
-            incremental_LSF(&lsf_results, UBL_PROBE_PT_2_X, UBL_PROBE_PT_2_Y, measured_z);
1546
+            incremental_LSF(&lsf_results, PROBE_PT_2_X, PROBE_PT_2_Y, measured_z);
1547 1547
           }
1548 1548
         }
1549 1549
 
1550 1550
         if (!abort_flag) {
1551
-          measured_z = probe_pt(UBL_PROBE_PT_3_X, UBL_PROBE_PT_3_Y, true, g29_verbose_level);
1551
+          measured_z = probe_pt(PROBE_PT_3_X, PROBE_PT_3_Y, true, g29_verbose_level);
1552 1552
           //z3 = measured_z;
1553 1553
           if (isnan(measured_z))
1554 1554
             abort_flag = true;
1555 1555
           else {
1556
-            measured_z -= get_z_correction(UBL_PROBE_PT_3_X, UBL_PROBE_PT_3_Y);
1556
+            measured_z -= get_z_correction(PROBE_PT_3_X, PROBE_PT_3_Y);
1557 1557
             if (g29_verbose_level > 3) {
1558 1558
               serial_spaces(16);
1559 1559
               SERIAL_ECHOLNPAIR("Corrected_Z=", measured_z);
1560 1560
             }
1561
-            incremental_LSF(&lsf_results, UBL_PROBE_PT_3_X, UBL_PROBE_PT_3_Y, measured_z);
1561
+            incremental_LSF(&lsf_results, PROBE_PT_3_X, PROBE_PT_3_Y, measured_z);
1562 1562
           }
1563 1563
         }
1564 1564
 
@@ -1705,29 +1705,29 @@
1705 1705
            */
1706 1706
           #if 0
1707 1707
           float t, t1, d;
1708
-          t = normal.x * (UBL_PROBE_PT_1_X) + normal.y * (UBL_PROBE_PT_1_Y);
1708
+          t = normal.x * (PROBE_PT_1_X) + normal.y * (PROBE_PT_1_Y);
1709 1709
           d = t + normal.z * z1;
1710 1710
           SERIAL_ECHOPGM("D from 1st point: ");
1711 1711
           SERIAL_ECHO_F(d, 6);
1712 1712
           SERIAL_ECHOPGM("   Z error: ");
1713
-          SERIAL_ECHO_F(normal.z*z1-get_z_correction(UBL_PROBE_PT_1_X, UBL_PROBE_PT_1_Y), 6);
1713
+          SERIAL_ECHO_F(normal.z*z1-get_z_correction(PROBE_PT_1_X, PROBE_PT_1_Y), 6);
1714 1714
           SERIAL_EOL();
1715 1715
 
1716
-          t = normal.x * (UBL_PROBE_PT_2_X) + normal.y * (UBL_PROBE_PT_2_Y);
1716
+          t = normal.x * (PROBE_PT_2_X) + normal.y * (PROBE_PT_2_Y);
1717 1717
           d = t + normal.z * z2;
1718 1718
           SERIAL_EOL();
1719 1719
           SERIAL_ECHOPGM("D from 2nd point: ");
1720 1720
           SERIAL_ECHO_F(d, 6);
1721 1721
           SERIAL_ECHOPGM("   Z error: ");
1722
-          SERIAL_ECHO_F(normal.z*z2-get_z_correction(UBL_PROBE_PT_2_X, UBL_PROBE_PT_2_Y), 6);
1722
+          SERIAL_ECHO_F(normal.z*z2-get_z_correction(PROBE_PT_2_X, PROBE_PT_2_Y), 6);
1723 1723
           SERIAL_EOL();
1724 1724
 
1725
-          t = normal.x * (UBL_PROBE_PT_3_X) + normal.y * (UBL_PROBE_PT_3_Y);
1725
+          t = normal.x * (PROBE_PT_3_X) + normal.y * (PROBE_PT_3_Y);
1726 1726
           d = t + normal.z * z3;
1727 1727
           SERIAL_ECHOPGM("D from 3rd point: ");
1728 1728
           SERIAL_ECHO_F(d, 6);
1729 1729
           SERIAL_ECHOPGM("   Z error: ");
1730
-          SERIAL_ECHO_F(normal.z*z3-get_z_correction(UBL_PROBE_PT_3_X, UBL_PROBE_PT_3_Y), 6);
1730
+          SERIAL_ECHO_F(normal.z*z3-get_z_correction(PROBE_PT_3_X, PROBE_PT_3_Y), 6);
1731 1731
           SERIAL_EOL();
1732 1732
 
1733 1733
           t = normal.x * (Z_SAFE_HOMING_X_POINT) + normal.y * (Z_SAFE_HOMING_Y_POINT);

+ 3
- 3
Marlin/src/gcode/bedlevel/abl/G29.cpp View File

@@ -235,9 +235,9 @@ void GcodeSuite::G29() {
235 235
 
236 236
     // Probe at 3 arbitrary points
237 237
     ABL_VAR vector_3 points[3] = {
238
-      vector_3(ABL_PROBE_PT_1_X, ABL_PROBE_PT_1_Y, 0),
239
-      vector_3(ABL_PROBE_PT_2_X, ABL_PROBE_PT_2_Y, 0),
240
-      vector_3(ABL_PROBE_PT_3_X, ABL_PROBE_PT_3_Y, 0)
238
+      vector_3(PROBE_PT_1_X, PROBE_PT_1_Y, 0),
239
+      vector_3(PROBE_PT_2_X, PROBE_PT_2_Y, 0),
240
+      vector_3(PROBE_PT_3_X, PROBE_PT_3_Y, 0)
241 241
     };
242 242
 
243 243
   #endif // AUTO_BED_LEVELING_3POINT

+ 63
- 0
Marlin/src/inc/Conditionals_post.h View File

@@ -1139,6 +1139,69 @@
1139 1139
 
1140 1140
 #endif // MESH_BED_LEVELING || AUTO_BED_LEVELING_UBL
1141 1141
 
1142
+#if ENABLED(AUTO_BED_LEVELING_UBL) || ENABLED(AUTO_BED_LEVELING_3POINT)
1143
+  #if IS_KINEMATIC
1144
+    #define SIN0    0.0
1145
+    #define SIN120  0.866025
1146
+    #define SIN240 -0.866025
1147
+    #define COS0    1.0
1148
+    #define COS120 -0.5
1149
+    #define COS240 -0.5
1150
+    #ifndef PROBE_PT_1_X
1151
+      #define PROBE_PT_1_X (X_CENTER + (_PROBE_RADIUS) * COS0)
1152
+    #endif
1153
+    #ifndef PROBE_PT_1_Y
1154
+      #define PROBE_PT_1_Y (Y_CENTER + (_PROBE_RADIUS) * SIN0)
1155
+    #endif
1156
+    #ifndef PROBE_PT_2_X
1157
+      #define PROBE_PT_2_X (X_CENTER + (_PROBE_RADIUS) * COS120)
1158
+    #endif
1159
+    #ifndef PROBE_PT_2_Y
1160
+      #define PROBE_PT_2_Y (Y_CENTER + (_PROBE_RADIUS) * SIN120)
1161
+    #endif
1162
+    #ifndef PROBE_PT_3_X
1163
+      #define PROBE_PT_3_X (X_CENTER + (_PROBE_RADIUS) * COS240)
1164
+    #endif
1165
+    #ifndef PROBE_PT_3_Y
1166
+      #define PROBE_PT_3_Y (Y_CENTER + (_PROBE_RADIUS) * SIN240)
1167
+    #endif
1168
+  #else
1169
+    #ifndef PROBE_PT_1_X
1170
+      #define PROBE_PT_1_X MIN_PROBE_X
1171
+    #endif
1172
+    #ifndef PROBE_PT_1_Y
1173
+      #define PROBE_PT_1_Y MIN_PROBE_Y
1174
+    #endif
1175
+    #ifndef PROBE_PT_2_X
1176
+      #define PROBE_PT_2_X MAX_PROBE_X
1177
+    #endif
1178
+    #ifndef PROBE_PT_2_Y
1179
+      #define PROBE_PT_2_Y MIN_PROBE_Y
1180
+    #endif
1181
+    #ifndef PROBE_PT_3_X
1182
+      #define PROBE_PT_3_X X_CENTER
1183
+    #endif
1184
+    #ifndef PROBE_PT_3_Y
1185
+      #define PROBE_PT_3_Y MAX_PROBE_Y
1186
+    #endif
1187
+  #endif
1188
+#endif
1189
+
1190
+#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
1191
+  #ifndef LEFT_PROBE_BED_POSITION
1192
+    #define LEFT_PROBE_BED_POSITION MIN_PROBE_X
1193
+  #endif
1194
+  #ifndef RIGHT_PROBE_BED_POSITION
1195
+    #define RIGHT_PROBE_BED_POSITION MAX_PROBE_X
1196
+  #endif
1197
+  #ifndef FRONT_PROBE_BED_POSITION
1198
+    #define FRONT_PROBE_BED_POSITION MIN_PROBE_Y
1199
+  #endif
1200
+  #ifndef BACK_PROBE_BED_POSITION
1201
+    #define BACK_PROBE_BED_POSITION MAX_PROBE_Y
1202
+  #endif
1203
+#endif
1204
+
1142 1205
 /**
1143 1206
  * Buzzer/Speaker
1144 1207
  */

+ 14
- 17
Marlin/src/inc/SanityCheck.h View File

@@ -233,6 +233,10 @@
233 233
   #error "UBL_MESH_INSET is now just MESH_INSET. Please update your configuration."
234 234
 #elif defined(UBL_MESH_MIN_X) || defined(UBL_MESH_MIN_Y) || defined(UBL_MESH_MAX_X)  || defined(UBL_MESH_MAX_Y)
235 235
   #error "UBL_MESH_(MIN|MAX)_[XY] is now just MESH_(MIN|MAX)_[XY]. Please update your configuration."
236
+#elif defined(ABL_PROBE_PT_1_X) || defined(ABL_PROBE_PT_1_Y) || defined(ABL_PROBE_PT_2_X) || defined(ABL_PROBE_PT_2_Y) || defined(ABL_PROBE_PT_3_X) || defined(ABL_PROBE_PT_3_Y)
237
+  #error "ABL_PROBE_PT_[123]_[XY] is now PROBE_PT_[123]_[XY]. Please update your configuration."
238
+#elif defined(UBL_PROBE_PT_1_X) || defined(UBL_PROBE_PT_1_Y) || defined(UBL_PROBE_PT_2_X) || defined(UBL_PROBE_PT_2_Y) || defined(UBL_PROBE_PT_3_X) || defined(UBL_PROBE_PT_3_Y)
239
+  #error "UBL_PROBE_PT_[123]_[XY] is now PROBE_PT_[123]_[XY]. Please update your configuration."
236 240
 #elif defined(ENABLE_MESH_EDIT_GFX_OVERLAY)
237 241
   #error "ENABLE_MESH_EDIT_GFX_OVERLAY is now MESH_EDIT_GFX_OVERLAY. Please update your configuration."
238 242
 #elif defined(BABYSTEP_ZPROBE_GFX_REVERSE)
@@ -803,6 +807,15 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
803 807
  * Bed Leveling Requirements
804 808
  */
805 809
 
810
+#if ENABLED(AUTO_BED_LEVELING_UBL) || ENABLED(AUTO_BED_LEVELING_3POINT)
811
+  static_assert(WITHIN(PROBE_PT_1_X, MIN_PROBE_X, MAX_PROBE_X), "PROBE_PT_1_X is outside the probe region.");
812
+  static_assert(WITHIN(PROBE_PT_2_X, MIN_PROBE_X, MAX_PROBE_X), "PROBE_PT_2_X is outside the probe region.");
813
+  static_assert(WITHIN(PROBE_PT_3_X, MIN_PROBE_X, MAX_PROBE_X), "PROBE_PT_3_X is outside the probe region.");
814
+  static_assert(WITHIN(PROBE_PT_1_Y, MIN_PROBE_Y, MAX_PROBE_Y), "PROBE_PT_1_Y is outside the probe region.");
815
+  static_assert(WITHIN(PROBE_PT_2_Y, MIN_PROBE_Y, MAX_PROBE_Y), "PROBE_PT_2_Y is outside the probe region.");
816
+  static_assert(WITHIN(PROBE_PT_3_Y, MIN_PROBE_Y, MAX_PROBE_Y), "PROBE_PT_3_Y is outside the probe region.");
817
+#endif
818
+
806 819
 #if ENABLED(AUTO_BED_LEVELING_UBL)
807 820
 
808 821
   /**
@@ -820,13 +833,6 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
820 833
     #error "GRID_MAX_POINTS_[XY] must be a whole number between 3 and 15."
821 834
   #elif DISABLED(RESTORE_LEVELING_AFTER_G28)
822 835
     #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."
823
-  #else
824
-    static_assert(WITHIN(UBL_PROBE_PT_1_X, MIN_PROBE_X, MAX_PROBE_X), "UBL_PROBE_PT_1_X is outside the probe region.");
825
-    static_assert(WITHIN(UBL_PROBE_PT_2_X, MIN_PROBE_X, MAX_PROBE_X), "UBL_PROBE_PT_2_X is outside the probe region.");
826
-    static_assert(WITHIN(UBL_PROBE_PT_3_X, MIN_PROBE_X, MAX_PROBE_X), "UBL_PROBE_PT_3_X is outside the probe region.");
827
-    static_assert(WITHIN(UBL_PROBE_PT_1_Y, MIN_PROBE_Y, MAX_PROBE_Y), "UBL_PROBE_PT_1_Y is outside the probe region.");
828
-    static_assert(WITHIN(UBL_PROBE_PT_2_Y, MIN_PROBE_Y, MAX_PROBE_Y), "UBL_PROBE_PT_2_Y is outside the probe region.");
829
-    static_assert(WITHIN(UBL_PROBE_PT_3_Y, MIN_PROBE_Y, MAX_PROBE_Y), "UBL_PROBE_PT_3_Y is outside the probe region.");
830 836
   #endif
831 837
 
832 838
 #elif OLDSCHOOL_ABL
@@ -839,7 +845,7 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
839 845
    * Delta and SCARA have limited bed leveling options
840 846
    */
841 847
   #if IS_SCARA && DISABLED(AUTO_BED_LEVELING_BILINEAR)
842
-    #error "Only AUTO_BED_LEVELING_BILINEAR currently supports SCARA bed leveling."
848
+    #error "SCARA machines can only use the AUTO_BED_LEVELING_BILINEAR leveling option."
843 849
   #endif
844 850
 
845 851
   /**
@@ -854,15 +860,6 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
854 860
     static_assert(FRONT_PROBE_BED_POSITION >= MIN_PROBE_Y, "FRONT_PROBE_BED_POSITION is outside the probe region.");
855 861
     static_assert(BACK_PROBE_BED_POSITION <= MAX_PROBE_Y, "BACK_PROBE_BED_POSITION is outside the probe region.");
856 862
 
857
-  #else // AUTO_BED_LEVELING_3POINT
858
-
859
-    static_assert(WITHIN(ABL_PROBE_PT_1_X, MIN_PROBE_X, MAX_PROBE_X), "ABL_PROBE_PT_1_X is outside the probe region.");
860
-    static_assert(WITHIN(ABL_PROBE_PT_2_X, MIN_PROBE_X, MAX_PROBE_X), "ABL_PROBE_PT_2_X is outside the probe region.");
861
-    static_assert(WITHIN(ABL_PROBE_PT_3_X, MIN_PROBE_X, MAX_PROBE_X), "ABL_PROBE_PT_3_X is outside the probe region.");
862
-    static_assert(WITHIN(ABL_PROBE_PT_1_Y, MIN_PROBE_Y, MAX_PROBE_Y), "ABL_PROBE_PT_1_Y is outside the probe region.");
863
-    static_assert(WITHIN(ABL_PROBE_PT_2_Y, MIN_PROBE_Y, MAX_PROBE_Y), "ABL_PROBE_PT_2_Y is outside the probe region.");
864
-    static_assert(WITHIN(ABL_PROBE_PT_3_Y, MIN_PROBE_Y, MAX_PROBE_Y), "ABL_PROBE_PT_3_Y is outside the probe region.");
865
-
866 863
   #endif // AUTO_BED_LEVELING_3POINT
867 864
 
868 865
 #elif ENABLED(MESH_BED_LEVELING)

Loading…
Cancel
Save