Преглед изворни кода

Z_STEPPER_AUTO_ALIGN — To align with Z stepper points (#15195)

Jason Smith пре 4 година
родитељ
комит
832cb7e1ac
100 измењених фајлова са 1788 додато и 444 уклоњено
  1. 17
    4
      Marlin/Configuration_adv.h
  2. 161
    63
      Marlin/src/gcode/calibrate/G34_M422.cpp
  3. 7
    0
      Marlin/src/inc/Conditionals_post.h
  4. 13
    0
      Marlin/src/inc/SanityCheck.h
  5. 1
    1
      Marlin/src/libs/least_squares_fit.cpp
  6. 3
    2
      buildroot/share/tests/DUE-tests
  7. 17
    4
      config/default/Configuration_adv.h
  8. 17
    4
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  9. 17
    4
      config/examples/ADIMLab/Gantry v1/Configuration_adv.h
  10. 17
    4
      config/examples/ADIMLab/Gantry v2/Configuration_adv.h
  11. 17
    4
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  12. 17
    4
      config/examples/Alfawise/U20-bltouch/Configuration_adv.h
  13. 17
    4
      config/examples/Alfawise/U20/Configuration_adv.h
  14. 17
    4
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  15. 17
    4
      config/examples/Anet/A2/Configuration_adv.h
  16. 17
    4
      config/examples/Anet/A2plus/Configuration_adv.h
  17. 17
    4
      config/examples/Anet/A6/Configuration_adv.h
  18. 17
    4
      config/examples/Anet/A8/Configuration_adv.h
  19. 17
    4
      config/examples/Anet/A8plus/Configuration_adv.h
  20. 17
    4
      config/examples/Anet/E16/Configuration_adv.h
  21. 17
    4
      config/examples/AnyCubic/i3/Configuration_adv.h
  22. 17
    4
      config/examples/ArmEd/Configuration_adv.h
  23. 17
    4
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  24. 17
    4
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  25. 17
    4
      config/examples/BQ/Hephestos/Configuration_adv.h
  26. 17
    4
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  27. 17
    4
      config/examples/BQ/WITBOX/Configuration_adv.h
  28. 17
    4
      config/examples/Cartesio/Configuration_adv.h
  29. 17
    4
      config/examples/Creality/CR-10/Configuration_adv.h
  30. 17
    4
      config/examples/Creality/CR-10S/Configuration_adv.h
  31. 17
    4
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  32. 17
    4
      config/examples/Creality/CR-10mini/Configuration_adv.h
  33. 17
    4
      config/examples/Creality/CR-20 Pro/Configuration_adv.h
  34. 17
    4
      config/examples/Creality/CR-20/Configuration_adv.h
  35. 17
    4
      config/examples/Creality/CR-8/Configuration_adv.h
  36. 17
    4
      config/examples/Creality/Ender-2/Configuration_adv.h
  37. 17
    4
      config/examples/Creality/Ender-3/Configuration_adv.h
  38. 17
    4
      config/examples/Creality/Ender-4/Configuration_adv.h
  39. 17
    4
      config/examples/Creality/Ender-5/Configuration_adv.h
  40. 17
    4
      config/examples/Dagoma/Disco Ultimate/Configuration_adv.h
  41. 17
    4
      config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration_adv.h
  42. 17
    4
      config/examples/Einstart-S/Configuration_adv.h
  43. 17
    4
      config/examples/FYSETC/AIO_II/Configuration_adv.h
  44. 17
    4
      config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration_adv.h
  45. 17
    4
      config/examples/FYSETC/Cheetah 1.2/base/Configuration_adv.h
  46. 17
    4
      config/examples/FYSETC/Cheetah/BLTouch/Configuration_adv.h
  47. 17
    4
      config/examples/FYSETC/Cheetah/base/Configuration_adv.h
  48. 17
    4
      config/examples/FYSETC/F6_13/Configuration_adv.h
  49. 17
    4
      config/examples/Felix/DUAL/Configuration_adv.h
  50. 17
    4
      config/examples/Felix/Single/Configuration_adv.h
  51. 17
    4
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  52. 17
    4
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  53. 17
    4
      config/examples/Formbot/Raptor/Configuration_adv.h
  54. 17
    4
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  55. 17
    4
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  56. 17
    4
      config/examples/Geeetech/A10/Configuration_adv.h
  57. 17
    4
      config/examples/Geeetech/A10M/Configuration_adv.h
  58. 17
    4
      config/examples/Geeetech/A20M/Configuration_adv.h
  59. 17
    4
      config/examples/Geeetech/MeCreator2/Configuration_adv.h
  60. 17
    4
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  61. 17
    4
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  62. 17
    4
      config/examples/HMS434/Configuration_adv.h
  63. 17
    4
      config/examples/Infitary/i3-M508/Configuration_adv.h
  64. 17
    4
      config/examples/JGAurora/A1/Configuration_adv.h
  65. 17
    4
      config/examples/JGAurora/A5/Configuration_adv.h
  66. 17
    4
      config/examples/JGAurora/A5S/Configuration_adv.h
  67. 17
    4
      config/examples/MakerParts/Configuration_adv.h
  68. 17
    4
      config/examples/Malyan/M150/Configuration_adv.h
  69. 17
    4
      config/examples/Malyan/M200/Configuration_adv.h
  70. 17
    4
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  71. 17
    4
      config/examples/Mks/Robin/Configuration_adv.h
  72. 17
    4
      config/examples/Mks/Sbase/Configuration_adv.h
  73. 17
    4
      config/examples/RapideLite/RL200/Configuration_adv.h
  74. 17
    4
      config/examples/RigidBot/Configuration_adv.h
  75. 17
    4
      config/examples/SCARA/Configuration_adv.h
  76. 17
    4
      config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h
  77. 17
    4
      config/examples/Sanguinololu/Configuration_adv.h
  78. 17
    4
      config/examples/Tevo/Michelangelo/Configuration_adv.h
  79. 21
    4
      config/examples/Tevo/Tarantula Pro/Configuration_adv.h
  80. 17
    4
      config/examples/Tevo/Tornado/V1 (MKS Base)/Configuration_adv.h
  81. 17
    4
      config/examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration_adv.h
  82. 17
    4
      config/examples/TheBorg/Configuration_adv.h
  83. 17
    4
      config/examples/TinyBoy2/Configuration_adv.h
  84. 17
    4
      config/examples/Tronxy/X3A/Configuration_adv.h
  85. 17
    4
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  86. 17
    4
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  87. 17
    4
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  88. 17
    4
      config/examples/VORONDesign/Configuration_adv.h
  89. 17
    4
      config/examples/Velleman/K8200/Configuration_adv.h
  90. 17
    4
      config/examples/Velleman/K8400/Dual-head/Configuration_adv.h
  91. 17
    4
      config/examples/Velleman/K8400/Single-head/Configuration_adv.h
  92. 17
    4
      config/examples/WASP/PowerWASP/Configuration_adv.h
  93. 17
    4
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  94. 18
    6
      config/examples/Wanhao/Duplicator i3 2.1/Configuration_adv.h
  95. 17
    4
      config/examples/Wanhao/Duplicator i3 Mini/Configuration_adv.h
  96. 17
    4
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  97. 17
    4
      config/examples/delta/Dreammaker/Overlord/Configuration_adv.h
  98. 17
    4
      config/examples/delta/Dreammaker/Overlord_Pro/Configuration_adv.h
  99. 17
    4
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  100. 0
    0
      config/examples/delta/FLSUN/kossel/Configuration_adv.h

+ 17
- 4
Marlin/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 161
- 63
Marlin/src/gcode/calibrate/G34_M422.cpp Прегледај датотеку

@@ -25,37 +25,49 @@
25 25
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
26 26
 
27 27
 #include "../gcode.h"
28
-#include "../../module/delta.h"
29
-#include "../../module/motion.h"
28
+#include "../../module/planner.h"
30 29
 #include "../../module/stepper.h"
31
-#include "../../module/endstops.h"
30
+#include "../../module/motion.h"
31
+#include "../../module/probe.h"
32 32
 
33 33
 #if HOTENDS > 1
34 34
   #include "../../module/tool_change.h"
35 35
 #endif
36 36
 
37
-#if HAS_BED_PROBE
38
-  #include "../../module/probe.h"
39
-#endif
40
-
41 37
 #if HAS_LEVELING
42 38
   #include "../../feature/bedlevel/bedlevel.h"
43 39
 #endif
44 40
 
41
+#if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
42
+   #include "../../libs/least_squares_fit.h"
43
+#endif
44
+
45 45
 #define DEBUG_OUT ENABLED(DEBUG_LEVELING_FEATURE)
46 46
 #include "../../core/debug_out.h"
47 47
 
48
-// Sanity-check
48
+// Sanity-check the count of Z_STEPPER_ALIGN_XY points
49 49
 constexpr xy_pos_t sanity_arr_z_align[] = Z_STEPPER_ALIGN_XY;
50
-static_assert(COUNT(sanity_arr_z_align) == Z_STEPPER_COUNT,
51
-  #if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
52
-    "Z_STEPPER_ALIGN_XY requires three {X,Y} entries (Z, Z2, and Z3)."
53
-  #else
54
-    "Z_STEPPER_ALIGN_XY requires two {X,Y} entries (Z and Z2)."
55
-  #endif
56
-);
50
+#if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
51
+  static_assert(COUNT(sanity_arr_z_align) >= Z_STEPPER_COUNT,
52
+    "Z_STEPPER_ALIGN_XY requires at least three {X,Y} entries (Z, Z2, Z3, ...)."
53
+  );
54
+#else
55
+  static_assert(COUNT(sanity_arr_z_align) == Z_STEPPER_COUNT,
56
+    #if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
57
+      "Z_STEPPER_ALIGN_XY requires three {X,Y} entries (Z, Z2, and Z3)."
58
+    #else
59
+      "Z_STEPPER_ALIGN_XY requires two {X,Y} entries (Z and Z2)."
60
+    #endif
61
+  );
62
+#endif
63
+
64
+static xy_pos_t z_auto_align_pos[Z_STEPPER_COUNT] = Z_STEPPER_ALIGN_XY;
65
+
66
+#if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
67
+  static xy_pos_t z_stepper_pos[] = Z_STEPPER_ALIGN_STEPPER_XY;
68
+#endif
57 69
 
58
-xy_pos_t z_auto_align_pos[Z_STEPPER_COUNT] = Z_STEPPER_ALIGN_XY;
70
+#define G34_PROBE_COUNT COUNT(z_auto_align_pos)
59 71
 
60 72
 inline void set_all_z_lock(const bool lock) {
61 73
   stepper.set_z_lock(lock);
@@ -68,7 +80,9 @@ inline void set_all_z_lock(const bool lock) {
68 80
 /**
69 81
  * G34: Z-Stepper automatic alignment
70 82
  *
71
- * Parameters: I<iterations> T<accuracy> A<amplification>
83
+ *   I<iterations>
84
+ *   T<accuracy>
85
+ *   A<amplification>
72 86
  */
73 87
 void GcodeSuite::G34() {
74 88
   if (DEBUGGING(LEVELING)) {
@@ -90,11 +104,18 @@ void GcodeSuite::G34() {
90 104
       break;
91 105
     }
92 106
 
93
-    const float z_auto_align_amplification = parser.floatval('A', Z_STEPPER_ALIGN_AMP);
94
-    if (!WITHIN(ABS(z_auto_align_amplification), 0.5f, 2.0f)) {
95
-      SERIAL_ECHOLNPGM("?(A)mplification out of bounds (0.5-2.0).");
96
-      break;
97
-    }
107
+    const float z_auto_align_amplification =
108
+      #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
109
+        Z_STEPPER_ALIGN_AMP;
110
+      #else
111
+        parser.floatval('A', Z_STEPPER_ALIGN_AMP);
112
+        if (!WITHIN(ABS(z_auto_align_amplification), 0.5f, 2.0f)) {
113
+          SERIAL_ECHOLNPGM("?(A)mplification out of bounds (0.5-2.0).");
114
+          break;
115
+        }
116
+      #endif
117
+
118
+    const ProbePtRaise raise_after = parser.boolval('E') ? PROBE_PT_STOW : PROBE_PT_RAISE;
98 119
 
99 120
     // Wait for planner moves to finish!
100 121
     planner.synchronize();
@@ -130,11 +151,13 @@ void GcodeSuite::G34() {
130 151
       #define Z_BASIC_CLEARANCE Z_CLEARANCE_BETWEEN_PROBES
131 152
     #endif
132 153
 
154
+    // Compute a worst-case clearance height to probe from. After the first
155
+    // iteration this will be re-calculated based on the actual bed position
133 156
     float z_probe = Z_BASIC_CLEARANCE + (G34_MAX_GRADE) * 0.01f * (
134 157
       #if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
135 158
          SQRT(_MAX(HYPOT2(z_auto_align_pos[0].x - z_auto_align_pos[0].y, z_auto_align_pos[1].x - z_auto_align_pos[1].y),
136
-                  HYPOT2(z_auto_align_pos[1].x - z_auto_align_pos[1].y, z_auto_align_pos[2].x - z_auto_align_pos[2].y),
137
-                  HYPOT2(z_auto_align_pos[2].x - z_auto_align_pos[2].y, z_auto_align_pos[0].x - z_auto_align_pos[0].y)))
159
+                   HYPOT2(z_auto_align_pos[1].x - z_auto_align_pos[1].y, z_auto_align_pos[2].x - z_auto_align_pos[2].y),
160
+                   HYPOT2(z_auto_align_pos[2].x - z_auto_align_pos[2].y, z_auto_align_pos[0].x - z_auto_align_pos[0].y)))
138 161
       #else
139 162
          HYPOT(z_auto_align_pos[0].x - z_auto_align_pos[0].y, z_auto_align_pos[1].x - z_auto_align_pos[1].y)
140 163
       #endif
@@ -147,12 +170,10 @@ void GcodeSuite::G34() {
147 170
     current_position.z -= z_probe * 0.5f;
148 171
 
149 172
     float last_z_align_move[Z_STEPPER_COUNT] = ARRAY_N(Z_STEPPER_COUNT, 10000.0f, 10000.0f, 10000.0f),
150
-          z_measured[Z_STEPPER_COUNT] = { 0 },
173
+          z_measured[G34_PROBE_COUNT] = { 0 },
151 174
           z_maxdiff = 0.0f,
152 175
           amplification = z_auto_align_amplification;
153 176
 
154
-    const ProbePtRaise raise_after = parser.boolval('E') ? PROBE_PT_STOW : PROBE_PT_RAISE;
155
-
156 177
     uint8_t iteration;
157 178
     bool err_break = false;
158 179
     for (iteration = 0; iteration < z_auto_align_iterations; ++iteration) {
@@ -161,17 +182,19 @@ void GcodeSuite::G34() {
161 182
       SERIAL_ECHOLNPAIR("\nITERATION: ", int(iteration + 1));
162 183
 
163 184
       // Initialize minimum value
164
-      float z_measured_min = 100000.0f;
185
+      float z_measured_min = 100000.0f,
186
+            z_measured_max = -100000.0f;
187
+
165 188
       // Probe all positions (one per Z-Stepper)
166
-      for (uint8_t izstepper = 0; izstepper < Z_STEPPER_COUNT; ++izstepper) {
189
+      for (uint8_t i = 0; i < G34_PROBE_COUNT; ++i) {
167 190
         // iteration odd/even --> downward / upward stepper sequence
168
-        const uint8_t zstepper = (iteration & 1) ? Z_STEPPER_COUNT - 1 - izstepper : izstepper;
191
+        const uint8_t iprobe = (iteration & 1) ? G34_PROBE_COUNT - 1 - i : i;
169 192
 
170 193
         // Safe clearance even on an incline
171
-        if (iteration == 0 || izstepper > 0) do_blocking_move_to_z(z_probe);
194
+        if (iteration == 0 || i > 0) do_blocking_move_to_z(z_probe);
172 195
 
173 196
         // Probe a Z height for each stepper.
174
-        const float z_probed_height = probe_at_point(z_auto_align_pos[zstepper], raise_after, 0, true);
197
+        const float z_probed_height = probe_at_point(z_auto_align_pos[i], raise_after, 0, true);
175 198
         if (isnan(z_probed_height)) {
176 199
           SERIAL_ECHOLNPGM("Probing failed.");
177 200
           err_break = true;
@@ -180,35 +203,58 @@ void GcodeSuite::G34() {
180 203
 
181 204
         // Add height to each value, to provide a more useful target height for
182 205
         // the next iteration of probing. This allows adjustments to be made away from the bed.
183
-        z_measured[zstepper] = z_probed_height + Z_CLEARANCE_BETWEEN_PROBES;
206
+        z_measured[iprobe] = z_probed_height + Z_CLEARANCE_BETWEEN_PROBES;
184 207
 
185
-        if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("> Z", int(zstepper + 1), " measured position is ", z_measured[zstepper]);
208
+        if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("> Z", int(iprobe + 1), " measured position is ", z_measured[iprobe]);
186 209
 
187 210
         // Remember the minimum measurement to calculate the correction later on
188
-        z_measured_min = _MIN(z_measured_min, z_measured[zstepper]);
189
-      } // for (zstepper)
211
+        z_measured_min = _MIN(z_measured_min, z_measured[iprobe]);
212
+        z_measured_max = _MAX(z_measured_max, z_measured[iprobe]);
213
+      } // for (i)
190 214
 
191 215
       if (err_break) break;
192 216
 
193 217
       // Adapt the next probe clearance height based on the new measurements.
194 218
       // Safe_height = lowest distance to bed (= highest measurement) plus highest measured misalignment.
195
-      #if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
196
-        z_maxdiff = _MAX(ABS(z_measured[0] - z_measured[1]), ABS(z_measured[1] - z_measured[2]), ABS(z_measured[2] - z_measured[0]));
197
-        z_probe = Z_BASIC_CLEARANCE + _MAX(z_measured[0], z_measured[1], z_measured[2]) + z_maxdiff;
198
-      #else
199
-        z_maxdiff = ABS(z_measured[0] - z_measured[1]);
200
-        z_probe = Z_BASIC_CLEARANCE + _MAX(z_measured[0], z_measured[1]) + z_maxdiff;
219
+      z_maxdiff = z_measured_max - z_measured_min;
220
+      z_probe = Z_BASIC_CLEARANCE + z_measured_max + z_maxdiff;
221
+
222
+      #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
223
+        // Replace the initial values in z_measured with calculated heights at
224
+        // each stepper position. This allows the adjustment algorithm to be
225
+        // shared between both possible probing mechanisms.
226
+
227
+        // This must be done after the next z_probe height is calculated, so that
228
+        // the height is calculated from actual print area positions, and not
229
+        // extrapolated motor movements.
230
+
231
+        // Compute the least-squares fit for all probed points.
232
+        // Calculate the Z position of each stepper and store it in z_measured.
233
+        // This allows the actual adjustment logic to be shared by both algorithms.
234
+        linear_fit_data lfd;
235
+        incremental_LSF_reset(&lfd);
236
+        for (uint8_t i = 0; i < G34_PROBE_COUNT; ++i) {
237
+          SERIAL_ECHOLNPAIR("PROBEPT_", int(i + 1), ": ", z_measured[i]);
238
+          incremental_LSF(&lfd, z_auto_align_pos[i], z_measured[i]);
239
+        }
240
+        finish_incremental_LSF(&lfd);
241
+
242
+        z_measured_min = 100000.0f;
243
+        for (uint8_t i = 0; i < Z_STEPPER_COUNT; ++i) {
244
+          z_measured[i] = -(lfd.A * z_stepper_pos[i].x + lfd.B * z_stepper_pos[i].y);
245
+          z_measured_min = _MIN(z_measured_min, z_measured[i]);
246
+        }
247
+
248
+        SERIAL_ECHOLNPAIR("CALCULATED STEPPER POSITIONS: Z1=", z_measured[0], " Z2=", z_measured[1], " Z3=", z_measured[2]);
201 249
       #endif
202 250
 
203
-      SERIAL_ECHOPAIR("\n"
251
+      SERIAL_ECHOLNPAIR("\n"
204 252
         "DIFFERENCE Z1-Z2=", ABS(z_measured[0] - z_measured[1])
205 253
         #if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
206 254
           , " Z2-Z3=", ABS(z_measured[1] - z_measured[2])
207 255
           , " Z3-Z1=", ABS(z_measured[2] - z_measured[0])
208 256
         #endif
209 257
       );
210
-      SERIAL_EOL();
211
-      SERIAL_EOL();
212 258
 
213 259
       // The following correction actions are to be enabled for select Z-steppers only
214 260
       stepper.set_separate_multi_axis(true);
@@ -220,8 +266,10 @@ void GcodeSuite::G34() {
220 266
         const float z_align_move = z_measured[zstepper] - z_measured_min,
221 267
                     z_align_abs = ABS(z_align_move);
222 268
 
223
-        // Optimize one iterations correction based on the first measurements
224
-        if (z_align_abs > 0.0f) amplification = iteration == 1 ? _MIN(last_z_align_move[zstepper] / z_align_abs, 2.0f) : z_auto_align_amplification;
269
+        #if DISABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
270
+          // Optimize one iteration's correction based on the first measurements
271
+          if (z_align_abs > 0.0f) amplification = iteration == 1 ? _MIN(last_z_align_move[zstepper] / z_align_abs, 2.0f) : z_auto_align_amplification;
272
+        #endif
225 273
 
226 274
         // Check for less accuracy compared to last move
227 275
         if (last_z_align_move[zstepper] < z_align_abs - 1.0) {
@@ -266,7 +314,6 @@ void GcodeSuite::G34() {
266 314
 
267 315
     SERIAL_ECHOLNPAIR("Did ", int(iteration + (iteration != z_auto_align_iterations)), " iterations of ", int(z_auto_align_iterations));
268 316
     SERIAL_ECHOLNPAIR_F("Accuracy: ", z_maxdiff);
269
-    SERIAL_EOL();
270 317
 
271 318
     // Restore the active tool after homing
272 319
     #if HOTENDS > 1
@@ -299,31 +346,82 @@ void GcodeSuite::G34() {
299 346
 }
300 347
 
301 348
 /**
302
- * M422: Z-Stepper automatic alignment parameter selection
349
+ * M422: Set a Z-Stepper automatic alignment XY point.
350
+ *       Use repeatedly to set multiple points.
351
+ *
352
+ *   S<index> : Index of the probe point to set
353
+ *
354
+ * With Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS:
355
+ *   W<index> : Index of the Z stepper position to set
356
+ *              The W and S parameters may not be combined.
357
+ *
358
+ * S and W require an X and/or Y parameter
359
+ *   X<pos>   : X position to set (Unchanged if omitted)
360
+ *   Y<pos>   : Y position to set (Unchanged if omitted)
303 361
  */
304 362
 void GcodeSuite::M422() {
305
-  const int8_t zstepper = parser.intval('S') - 1;
306
-  if (!WITHIN(zstepper, 0, Z_STEPPER_COUNT - 1)) {
307
-    SERIAL_ECHOLNPGM("?(S) Z-Stepper index invalid.");
363
+  if (!parser.seen_any()) {
364
+    for (uint8_t i = 0; i < G34_PROBE_COUNT; ++i)
365
+      SERIAL_ECHOLNPAIR("M422 S", i + 1, " X", z_auto_align_pos[i].x, " Y", z_auto_align_pos[i].y);
366
+    #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
367
+      for (uint8_t i = 0; i < Z_STEPPER_COUNT; ++i)
368
+        SERIAL_ECHOLNPAIR("M422 W", i + 1, " X", z_stepper_pos[i].x, " Y", z_stepper_pos[i].y);
369
+    #endif
308 370
     return;
309 371
   }
310 372
 
311
-  const xy_pos_t pos = {
312
-    parser.floatval('X', z_auto_align_pos[zstepper].x),
313
-    parser.floatval('Y', z_auto_align_pos[zstepper].y)
314
-  };
373
+  const bool is_probe_point = parser.seen('S');
315 374
 
316
-  if (!WITHIN(pos.x, X_MIN_POS, X_MAX_POS)) {
317
-    SERIAL_ECHOLNPGM("?(X) out of bounds.");
318
-    return;
375
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
376
+    if (is_probe_point && parser.seen('W')) {
377
+      SERIAL_ECHOLNPGM("?(S) and (W) may not be combined.");
378
+      return;
379
+    }
380
+  #endif
381
+
382
+  xy_pos_t *pos_dest = (
383
+    #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
384
+      !is_probe_point ? z_stepper_pos :
385
+    #endif
386
+    z_auto_align_pos
387
+  );
388
+
389
+  // Get the Probe Position Index or Z Stepper Index
390
+  int8_t position_index;
391
+  if (is_probe_point) {
392
+    position_index = parser.intval('S') - 1;
393
+    if (!WITHIN(position_index, 0, int8_t(G34_PROBE_COUNT) - 1)) {
394
+      SERIAL_ECHOLNPGM("?(S) Z-ProbePosition index invalid.");
395
+      return;
396
+    }
397
+  }
398
+  else {
399
+    #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
400
+      position_index = parser.intval('W') - 1;
401
+      if (!WITHIN(position_index, 0, Z_STEPPER_COUNT - 1)) {
402
+        SERIAL_ECHOLNPGM("?(W) Z-Stepper index invalid.");
403
+        return;
404
+      }
405
+    #endif
319 406
   }
320 407
 
321
-  if (!WITHIN(pos.y, Y_MIN_POS, Y_MAX_POS)) {
322
-    SERIAL_ECHOLNPGM("?(Y) out of bounds.");
323
-    return;
408
+  const xy_pos_t pos = {
409
+    parser.floatval('X', pos_dest[position_index].x),
410
+    parser.floatval('Y', pos_dest[position_index].y)
411
+  };
412
+
413
+  if (is_probe_point) {
414
+    if (!position_is_reachable_by_probe(pos.x, Y_CENTER)) {
415
+      SERIAL_ECHOLNPGM("?(X) out of bounds.");
416
+      return;
417
+    }
418
+    if (!position_is_reachable_by_probe(pos)) {
419
+      SERIAL_ECHOLNPGM("?(Y) out of bounds.");
420
+      return;
421
+    }
324 422
   }
325 423
 
326
-  z_auto_align_pos[zstepper] = pos;
424
+  pos_dest[position_index] = pos;
327 425
 }
328 426
 
329 427
 #endif // Z_STEPPER_AUTO_ALIGN

+ 7
- 0
Marlin/src/inc/Conditionals_post.h Прегледај датотеку

@@ -1808,3 +1808,10 @@
1808 1808
 #if !NUM_SERIAL
1809 1809
   #undef BAUD_RATE_GCODE
1810 1810
 #endif
1811
+
1812
+#if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
1813
+  #undef Z_STEPPER_ALIGN_AMP
1814
+#endif
1815
+#ifndef Z_STEPPER_ALIGN_AMP
1816
+  #define Z_STEPPER_ALIGN_AMP 1.0
1817
+#endif

+ 13
- 0
Marlin/src/inc/SanityCheck.h Прегледај датотеку

@@ -2335,11 +2335,24 @@ static_assert(   _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
2335 2335
 #endif
2336 2336
 
2337 2337
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
2338
+
2338 2339
   #if !Z_MULTI_STEPPER_DRIVERS
2339 2340
     #error "Z_STEPPER_AUTO_ALIGN requires Z_DUAL_STEPPER_DRIVERS or Z_TRIPLE_STEPPER_DRIVERS."
2340 2341
   #elif !HAS_BED_PROBE
2341 2342
     #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
2342 2343
   #endif
2344
+
2345
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
2346
+    #if DISABLED(Z_TRIPLE_STEPPER_DRIVERS)
2347
+      #error "Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS requires Z_TRIPLE_STEPPER_DRIVERS."
2348
+    #endif
2349
+    constexpr float sanity_arr_screw_xy[][2] = Z_STEPPER_ALIGN_STEPPER_XY;
2350
+    static_assert(
2351
+      COUNT(sanity_arr_screw_xy) == Z_STEPPER_COUNT,
2352
+      "Z_STEPPER_ALIGN_STEPPER_XY requires three {X,Y} entries (one per Z stepper)."
2353
+    );
2354
+  #endif
2355
+
2343 2356
 #endif
2344 2357
 
2345 2358
 #if ENABLED(PRINTCOUNTER) && DISABLED(EEPROM_SETTINGS)

+ 1
- 1
Marlin/src/libs/least_squares_fit.cpp Прегледај датотеку

@@ -34,7 +34,7 @@
34 34
 
35 35
 #include "../inc/MarlinConfig.h"
36 36
 
37
-#if EITHER(AUTO_BED_LEVELING_UBL, AUTO_BED_LEVELING_LINEAR)
37
+#if ANY(AUTO_BED_LEVELING_UBL, AUTO_BED_LEVELING_LINEAR, Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
38 38
 
39 39
 #include "least_squares_fit.h"
40 40
 

+ 3
- 2
buildroot/share/tests/DUE-tests Прегледај датотеку

@@ -38,8 +38,9 @@ exec_test $1 $2 "RAMPS4DUE_EFB with ABL (Bilinear), EXTENSIBLE_UI, S-Curve, many
38 38
 
39 39
 restore_configs
40 40
 opt_set MOTHERBOARD BOARD_RADDS
41
-opt_enable USE_XMAX_PLUG USE_YMAX_PLUG BLTOUCH AUTO_BED_LEVELING_BILINEAR \
42
-           Z_TRIPLE_STEPPER_DRIVERS Z_TRIPLE_ENDSTOPS Z_STEPPER_AUTO_ALIGN ENDSTOPPULLUPS
41
+opt_enable USE_XMAX_PLUG USE_YMAX_PLUG ENDSTOPPULLUPS BLTOUCH AUTO_BED_LEVELING_BILINEAR \
42
+           Z_TRIPLE_STEPPER_DRIVERS Z_TRIPLE_ENDSTOPS Z_STEPPER_AUTO_ALIGN \
43
+           Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
43 44
            #LULZBOT_TOUCH_UI LCD_ALEPHOBJECTS_CLCD_UI OTHER_PIN_LAYOUT
44 45
 opt_add Z2_MAX_ENDSTOP_INVERTING false
45 46
 opt_add Z3_MAX_ENDSTOP_INVERTING false

+ 17
- 4
config/default/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/3DFabXYZ/Migbot/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/ADIMLab/Gantry v1/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/ADIMLab/Gantry v2/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/AlephObjects/TAZ4/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Alfawise/U20-bltouch/Configuration_adv.h Прегледај датотеку

@@ -605,18 +605,31 @@
605 605
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
606 606
   // Define probe X and Y positions for Z1, Z2 [, Z3]
607 607
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
608
+
609
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
610
+  // Currently requires triple stepper drivers.
611
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
612
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
613
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
614
+    // the Z screw positions in the bed carriage.
615
+    // Define one position per Z stepper in stepper driver order.
616
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
617
+  #else
618
+    // Amplification factor. Used to scale the correction step up or down.
619
+    // In case the stepper (spindle) position is further out than the test point.
620
+    // Use a value > 1. NOTE: This may cause instability
621
+    #define Z_STEPPER_ALIGN_AMP 1.0
622
+  #endif
623
+
608 624
   // Set number of iterations to align
609 625
   #define Z_STEPPER_ALIGN_ITERATIONS 3
626
+
610 627
   // Enable to restore leveling setup after operation
611 628
   #define RESTORE_LEVELING_AFTER_G34
612 629
 
613 630
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
614 631
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
615 632
 
616
-  // Use the amplification factor to de-/increase correction step.
617
-  // In case the stepper (spindle) position is further out than the test point
618
-  // Use a value > 1. NOTE: This may cause instability
619
-  #define Z_STEPPER_ALIGN_AMP 1.0
620 633
   // Stop criterion. If the accuracy is better than this stop iterating early
621 634
   #define Z_STEPPER_ALIGN_ACC 0.02
622 635
 #endif

+ 17
- 4
config/examples/Alfawise/U20/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/AliExpress/UM2pExt/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Anet/A2/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Anet/A2plus/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Anet/A6/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Anet/A8/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Anet/A8plus/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Anet/E16/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/AnyCubic/i3/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/ArmEd/Configuration_adv.h Прегледај датотеку

@@ -608,18 +608,31 @@
608 608
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
609 609
   // Define probe X and Y positions for Z1, Z2 [, Z3]
610 610
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
611
+
612
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
613
+  // Currently requires triple stepper drivers.
614
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
615
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
616
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
617
+    // the Z screw positions in the bed carriage.
618
+    // Define one position per Z stepper in stepper driver order.
619
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
620
+  #else
621
+    // Amplification factor. Used to scale the correction step up or down.
622
+    // In case the stepper (spindle) position is further out than the test point.
623
+    // Use a value > 1. NOTE: This may cause instability
624
+    #define Z_STEPPER_ALIGN_AMP 1.0
625
+  #endif
626
+
611 627
   // Set number of iterations to align
612 628
   #define Z_STEPPER_ALIGN_ITERATIONS 3
629
+
613 630
   // Enable to restore leveling setup after operation
614 631
   #define RESTORE_LEVELING_AFTER_G34
615 632
 
616 633
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
617 634
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
618 635
 
619
-  // Use the amplification factor to de-/increase correction step.
620
-  // In case the stepper (spindle) position is further out than the test point
621
-  // Use a value > 1. NOTE: This may cause instability
622
-  #define Z_STEPPER_ALIGN_AMP 1.0
623 636
   // Stop criterion. If the accuracy is better than this stop iterating early
624 637
   #define Z_STEPPER_ALIGN_ACC 0.02
625 638
 #endif

+ 17
- 4
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/BIBO/TouchX/default/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/BQ/Hephestos/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/BQ/Hephestos_2/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/BQ/WITBOX/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Cartesio/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Creality/CR-10/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Creality/CR-10S/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Creality/CR-10_5S/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Creality/CR-10mini/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Creality/CR-20 Pro/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Creality/CR-20/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Creality/CR-8/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Creality/Ender-2/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Creality/Ender-3/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Creality/Ender-4/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Creality/Ender-5/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Dagoma/Disco Ultimate/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Einstart-S/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/FYSETC/AIO_II/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/FYSETC/Cheetah 1.2/base/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/FYSETC/Cheetah/BLTouch/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/FYSETC/Cheetah/base/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/FYSETC/F6_13/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Felix/DUAL/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Felix/Single/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/FlashForge/CreatorPro/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/FolgerTech/i3-2020/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Formbot/Raptor/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Formbot/T_Rex_2+/Configuration_adv.h Прегледај датотеку

@@ -608,18 +608,31 @@
608 608
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
609 609
   // Define probe X and Y positions for Z1, Z2 [, Z3]
610 610
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
611
+
612
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
613
+  // Currently requires triple stepper drivers.
614
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
615
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
616
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
617
+    // the Z screw positions in the bed carriage.
618
+    // Define one position per Z stepper in stepper driver order.
619
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
620
+  #else
621
+    // Amplification factor. Used to scale the correction step up or down.
622
+    // In case the stepper (spindle) position is further out than the test point.
623
+    // Use a value > 1. NOTE: This may cause instability
624
+    #define Z_STEPPER_ALIGN_AMP 1.0
625
+  #endif
626
+
611 627
   // Set number of iterations to align
612 628
   #define Z_STEPPER_ALIGN_ITERATIONS 3
629
+
613 630
   // Enable to restore leveling setup after operation
614 631
   #define RESTORE_LEVELING_AFTER_G34
615 632
 
616 633
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
617 634
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
618 635
 
619
-  // Use the amplification factor to de-/increase correction step.
620
-  // In case the stepper (spindle) position is further out than the test point
621
-  // Use a value > 1. NOTE: This may cause instability
622
-  #define Z_STEPPER_ALIGN_AMP 1.0
623 636
   // Stop criterion. If the accuracy is better than this stop iterating early
624 637
   #define Z_STEPPER_ALIGN_ACC 0.02
625 638
 #endif

+ 17
- 4
config/examples/Formbot/T_Rex_3/Configuration_adv.h Прегледај датотеку

@@ -608,18 +608,31 @@
608 608
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
609 609
   // Define probe X and Y positions for Z1, Z2 [, Z3]
610 610
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
611
+
612
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
613
+  // Currently requires triple stepper drivers.
614
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
615
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
616
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
617
+    // the Z screw positions in the bed carriage.
618
+    // Define one position per Z stepper in stepper driver order.
619
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
620
+  #else
621
+    // Amplification factor. Used to scale the correction step up or down.
622
+    // In case the stepper (spindle) position is further out than the test point.
623
+    // Use a value > 1. NOTE: This may cause instability
624
+    #define Z_STEPPER_ALIGN_AMP 1.0
625
+  #endif
626
+
611 627
   // Set number of iterations to align
612 628
   #define Z_STEPPER_ALIGN_ITERATIONS 3
629
+
613 630
   // Enable to restore leveling setup after operation
614 631
   #define RESTORE_LEVELING_AFTER_G34
615 632
 
616 633
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
617 634
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
618 635
 
619
-  // Use the amplification factor to de-/increase correction step.
620
-  // In case the stepper (spindle) position is further out than the test point
621
-  // Use a value > 1. NOTE: This may cause instability
622
-  #define Z_STEPPER_ALIGN_AMP 1.0
623 636
   // Stop criterion. If the accuracy is better than this stop iterating early
624 637
   #define Z_STEPPER_ALIGN_ACC 0.02
625 638
 #endif

+ 17
- 4
config/examples/Geeetech/A10/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Geeetech/A10M/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Geeetech/A20M/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Geeetech/MeCreator2/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/HMS434/Configuration_adv.h Прегледај датотеку

@@ -596,18 +596,31 @@
596 596
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
597 597
   // Define probe X and Y positions for Z1, Z2 [, Z3]
598 598
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
599
+
600
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
601
+  // Currently requires triple stepper drivers.
602
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
603
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
604
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
605
+    // the Z screw positions in the bed carriage.
606
+    // Define one position per Z stepper in stepper driver order.
607
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
608
+  #else
609
+    // Amplification factor. Used to scale the correction step up or down.
610
+    // In case the stepper (spindle) position is further out than the test point.
611
+    // Use a value > 1. NOTE: This may cause instability
612
+    #define Z_STEPPER_ALIGN_AMP 1.0
613
+  #endif
614
+
599 615
   // Set number of iterations to align
600 616
   #define Z_STEPPER_ALIGN_ITERATIONS 3
617
+
601 618
   // Enable to restore leveling setup after operation
602 619
   #define RESTORE_LEVELING_AFTER_G34
603 620
 
604 621
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
605 622
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
606 623
 
607
-  // Use the amplification factor to de-/increase correction step.
608
-  // In case the stepper (spindle) position is further out than the test point
609
-  // Use a value > 1. NOTE: This may cause instability
610
-  #define Z_STEPPER_ALIGN_AMP 1.0
611 624
   // Stop criterion. If the accuracy is better than this stop iterating early
612 625
   #define Z_STEPPER_ALIGN_ACC 0.02
613 626
 #endif

+ 17
- 4
config/examples/Infitary/i3-M508/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/JGAurora/A1/Configuration_adv.h Прегледај датотеку

@@ -609,18 +609,31 @@
609 609
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
610 610
   // Define probe X and Y positions for Z1, Z2 [, Z3]
611 611
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
612
+
613
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
614
+  // Currently requires triple stepper drivers.
615
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
616
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
617
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
618
+    // the Z screw positions in the bed carriage.
619
+    // Define one position per Z stepper in stepper driver order.
620
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
621
+  #else
622
+    // Amplification factor. Used to scale the correction step up or down.
623
+    // In case the stepper (spindle) position is further out than the test point.
624
+    // Use a value > 1. NOTE: This may cause instability
625
+    #define Z_STEPPER_ALIGN_AMP 1.0
626
+  #endif
627
+
612 628
   // Set number of iterations to align
613 629
   #define Z_STEPPER_ALIGN_ITERATIONS 3
630
+
614 631
   // Enable to restore leveling setup after operation
615 632
   #define RESTORE_LEVELING_AFTER_G34
616 633
 
617 634
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
618 635
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
619 636
 
620
-  // Use the amplification factor to de-/increase correction step.
621
-  // In case the stepper (spindle) position is further out than the test point
622
-  // Use a value > 1. NOTE: This may cause instability
623
-  #define Z_STEPPER_ALIGN_AMP 1.0
624 637
   // Stop criterion. If the accuracy is better than this stop iterating early
625 638
   #define Z_STEPPER_ALIGN_ACC 0.02
626 639
 #endif

+ 17
- 4
config/examples/JGAurora/A5/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/JGAurora/A5S/Configuration_adv.h Прегледај датотеку

@@ -609,18 +609,31 @@
609 609
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
610 610
   // Define probe X and Y positions for Z1, Z2 [, Z3]
611 611
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
612
+
613
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
614
+  // Currently requires triple stepper drivers.
615
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
616
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
617
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
618
+    // the Z screw positions in the bed carriage.
619
+    // Define one position per Z stepper in stepper driver order.
620
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
621
+  #else
622
+    // Amplification factor. Used to scale the correction step up or down.
623
+    // In case the stepper (spindle) position is further out than the test point.
624
+    // Use a value > 1. NOTE: This may cause instability
625
+    #define Z_STEPPER_ALIGN_AMP 1.0
626
+  #endif
627
+
612 628
   // Set number of iterations to align
613 629
   #define Z_STEPPER_ALIGN_ITERATIONS 3
630
+
614 631
   // Enable to restore leveling setup after operation
615 632
   #define RESTORE_LEVELING_AFTER_G34
616 633
 
617 634
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
618 635
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
619 636
 
620
-  // Use the amplification factor to de-/increase correction step.
621
-  // In case the stepper (spindle) position is further out than the test point
622
-  // Use a value > 1. NOTE: This may cause instability
623
-  #define Z_STEPPER_ALIGN_AMP 1.0
624 637
   // Stop criterion. If the accuracy is better than this stop iterating early
625 638
   #define Z_STEPPER_ALIGN_ACC 0.02
626 639
 #endif

+ 17
- 4
config/examples/MakerParts/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Malyan/M150/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Malyan/M200/Configuration_adv.h Прегледај датотеку

@@ -606,18 +606,31 @@
606 606
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
607 607
   // Define probe X and Y positions for Z1, Z2 [, Z3]
608 608
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
609
+
610
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
611
+  // Currently requires triple stepper drivers.
612
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
613
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
614
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
615
+    // the Z screw positions in the bed carriage.
616
+    // Define one position per Z stepper in stepper driver order.
617
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
618
+  #else
619
+    // Amplification factor. Used to scale the correction step up or down.
620
+    // In case the stepper (spindle) position is further out than the test point.
621
+    // Use a value > 1. NOTE: This may cause instability
622
+    #define Z_STEPPER_ALIGN_AMP 1.0
623
+  #endif
624
+
609 625
   // Set number of iterations to align
610 626
   #define Z_STEPPER_ALIGN_ITERATIONS 3
627
+
611 628
   // Enable to restore leveling setup after operation
612 629
   #define RESTORE_LEVELING_AFTER_G34
613 630
 
614 631
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
615 632
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
616 633
 
617
-  // Use the amplification factor to de-/increase correction step.
618
-  // In case the stepper (spindle) position is further out than the test point
619
-  // Use a value > 1. NOTE: This may cause instability
620
-  #define Z_STEPPER_ALIGN_AMP 1.0
621 634
   // Stop criterion. If the accuracy is better than this stop iterating early
622 635
   #define Z_STEPPER_ALIGN_ACC 0.02
623 636
 #endif

+ 17
- 4
config/examples/Micromake/C1/enhanced/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Mks/Robin/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Mks/Sbase/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/RapideLite/RL200/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/RigidBot/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/SCARA/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Sanguinololu/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Tevo/Michelangelo/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 21
- 4
config/examples/Tevo/Tarantula Pro/Configuration_adv.h Прегледај датотеку

@@ -604,14 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611
-  // Use the amplification factor to de-/increase correction step.
612
-  // In case the stepper (spindle) position is further out than the test point
613
-  // Use a value > 1. NOTE: This may cause instability
614
-  #define Z_STEPPER_ALIGN_AMP 1.0
628
+
629
+  // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
630
+  #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
631
+
615 632
   // Stop criterion. If the accuracy is better than this stop iterating early
616 633
   #define Z_STEPPER_ALIGN_ACC 0.02
617 634
 #endif

+ 17
- 4
config/examples/Tevo/Tornado/V1 (MKS Base)/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/TheBorg/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/TinyBoy2/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Tronxy/X3A/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Tronxy/X5S-2E/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/UltiMachine/Archim1/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/UltiMachine/Archim2/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/VORONDesign/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Velleman/K8200/Configuration_adv.h Прегледај датотеку

@@ -617,18 +617,31 @@
617 617
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
618 618
   // Define probe X and Y positions for Z1, Z2 [, Z3]
619 619
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
620
+
621
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
622
+  // Currently requires triple stepper drivers.
623
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
624
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
625
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
626
+    // the Z screw positions in the bed carriage.
627
+    // Define one position per Z stepper in stepper driver order.
628
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
629
+  #else
630
+    // Amplification factor. Used to scale the correction step up or down.
631
+    // In case the stepper (spindle) position is further out than the test point.
632
+    // Use a value > 1. NOTE: This may cause instability
633
+    #define Z_STEPPER_ALIGN_AMP 1.0
634
+  #endif
635
+
620 636
   // Set number of iterations to align
621 637
   #define Z_STEPPER_ALIGN_ITERATIONS 3
638
+
622 639
   // Enable to restore leveling setup after operation
623 640
   #define RESTORE_LEVELING_AFTER_G34
624 641
 
625 642
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
626 643
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
627 644
 
628
-  // Use the amplification factor to de-/increase correction step.
629
-  // In case the stepper (spindle) position is further out than the test point
630
-  // Use a value > 1. NOTE: This may cause instability
631
-  #define Z_STEPPER_ALIGN_AMP 1.0
632 645
   // Stop criterion. If the accuracy is better than this stop iterating early
633 646
   #define Z_STEPPER_ALIGN_ACC 0.02
634 647
 #endif

+ 17
- 4
config/examples/Velleman/K8400/Dual-head/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Velleman/K8400/Single-head/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/WASP/PowerWASP/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/Wanhao/Duplicator 6/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 18
- 6
config/examples/Wanhao/Duplicator i3 2.1/Configuration_adv.h Прегледај датотеку

@@ -602,20 +602,32 @@
602 602
 //#define Z_STEPPER_AUTO_ALIGN
603 603
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
604 604
   // Define probe X and Y positions for Z1, Z2 [, Z3]
605
-  #define Z_STEPPER_ALIGN_X {  10, 150, 290 }
606
-  #define Z_STEPPER_ALIGN_Y { 290,  10, 290 }
605
+  #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
606
+
607
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
608
+  // Currently requires triple stepper drivers.
609
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
610
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
611
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
612
+    // the Z screw positions in the bed carriage.
613
+    // Define one position per Z stepper in stepper driver order.
614
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
615
+  #else
616
+    // Amplification factor. Used to scale the correction step up or down.
617
+    // In case the stepper (spindle) position is further out than the test point.
618
+    // Use a value > 1. NOTE: This may cause instability
619
+    #define Z_STEPPER_ALIGN_AMP 1.0
620
+  #endif
621
+
607 622
   // Set number of iterations to align
608 623
   #define Z_STEPPER_ALIGN_ITERATIONS 3
624
+
609 625
   // Enable to restore leveling setup after operation
610 626
   #define RESTORE_LEVELING_AFTER_G34
611 627
 
612 628
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 629
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 630
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 631
   // Stop criterion. If the accuracy is better than this stop iterating early
620 632
   #define Z_STEPPER_ALIGN_ACC 0.02
621 633
 #endif

+ 17
- 4
config/examples/Wanhao/Duplicator i3 Mini/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/delta/Anycubic/Kossel/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/delta/Dreammaker/Overlord/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/delta/Dreammaker/Overlord_Pro/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 17
- 4
config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h Прегледај датотеку

@@ -604,18 +604,31 @@
604 604
 #if ENABLED(Z_STEPPER_AUTO_ALIGN)
605 605
   // Define probe X and Y positions for Z1, Z2 [, Z3]
606 606
   #define Z_STEPPER_ALIGN_XY { {  10, 290 }, { 150,  10 }, { 290, 290 } }
607
+
608
+  // Provide Z stepper positions for more rapid convergence in bed alignment.
609
+  // Currently requires triple stepper drivers.
610
+  //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
611
+  #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
612
+    // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
613
+    // the Z screw positions in the bed carriage.
614
+    // Define one position per Z stepper in stepper driver order.
615
+    #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
616
+  #else
617
+    // Amplification factor. Used to scale the correction step up or down.
618
+    // In case the stepper (spindle) position is further out than the test point.
619
+    // Use a value > 1. NOTE: This may cause instability
620
+    #define Z_STEPPER_ALIGN_AMP 1.0
621
+  #endif
622
+
607 623
   // Set number of iterations to align
608 624
   #define Z_STEPPER_ALIGN_ITERATIONS 3
625
+
609 626
   // Enable to restore leveling setup after operation
610 627
   #define RESTORE_LEVELING_AFTER_G34
611 628
 
612 629
   // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
613 630
   #define G34_MAX_GRADE  5  // (%) Maximum incline G34 will handle
614 631
 
615
-  // Use the amplification factor to de-/increase correction step.
616
-  // In case the stepper (spindle) position is further out than the test point
617
-  // Use a value > 1. NOTE: This may cause instability
618
-  #define Z_STEPPER_ALIGN_AMP 1.0
619 632
   // Stop criterion. If the accuracy is better than this stop iterating early
620 633
   #define Z_STEPPER_ALIGN_ACC 0.02
621 634
 #endif

+ 0
- 0
config/examples/delta/FLSUN/kossel/Configuration_adv.h Прегледај датотеку


Неке датотеке нису приказане због велике количине промена

Loading…
Откажи
Сачувај