Browse Source

Merge pull request #8167 from thinkyhead/bf1_config_tweak

[1.1.x] Kinematic clamp_to_software_endstops
Scott Lahteine 7 years ago
parent
commit
4817c0d055
No account linked to committer's email address
41 changed files with 125 additions and 108 deletions
  1. 7
    0
      Marlin/Conditionals_post.h
  2. 2
    2
      Marlin/Configuration.h
  3. 38
    21
      Marlin/Marlin_main.cpp
  4. 0
    7
      Marlin/SdFatConfig.h
  5. 2
    2
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h
  6. 2
    2
      Marlin/example_configurations/AliExpress/CL-260/Configuration.h
  7. 6
    6
      Marlin/example_configurations/Anet/A6/Configuration.h
  8. 2
    2
      Marlin/example_configurations/Anet/A8/Configuration.h
  9. 2
    2
      Marlin/example_configurations/BQ/Hephestos/Configuration.h
  10. 2
    2
      Marlin/example_configurations/BQ/Hephestos_2/Configuration.h
  11. 2
    2
      Marlin/example_configurations/BQ/WITBOX/Configuration.h
  12. 2
    2
      Marlin/example_configurations/Cartesio/Configuration.h
  13. 2
    2
      Marlin/example_configurations/Creality/CR-10/Configuration.h
  14. 2
    2
      Marlin/example_configurations/Felix/Configuration.h
  15. 2
    2
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  16. 2
    2
      Marlin/example_configurations/FolgerTech/i3-2020/Configuration.h
  17. 2
    2
      Marlin/example_configurations/Geeetech/GT2560/Configuration.h
  18. 2
    2
      Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h
  19. 2
    2
      Marlin/example_configurations/Infitary/i3-M508/Configuration.h
  20. 2
    2
      Marlin/example_configurations/Malyan/M150/Configuration.h
  21. 2
    2
      Marlin/example_configurations/Micromake/C1/basic/Configuration.h
  22. 2
    2
      Marlin/example_configurations/Micromake/C1/enhanced/Configuration.h
  23. 2
    2
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  24. 2
    2
      Marlin/example_configurations/RigidBot/Configuration.h
  25. 2
    2
      Marlin/example_configurations/SCARA/Configuration.h
  26. 2
    2
      Marlin/example_configurations/Sanguinololu/Configuration.h
  27. 2
    2
      Marlin/example_configurations/TinyBoy2/Configuration.h
  28. 2
    2
      Marlin/example_configurations/Velleman/K8200/Configuration.h
  29. 2
    2
      Marlin/example_configurations/Velleman/K8400/Configuration.h
  30. 2
    2
      Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h
  31. 2
    2
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  32. 2
    2
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h
  33. 2
    2
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h
  34. 2
    2
      Marlin/example_configurations/delta/generic/Configuration.h
  35. 2
    2
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  36. 2
    2
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  37. 2
    2
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  38. 2
    2
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h
  39. 2
    2
      Marlin/example_configurations/makibox/Configuration.h
  40. 2
    2
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  41. 2
    2
      Marlin/example_configurations/wt150/Configuration.h

+ 7
- 0
Marlin/Conditionals_post.h View File

1053
     #endif
1053
     #endif
1054
   #endif
1054
   #endif
1055
 
1055
 
1056
+  // Number of VFAT entries used. Each entry has 13 UTF-16 characters
1057
+  #if ENABLED(SCROLL_LONG_FILENAMES)
1058
+    #define MAX_VFAT_ENTRIES (5)
1059
+  #else
1060
+    #define MAX_VFAT_ENTRIES (2)
1061
+  #endif
1062
+
1056
 #endif // CONDITIONALS_POST_H
1063
 #endif // CONDITIONALS_POST_H

+ 2
- 2
Marlin/Configuration.h View File

1014
 //#define Z_SAFE_HOMING
1014
 //#define Z_SAFE_HOMING
1015
 
1015
 
1016
 #if ENABLED(Z_SAFE_HOMING)
1016
 #if ENABLED(Z_SAFE_HOMING)
1017
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1018
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1017
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1018
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1019
 #endif
1019
 #endif
1020
 
1020
 
1021
 // Homing speeds (mm/m)
1021
 // Homing speeds (mm/m)

+ 38
- 21
Marlin/Marlin_main.cpp View File

472
 #endif
472
 #endif
473
 
473
 
474
 // Software Endstops are based on the configured limits.
474
 // Software Endstops are based on the configured limits.
475
+float soft_endstop_min[XYZ] = { X_MIN_BED, Y_MIN_BED, Z_MIN_POS },
476
+      soft_endstop_max[XYZ] = { X_MAX_BED, Y_MAX_BED, Z_MAX_POS };
475
 #if HAS_SOFTWARE_ENDSTOPS
477
 #if HAS_SOFTWARE_ENDSTOPS
476
   bool soft_endstops_enabled = true;
478
   bool soft_endstops_enabled = true;
479
+  #if IS_KINEMATIC
480
+    float soft_endstop_radius, soft_endstop_radius_2;
481
+  #endif
477
 #endif
482
 #endif
478
-float soft_endstop_min[XYZ] = { X_MIN_BED, Y_MIN_BED, Z_MIN_POS },
479
-      soft_endstop_max[XYZ] = { X_MAX_BED, Y_MAX_BED, Z_MAX_POS };
480
 
483
 
481
 #if FAN_COUNT > 0
484
 #if FAN_COUNT > 0
482
   int16_t fanSpeeds[FAN_COUNT] = { 0 };
485
   int16_t fanSpeeds[FAN_COUNT] = { 0 };
1464
     #endif
1467
     #endif
1465
 
1468
 
1466
     #if ENABLED(DELTA)
1469
     #if ENABLED(DELTA)
1467
-      if (axis == Z_AXIS)
1468
-        delta_clip_start_height = soft_endstop_max[axis] - delta_safe_distance_from_top();
1470
+      switch(axis) {
1471
+        case X_AXIS:
1472
+        case Y_AXIS:
1473
+          // Get a minimum radius for clamping
1474
+          soft_endstop_radius = MIN3(FABS(max(soft_endstop_min[X_AXIS], soft_endstop_min[Y_AXIS])), soft_endstop_max[X_AXIS], soft_endstop_max[Y_AXIS]);
1475
+          soft_endstop_radius_2 = sq(soft_endstop_radius);
1476
+          break;
1477
+        case Z_AXIS:
1478
+          delta_clip_start_height = soft_endstop_max[axis] - delta_safe_distance_from_top();
1479
+        default: break;
1480
+      }
1469
     #endif
1481
     #endif
1470
   }
1482
   }
1471
 
1483
 
12047
 
12059
 
12048
   /**
12060
   /**
12049
    * Constrain the given coordinates to the software endstops.
12061
    * Constrain the given coordinates to the software endstops.
12050
-   */
12051
-
12052
-  /**
12053
-   * Constrain the given coordinates to the software endstops.
12054
    *
12062
    *
12055
-   * NOTE: This will only apply to Z on DELTA and SCARA. XY is
12056
-   *       constrained to a circle on these kinematic systems.
12063
+   * For DELTA/SCARA the XY constraint is based on the smallest
12064
+   * radius within the set software endstops.
12057
    */
12065
    */
12058
   void clamp_to_software_endstops(float target[XYZ]) {
12066
   void clamp_to_software_endstops(float target[XYZ]) {
12059
     if (!soft_endstops_enabled) return;
12067
     if (!soft_endstops_enabled) return;
12060
-    #if ENABLED(MIN_SOFTWARE_ENDSTOP_X)
12061
-      NOLESS(target[X_AXIS], soft_endstop_min[X_AXIS]);
12062
-    #endif
12063
-    #if ENABLED(MIN_SOFTWARE_ENDSTOP_Y)
12064
-      NOLESS(target[Y_AXIS], soft_endstop_min[Y_AXIS]);
12068
+    #if IS_KINEMATIC
12069
+      const float dist_2 = HYPOT2(target[X_AXIS], target[Y_AXIS]);
12070
+      if (dist_2 > soft_endstop_radius_2) {
12071
+        const float ratio = soft_endstop_radius / SQRT(dist_2); // 200 / 300 = 0.66
12072
+        target[X_AXIS] *= ratio;
12073
+        target[Y_AXIS] *= ratio;
12074
+      }
12075
+    #else
12076
+      #if ENABLED(MIN_SOFTWARE_ENDSTOP_X)
12077
+        NOLESS(target[X_AXIS], soft_endstop_min[X_AXIS]);
12078
+      #endif
12079
+      #if ENABLED(MIN_SOFTWARE_ENDSTOP_Y)
12080
+        NOLESS(target[Y_AXIS], soft_endstop_min[Y_AXIS]);
12081
+      #endif
12082
+      #if ENABLED(MAX_SOFTWARE_ENDSTOP_X)
12083
+        NOMORE(target[X_AXIS], soft_endstop_max[X_AXIS]);
12084
+      #endif
12085
+      #if ENABLED(MAX_SOFTWARE_ENDSTOP_Y)
12086
+        NOMORE(target[Y_AXIS], soft_endstop_max[Y_AXIS]);
12087
+      #endif
12065
     #endif
12088
     #endif
12066
     #if ENABLED(MIN_SOFTWARE_ENDSTOP_Z)
12089
     #if ENABLED(MIN_SOFTWARE_ENDSTOP_Z)
12067
       NOLESS(target[Z_AXIS], soft_endstop_min[Z_AXIS]);
12090
       NOLESS(target[Z_AXIS], soft_endstop_min[Z_AXIS]);
12068
     #endif
12091
     #endif
12069
-    #if ENABLED(MAX_SOFTWARE_ENDSTOP_X)
12070
-      NOMORE(target[X_AXIS], soft_endstop_max[X_AXIS]);
12071
-    #endif
12072
-    #if ENABLED(MAX_SOFTWARE_ENDSTOP_Y)
12073
-      NOMORE(target[Y_AXIS], soft_endstop_max[Y_AXIS]);
12074
-    #endif
12075
     #if ENABLED(MAX_SOFTWARE_ENDSTOP_Z)
12092
     #if ENABLED(MAX_SOFTWARE_ENDSTOP_Z)
12076
       NOMORE(target[Z_AXIS], soft_endstop_max[Z_AXIS]);
12093
       NOMORE(target[Z_AXIS], soft_endstop_max[Z_AXIS]);
12077
     #endif
12094
     #endif

+ 0
- 7
Marlin/SdFatConfig.h View File

133
 
133
 
134
 #define FILENAME_LENGTH 13 // Number of UTF-16 characters per entry
134
 #define FILENAME_LENGTH 13 // Number of UTF-16 characters per entry
135
 
135
 
136
-// Number of VFAT entries used. Each entry has 13 UTF-16 characters
137
-#if ENABLED(SCROLL_LONG_FILENAMES)
138
-  #define MAX_VFAT_ENTRIES (5)
139
-#else
140
-  #define MAX_VFAT_ENTRIES (2)
141
-#endif
142
-
143
 // Total bytes needed to store a single long filename
136
 // Total bytes needed to store a single long filename
144
 #define LONG_FILENAME_LENGTH (FILENAME_LENGTH * MAX_VFAT_ENTRIES + 1)
137
 #define LONG_FILENAME_LENGTH (FILENAME_LENGTH * MAX_VFAT_ENTRIES + 1)
145
 
138
 

+ 2
- 2
Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h View File

1034
 //#define Z_SAFE_HOMING
1034
 //#define Z_SAFE_HOMING
1035
 
1035
 
1036
 #if ENABLED(Z_SAFE_HOMING)
1036
 #if ENABLED(Z_SAFE_HOMING)
1037
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1038
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1037
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1038
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1039
 #endif
1039
 #endif
1040
 
1040
 
1041
 // Homing speeds (mm/m)
1041
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/AliExpress/CL-260/Configuration.h View File

1014
 //#define Z_SAFE_HOMING
1014
 //#define Z_SAFE_HOMING
1015
 
1015
 
1016
 #if ENABLED(Z_SAFE_HOMING)
1016
 #if ENABLED(Z_SAFE_HOMING)
1017
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1018
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1017
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1018
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1019
 #endif
1019
 #endif
1020
 
1020
 
1021
 // Homing speeds (mm/m)
1021
 // Homing speeds (mm/m)

+ 6
- 6
Marlin/example_configurations/Anet/A6/Configuration.h View File

1162
 #define Z_SAFE_HOMING
1162
 #define Z_SAFE_HOMING
1163
 
1163
 
1164
 #if ENABLED(Z_SAFE_HOMING)
1164
 #if ENABLED(Z_SAFE_HOMING)
1165
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1166
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1165
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1166
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1167
 
1167
 
1168
   //Anet A6 with new X-Axis
1168
   //Anet A6 with new X-Axis
1169
-  //#define Z_SAFE_HOMING_X_POINT 113    // X point for Z homing when homing all axis (G28).
1170
-  //#define Z_SAFE_HOMING_Y_POINT 112    // Y point for Z homing when homing all axis (G28).
1169
+  //#define Z_SAFE_HOMING_X_POINT 113    // X point for Z homing when homing all axes (G28).
1170
+  //#define Z_SAFE_HOMING_Y_POINT 112    // Y point for Z homing when homing all axes (G28).
1171
 
1171
 
1172
   //Anet A6 with new X-Axis and defined X_HOME_POS -7, Y_HOME_POS -6
1172
   //Anet A6 with new X-Axis and defined X_HOME_POS -7, Y_HOME_POS -6
1173
-  //#define Z_SAFE_HOMING_X_POINT 107    // X point for Z homing when homing all axis (G28).
1174
-  //#define Z_SAFE_HOMING_Y_POINT 107    // Y point for Z homing when homing all axis (G28).
1173
+  //#define Z_SAFE_HOMING_X_POINT 107    // X point for Z homing when homing all axes (G28).
1174
+  //#define Z_SAFE_HOMING_Y_POINT 107    // Y point for Z homing when homing all axes (G28).
1175
 
1175
 
1176
 #endif
1176
 #endif
1177
 
1177
 

+ 2
- 2
Marlin/example_configurations/Anet/A8/Configuration.h View File

1020
 //#define Z_SAFE_HOMING
1020
 //#define Z_SAFE_HOMING
1021
 
1021
 
1022
 #if ENABLED(Z_SAFE_HOMING)
1022
 #if ENABLED(Z_SAFE_HOMING)
1023
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1024
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1023
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1024
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1025
 #endif
1025
 #endif
1026
 
1026
 
1027
 // Homing speeds (mm/m)
1027
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/BQ/Hephestos/Configuration.h View File

1005
 //#define Z_SAFE_HOMING
1005
 //#define Z_SAFE_HOMING
1006
 
1006
 
1007
 #if ENABLED(Z_SAFE_HOMING)
1007
 #if ENABLED(Z_SAFE_HOMING)
1008
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1009
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1008
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1009
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1010
 #endif
1010
 #endif
1011
 
1011
 
1012
 // Homing speeds (mm/m)
1012
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/BQ/Hephestos_2/Configuration.h View File

1015
 #define Z_SAFE_HOMING
1015
 #define Z_SAFE_HOMING
1016
 
1016
 
1017
 #if ENABLED(Z_SAFE_HOMING)
1017
 #if ENABLED(Z_SAFE_HOMING)
1018
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1019
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1018
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1019
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1020
 #endif
1020
 #endif
1021
 
1021
 
1022
 // Homing speeds (mm/m)
1022
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/BQ/WITBOX/Configuration.h View File

1005
 //#define Z_SAFE_HOMING
1005
 //#define Z_SAFE_HOMING
1006
 
1006
 
1007
 #if ENABLED(Z_SAFE_HOMING)
1007
 #if ENABLED(Z_SAFE_HOMING)
1008
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1009
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1008
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1009
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1010
 #endif
1010
 #endif
1011
 
1011
 
1012
 // Homing speeds (mm/m)
1012
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Cartesio/Configuration.h View File

1013
 //#define Z_SAFE_HOMING
1013
 //#define Z_SAFE_HOMING
1014
 
1014
 
1015
 #if ENABLED(Z_SAFE_HOMING)
1015
 #if ENABLED(Z_SAFE_HOMING)
1016
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1017
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1016
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1017
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1018
 #endif
1018
 #endif
1019
 
1019
 
1020
 // Homing speeds (mm/m)
1020
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Creality/CR-10/Configuration.h View File

1024
 //#define Z_SAFE_HOMING
1024
 //#define Z_SAFE_HOMING
1025
 
1025
 
1026
 #if ENABLED(Z_SAFE_HOMING)
1026
 #if ENABLED(Z_SAFE_HOMING)
1027
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1028
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1027
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1028
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1029
 #endif
1029
 #endif
1030
 
1030
 
1031
 // Homing speeds (mm/m)
1031
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Felix/Configuration.h View File

996
 //#define Z_SAFE_HOMING
996
 //#define Z_SAFE_HOMING
997
 
997
 
998
 #if ENABLED(Z_SAFE_HOMING)
998
 #if ENABLED(Z_SAFE_HOMING)
999
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1000
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
999
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1000
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1001
 #endif
1001
 #endif
1002
 
1002
 
1003
 // Homing speeds (mm/m)
1003
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Felix/DUAL/Configuration.h View File

996
 //#define Z_SAFE_HOMING
996
 //#define Z_SAFE_HOMING
997
 
997
 
998
 #if ENABLED(Z_SAFE_HOMING)
998
 #if ENABLED(Z_SAFE_HOMING)
999
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1000
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
999
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1000
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1001
 #endif
1001
 #endif
1002
 
1002
 
1003
 // Homing speeds (mm/m)
1003
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/FolgerTech/i3-2020/Configuration.h View File

1019
 #define Z_SAFE_HOMING
1019
 #define Z_SAFE_HOMING
1020
 
1020
 
1021
 #if ENABLED(Z_SAFE_HOMING)
1021
 #if ENABLED(Z_SAFE_HOMING)
1022
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1023
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1022
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1023
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1024
 #endif
1024
 #endif
1025
 
1025
 
1026
 // Homing speeds (mm/m)
1026
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Geeetech/GT2560/Configuration.h View File

1029
 //#define Z_SAFE_HOMING
1029
 //#define Z_SAFE_HOMING
1030
 
1030
 
1031
 #if ENABLED(Z_SAFE_HOMING)
1031
 #if ENABLED(Z_SAFE_HOMING)
1032
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1033
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1032
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1033
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1034
 #endif
1034
 #endif
1035
 
1035
 
1036
 // Homing speeds (mm/m)
1036
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h View File

1014
 //#define Z_SAFE_HOMING
1014
 //#define Z_SAFE_HOMING
1015
 
1015
 
1016
 #if ENABLED(Z_SAFE_HOMING)
1016
 #if ENABLED(Z_SAFE_HOMING)
1017
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1018
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1017
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1018
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1019
 #endif
1019
 #endif
1020
 
1020
 
1021
 // Homing speeds (mm/m)
1021
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Infitary/i3-M508/Configuration.h View File

1018
 //#define Z_SAFE_HOMING
1018
 //#define Z_SAFE_HOMING
1019
 
1019
 
1020
 #if ENABLED(Z_SAFE_HOMING)
1020
 #if ENABLED(Z_SAFE_HOMING)
1021
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1022
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1021
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1022
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1023
 #endif
1023
 #endif
1024
 
1024
 
1025
 // Homing speeds (mm/m)
1025
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Malyan/M150/Configuration.h View File

1042
 //#define Z_SAFE_HOMING
1042
 //#define Z_SAFE_HOMING
1043
 
1043
 
1044
 #if ENABLED(Z_SAFE_HOMING)
1044
 #if ENABLED(Z_SAFE_HOMING)
1045
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1046
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1045
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1046
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1047
 #endif
1047
 #endif
1048
 
1048
 
1049
 // Homing speeds (mm/m)
1049
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Micromake/C1/basic/Configuration.h View File

1018
 //#define Z_SAFE_HOMING
1018
 //#define Z_SAFE_HOMING
1019
 
1019
 
1020
 #if ENABLED(Z_SAFE_HOMING)
1020
 #if ENABLED(Z_SAFE_HOMING)
1021
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1022
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1021
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1022
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1023
 #endif
1023
 #endif
1024
 
1024
 
1025
 // Homing speeds (mm/m)
1025
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Micromake/C1/enhanced/Configuration.h View File

1018
 //#define Z_SAFE_HOMING
1018
 //#define Z_SAFE_HOMING
1019
 
1019
 
1020
 #if ENABLED(Z_SAFE_HOMING)
1020
 #if ENABLED(Z_SAFE_HOMING)
1021
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1022
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1021
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1022
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1023
 #endif
1023
 #endif
1024
 
1024
 
1025
 // Homing speeds (mm/m)
1025
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

1014
 //#define Z_SAFE_HOMING
1014
 //#define Z_SAFE_HOMING
1015
 
1015
 
1016
 #if ENABLED(Z_SAFE_HOMING)
1016
 #if ENABLED(Z_SAFE_HOMING)
1017
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1018
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1017
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1018
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1019
 #endif
1019
 #endif
1020
 
1020
 
1021
 // Homing speeds (mm/m)
1021
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/RigidBot/Configuration.h View File

1012
 //#define Z_SAFE_HOMING
1012
 //#define Z_SAFE_HOMING
1013
 
1013
 
1014
 #if ENABLED(Z_SAFE_HOMING)
1014
 #if ENABLED(Z_SAFE_HOMING)
1015
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1016
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1015
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1016
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1017
 #endif
1017
 #endif
1018
 
1018
 
1019
 // Homing speeds (mm/m)
1019
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/SCARA/Configuration.h View File

1026
 //#define Z_SAFE_HOMING
1026
 //#define Z_SAFE_HOMING
1027
 
1027
 
1028
 #if ENABLED(Z_SAFE_HOMING)
1028
 #if ENABLED(Z_SAFE_HOMING)
1029
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1030
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1029
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1030
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1031
 #endif
1031
 #endif
1032
 
1032
 
1033
 // Homing speeds (mm/m)
1033
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Sanguinololu/Configuration.h View File

1045
 //#define Z_SAFE_HOMING
1045
 //#define Z_SAFE_HOMING
1046
 
1046
 
1047
 #if ENABLED(Z_SAFE_HOMING)
1047
 #if ENABLED(Z_SAFE_HOMING)
1048
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1049
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1048
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1049
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1050
 #endif
1050
 #endif
1051
 
1051
 
1052
 // Homing speeds (mm/m)
1052
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/TinyBoy2/Configuration.h View File

1070
 //#define Z_SAFE_HOMING
1070
 //#define Z_SAFE_HOMING
1071
 
1071
 
1072
 #if ENABLED(Z_SAFE_HOMING)
1072
 #if ENABLED(Z_SAFE_HOMING)
1073
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1074
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1073
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1074
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1075
 #endif
1075
 #endif
1076
 
1076
 
1077
 // Homing speeds (mm/m)
1077
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Velleman/K8200/Configuration.h View File

1044
 //#define Z_SAFE_HOMING
1044
 //#define Z_SAFE_HOMING
1045
 
1045
 
1046
 #if ENABLED(Z_SAFE_HOMING)
1046
 #if ENABLED(Z_SAFE_HOMING)
1047
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1048
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1047
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1048
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1049
 #endif
1049
 #endif
1050
 
1050
 
1051
 // Homing speeds (mm/m)
1051
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Velleman/K8400/Configuration.h View File

1014
 //#define Z_SAFE_HOMING
1014
 //#define Z_SAFE_HOMING
1015
 
1015
 
1016
 #if ENABLED(Z_SAFE_HOMING)
1016
 #if ENABLED(Z_SAFE_HOMING)
1017
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1018
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1017
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1018
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1019
 #endif
1019
 #endif
1020
 
1020
 
1021
 // Homing speeds (mm/m)
1021
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h View File

1014
 //#define Z_SAFE_HOMING
1014
 //#define Z_SAFE_HOMING
1015
 
1015
 
1016
 #if ENABLED(Z_SAFE_HOMING)
1016
 #if ENABLED(Z_SAFE_HOMING)
1017
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1018
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1017
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1018
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1019
 #endif
1019
 #endif
1020
 
1020
 
1021
 // Homing speeds (mm/m)
1021
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

1014
 //#define Z_SAFE_HOMING
1014
 //#define Z_SAFE_HOMING
1015
 
1015
 
1016
 #if ENABLED(Z_SAFE_HOMING)
1016
 #if ENABLED(Z_SAFE_HOMING)
1017
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1018
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1017
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1018
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1019
 #endif
1019
 #endif
1020
 
1020
 
1021
 // Homing speeds (mm/m)
1021
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h View File

1148
 //#define Z_SAFE_HOMING
1148
 //#define Z_SAFE_HOMING
1149
 
1149
 
1150
 #if ENABLED(Z_SAFE_HOMING)
1150
 #if ENABLED(Z_SAFE_HOMING)
1151
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1152
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1151
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1152
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1153
 #endif
1153
 #endif
1154
 
1154
 
1155
 // Delta only homes to Z
1155
 // Delta only homes to Z

+ 2
- 2
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h View File

1142
 //#define Z_SAFE_HOMING
1142
 //#define Z_SAFE_HOMING
1143
 
1143
 
1144
 #if ENABLED(Z_SAFE_HOMING)
1144
 #if ENABLED(Z_SAFE_HOMING)
1145
-  #define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)    // X point for Z homing when homing all axis (G28).
1146
-  #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
1145
+  #define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)    // X point for Z homing when homing all axes (G28).
1146
+  #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axes (G28).
1147
 #endif
1147
 #endif
1148
 
1148
 
1149
 // Delta only homes to Z
1149
 // Delta only homes to Z

+ 2
- 2
Marlin/example_configurations/delta/generic/Configuration.h View File

1137
 //#define Z_SAFE_HOMING
1137
 //#define Z_SAFE_HOMING
1138
 
1138
 
1139
 #if ENABLED(Z_SAFE_HOMING)
1139
 #if ENABLED(Z_SAFE_HOMING)
1140
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1141
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1140
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1141
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1142
 #endif
1142
 #endif
1143
 
1143
 
1144
 // Delta only homes to Z
1144
 // Delta only homes to Z

+ 2
- 2
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

1140
 //#define Z_SAFE_HOMING
1140
 //#define Z_SAFE_HOMING
1141
 
1141
 
1142
 #if ENABLED(Z_SAFE_HOMING)
1142
 #if ENABLED(Z_SAFE_HOMING)
1143
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1144
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1143
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1144
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1145
 #endif
1145
 #endif
1146
 
1146
 
1147
 // Delta only homes to Z
1147
 // Delta only homes to Z

+ 2
- 2
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

1140
 #define Z_SAFE_HOMING
1140
 #define Z_SAFE_HOMING
1141
 
1141
 
1142
 #if ENABLED(Z_SAFE_HOMING)
1142
 #if ENABLED(Z_SAFE_HOMING)
1143
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1144
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1143
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1144
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1145
 #endif
1145
 #endif
1146
 
1146
 
1147
 // Delta only homes to Z
1147
 // Delta only homes to Z

+ 2
- 2
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

1149
 //#define Z_SAFE_HOMING
1149
 //#define Z_SAFE_HOMING
1150
 
1150
 
1151
 #if ENABLED(Z_SAFE_HOMING)
1151
 #if ENABLED(Z_SAFE_HOMING)
1152
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1153
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1152
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1153
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1154
 #endif
1154
 #endif
1155
 
1155
 
1156
 // Delta only homes to Z
1156
 // Delta only homes to Z

+ 2
- 2
Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h View File

1028
 #define Z_SAFE_HOMING
1028
 #define Z_SAFE_HOMING
1029
 
1029
 
1030
 #if ENABLED(Z_SAFE_HOMING)
1030
 #if ENABLED(Z_SAFE_HOMING)
1031
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2 - 4) // X point for Z homing when homing all axis (G28).
1032
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2 + 4) // Y point for Z homing when homing all axis (G28).
1031
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2 - 4) // X point for Z homing when homing all axes (G28).
1032
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2 + 4) // Y point for Z homing when homing all axes (G28).
1033
 #endif
1033
 #endif
1034
 
1034
 
1035
 // Homing speeds (mm/m)
1035
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/makibox/Configuration.h View File

1017
 //#define Z_SAFE_HOMING
1017
 //#define Z_SAFE_HOMING
1018
 
1018
 
1019
 #if ENABLED(Z_SAFE_HOMING)
1019
 #if ENABLED(Z_SAFE_HOMING)
1020
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1021
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1020
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1021
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1022
 #endif
1022
 #endif
1023
 
1023
 
1024
 // Homing speeds (mm/m)
1024
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

1009
 //#define Z_SAFE_HOMING
1009
 //#define Z_SAFE_HOMING
1010
 
1010
 
1011
 #if ENABLED(Z_SAFE_HOMING)
1011
 #if ENABLED(Z_SAFE_HOMING)
1012
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1013
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1012
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1013
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1014
 #endif
1014
 #endif
1015
 
1015
 
1016
 // Homing speeds (mm/m)
1016
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/example_configurations/wt150/Configuration.h View File

1019
 //#define Z_SAFE_HOMING
1019
 //#define Z_SAFE_HOMING
1020
 
1020
 
1021
 #if ENABLED(Z_SAFE_HOMING)
1021
 #if ENABLED(Z_SAFE_HOMING)
1022
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1023
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1022
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1023
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1024
 #endif
1024
 #endif
1025
 
1025
 
1026
 // Homing speeds (mm/m)
1026
 // Homing speeds (mm/m)

Loading…
Cancel
Save