瀏覽代碼

Merge pull request #4105 from thinkyhead/rc_combine_probe_blocks

Move raise_z_after_probing into earlier block
Scott Lahteine 9 年之前
父節點
當前提交
5e469622c9

+ 3
- 1
Marlin/Configuration.h 查看文件

@@ -504,6 +504,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
504 504
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
505 505
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
506 506
 
507
+// Enable Z Probe Repeatability test to see how accurate your probe is
508
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
509
+
507 510
 //
508 511
 // Probe Raise options provide clearance for the probe to deploy and stow.
509 512
 //
@@ -620,7 +623,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
620 623
 
621 624
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
622 625
 //#define DEBUG_LEVELING_FEATURE
623
-#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
624 626
 
625 627
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
626 628
 

+ 87
- 111
Marlin/Marlin_main.cpp 查看文件

@@ -1685,6 +1685,14 @@ static void setup_for_endstop_move() {
1685 1685
     do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS], z);
1686 1686
   }
1687 1687
 
1688
+  inline void raise_z_after_probing() {
1689
+    #if Z_RAISE_AFTER_PROBING > 0
1690
+      #if ENABLED(DEBUG_LEVELING_FEATURE)
1691
+        if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("raise_z_after_probing()");
1692
+      #endif
1693
+      do_blocking_move_to_z(current_position[Z_AXIS] + Z_RAISE_AFTER_PROBING);
1694
+    #endif
1695
+  }
1688 1696
 #endif //HAS_BED_PROBE
1689 1697
 
1690 1698
 #if HAS_Z_SERVO_ENDSTOP
@@ -1710,18 +1718,6 @@ static void setup_for_endstop_move() {
1710 1718
 
1711 1719
 #endif
1712 1720
 
1713
-#if HAS_BED_PROBE
1714
-
1715
-  inline void raise_z_after_probing() {
1716
-    #if Z_RAISE_AFTER_PROBING > 0
1717
-      #if ENABLED(DEBUG_LEVELING_FEATURE)
1718
-        if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("raise_z_after_probing()");
1719
-      #endif
1720
-      do_blocking_move_to_z(current_position[Z_AXIS] + Z_RAISE_AFTER_PROBING);
1721
-    #endif
1722
-  }
1723
-#endif
1724
-
1725 1721
 #if ENABLED(Z_PROBE_SLED)
1726 1722
 
1727 1723
   #ifndef SLED_DOCKING_OFFSET
@@ -1964,89 +1960,6 @@ static void setup_for_endstop_move() {
1964 1960
     endstops.enable_z_probe(false);
1965 1961
   }
1966 1962
 
1967
-#endif // HAS_BED_PROBE
1968
-
1969
-#if ENABLED(AUTO_BED_LEVELING_FEATURE)
1970
-
1971
-  #if ENABLED(AUTO_BED_LEVELING_GRID)
1972
-
1973
-    #if DISABLED(DELTA)
1974
-
1975
-      static void set_bed_level_equation_lsq(double* plane_equation_coefficients) {
1976
-
1977
-        //planner.bed_level_matrix.debug("bed level before");
1978
-
1979
-        #if ENABLED(DEBUG_LEVELING_FEATURE)
1980
-          planner.bed_level_matrix.set_to_identity();
1981
-          if (DEBUGGING(LEVELING)) {
1982
-            vector_3 uncorrected_position = planner.adjusted_position();
1983
-            DEBUG_POS(">>> set_bed_level_equation_lsq", uncorrected_position);
1984
-            DEBUG_POS(">>> set_bed_level_equation_lsq", current_position);
1985
-          }
1986
-        #endif
1987
-
1988
-        vector_3 planeNormal = vector_3(-plane_equation_coefficients[0], -plane_equation_coefficients[1], 1);
1989
-        planner.bed_level_matrix = matrix_3x3::create_look_at(planeNormal);
1990
-
1991
-        vector_3 corrected_position = planner.adjusted_position();
1992
-        current_position[X_AXIS] = corrected_position.x;
1993
-        current_position[Y_AXIS] = corrected_position.y;
1994
-        current_position[Z_AXIS] = corrected_position.z;
1995
-
1996
-        #if ENABLED(DEBUG_LEVELING_FEATURE)
1997
-          if (DEBUGGING(LEVELING)) DEBUG_POS("<<< set_bed_level_equation_lsq", corrected_position);
1998
-        #endif
1999
-
2000
-        sync_plan_position();
2001
-      }
2002
-
2003
-    #endif // !DELTA
2004
-
2005
-  #else // !AUTO_BED_LEVELING_GRID
2006
-
2007
-    static void set_bed_level_equation_3pts(float z_at_pt_1, float z_at_pt_2, float z_at_pt_3) {
2008
-
2009
-      planner.bed_level_matrix.set_to_identity();
2010
-
2011
-      vector_3 pt1 = vector_3(ABL_PROBE_PT_1_X, ABL_PROBE_PT_1_Y, z_at_pt_1);
2012
-      vector_3 pt2 = vector_3(ABL_PROBE_PT_2_X, ABL_PROBE_PT_2_Y, z_at_pt_2);
2013
-      vector_3 pt3 = vector_3(ABL_PROBE_PT_3_X, ABL_PROBE_PT_3_Y, z_at_pt_3);
2014
-      vector_3 planeNormal = vector_3::cross(pt1 - pt2, pt3 - pt2).get_normal();
2015
-
2016
-      if (planeNormal.z < 0) {
2017
-        planeNormal.x = -planeNormal.x;
2018
-        planeNormal.y = -planeNormal.y;
2019
-        planeNormal.z = -planeNormal.z;
2020
-      }
2021
-
2022
-      planner.bed_level_matrix = matrix_3x3::create_look_at(planeNormal);
2023
-
2024
-      vector_3 corrected_position = planner.adjusted_position();
2025
-
2026
-      #if ENABLED(DEBUG_LEVELING_FEATURE)
2027
-        if (DEBUGGING(LEVELING)) {
2028
-          vector_3 uncorrected_position = corrected_position;
2029
-          DEBUG_POS("set_bed_level_equation_3pts", uncorrected_position);
2030
-        }
2031
-      #endif
2032
-
2033
-      current_position[X_AXIS] = corrected_position.x;
2034
-      current_position[Y_AXIS] = corrected_position.y;
2035
-      current_position[Z_AXIS] = corrected_position.z;
2036
-
2037
-      #if ENABLED(DEBUG_LEVELING_FEATURE)
2038
-        if (DEBUGGING(LEVELING)) DEBUG_POS("set_bed_level_equation_3pts", corrected_position);
2039
-      #endif
2040
-
2041
-      sync_plan_position();
2042
-    }
2043
-
2044
-  #endif // !AUTO_BED_LEVELING_GRID
2045
-
2046
-#endif // AUTO_BED_LEVELING_FEATURE
2047
-
2048
-#if HAS_BED_PROBE
2049
-
2050 1963
   static void run_z_probe() {
2051 1964
 
2052 1965
     float old_feedrate = feedrate;
@@ -2138,6 +2051,81 @@ static void setup_for_endstop_move() {
2138 2051
 
2139 2052
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
2140 2053
 
2054
+  #if ENABLED(AUTO_BED_LEVELING_GRID)
2055
+
2056
+    #if DISABLED(DELTA)
2057
+
2058
+      static void set_bed_level_equation_lsq(double* plane_equation_coefficients) {
2059
+
2060
+        //planner.bed_level_matrix.debug("bed level before");
2061
+
2062
+        #if ENABLED(DEBUG_LEVELING_FEATURE)
2063
+          planner.bed_level_matrix.set_to_identity();
2064
+          if (DEBUGGING(LEVELING)) {
2065
+            vector_3 uncorrected_position = planner.adjusted_position();
2066
+            DEBUG_POS(">>> set_bed_level_equation_lsq", uncorrected_position);
2067
+            DEBUG_POS(">>> set_bed_level_equation_lsq", current_position);
2068
+          }
2069
+        #endif
2070
+
2071
+        vector_3 planeNormal = vector_3(-plane_equation_coefficients[0], -plane_equation_coefficients[1], 1);
2072
+        planner.bed_level_matrix = matrix_3x3::create_look_at(planeNormal);
2073
+
2074
+        vector_3 corrected_position = planner.adjusted_position();
2075
+        current_position[X_AXIS] = corrected_position.x;
2076
+        current_position[Y_AXIS] = corrected_position.y;
2077
+        current_position[Z_AXIS] = corrected_position.z;
2078
+
2079
+        #if ENABLED(DEBUG_LEVELING_FEATURE)
2080
+          if (DEBUGGING(LEVELING)) DEBUG_POS("<<< set_bed_level_equation_lsq", corrected_position);
2081
+        #endif
2082
+
2083
+        sync_plan_position();
2084
+      }
2085
+
2086
+    #endif // !DELTA
2087
+
2088
+  #else // !AUTO_BED_LEVELING_GRID
2089
+
2090
+    static void set_bed_level_equation_3pts(float z_at_pt_1, float z_at_pt_2, float z_at_pt_3) {
2091
+
2092
+      planner.bed_level_matrix.set_to_identity();
2093
+
2094
+      vector_3 pt1 = vector_3(ABL_PROBE_PT_1_X, ABL_PROBE_PT_1_Y, z_at_pt_1);
2095
+      vector_3 pt2 = vector_3(ABL_PROBE_PT_2_X, ABL_PROBE_PT_2_Y, z_at_pt_2);
2096
+      vector_3 pt3 = vector_3(ABL_PROBE_PT_3_X, ABL_PROBE_PT_3_Y, z_at_pt_3);
2097
+      vector_3 planeNormal = vector_3::cross(pt1 - pt2, pt3 - pt2).get_normal();
2098
+
2099
+      if (planeNormal.z < 0) {
2100
+        planeNormal.x = -planeNormal.x;
2101
+        planeNormal.y = -planeNormal.y;
2102
+        planeNormal.z = -planeNormal.z;
2103
+      }
2104
+
2105
+      planner.bed_level_matrix = matrix_3x3::create_look_at(planeNormal);
2106
+
2107
+      vector_3 corrected_position = planner.adjusted_position();
2108
+
2109
+      #if ENABLED(DEBUG_LEVELING_FEATURE)
2110
+        if (DEBUGGING(LEVELING)) {
2111
+          vector_3 uncorrected_position = corrected_position;
2112
+          DEBUG_POS("set_bed_level_equation_3pts", uncorrected_position);
2113
+        }
2114
+      #endif
2115
+
2116
+      current_position[X_AXIS] = corrected_position.x;
2117
+      current_position[Y_AXIS] = corrected_position.y;
2118
+      current_position[Z_AXIS] = corrected_position.z;
2119
+
2120
+      #if ENABLED(DEBUG_LEVELING_FEATURE)
2121
+        if (DEBUGGING(LEVELING)) DEBUG_POS("set_bed_level_equation_3pts", corrected_position);
2122
+      #endif
2123
+
2124
+      sync_plan_position();
2125
+    }
2126
+
2127
+  #endif // !AUTO_BED_LEVELING_GRID
2128
+
2141 2129
   inline void do_blocking_move_to_xy(float x, float y) {
2142 2130
     do_blocking_move_to(x, y, current_position[Z_AXIS]);
2143 2131
   }
@@ -4176,19 +4164,7 @@ inline void gcode_M42() {
4176 4164
   } // code_seen('S')
4177 4165
 }
4178 4166
 
4179
-#if ENABLED(AUTO_BED_LEVELING_FEATURE) && ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
4180
-
4181
-  /**
4182
-   * This is redundant since the SanityCheck.h already checks for a valid
4183
-   *  Z_MIN_PROBE_PIN, but here for clarity.
4184
-   */
4185
-  #if ENABLED(Z_MIN_PROBE_ENDSTOP)
4186
-    #if !HAS_Z_MIN_PROBE_PIN
4187
-      #error "You must define Z_MIN_PROBE_PIN to enable Z probe repeatability calculation."
4188
-    #endif
4189
-  #elif !HAS_Z_MIN
4190
-    #error "You must define Z_MIN_PIN to enable Z probe repeatability calculation."
4191
-  #endif
4167
+#if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
4192 4168
 
4193 4169
   /**
4194 4170
    * M48: Z probe repeatability measurement function.
@@ -4451,7 +4427,7 @@ inline void gcode_M42() {
4451 4427
     report_current_position();
4452 4428
   }
4453 4429
 
4454
-#endif // AUTO_BED_LEVELING_FEATURE && Z_MIN_PROBE_REPEATABILITY_TEST
4430
+#endif // Z_MIN_PROBE_REPEATABILITY_TEST
4455 4431
 
4456 4432
 /**
4457 4433
  * M75: Start print timer
@@ -6970,11 +6946,11 @@ void process_next_command() {
6970 6946
         gcode_M42();
6971 6947
         break;
6972 6948
 
6973
-      #if ENABLED(AUTO_BED_LEVELING_FEATURE) && ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
6949
+      #if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
6974 6950
         case 48: // M48 Z probe repeatability
6975 6951
           gcode_M48();
6976 6952
           break;
6977
-      #endif // AUTO_BED_LEVELING_FEATURE && Z_MIN_PROBE_REPEATABILITY_TEST
6953
+      #endif // Z_MIN_PROBE_REPEATABILITY_TEST
6978 6954
 
6979 6955
       case 75: // Start print timer
6980 6956
         gcode_M75();

+ 4
- 6
Marlin/SanityCheck.h 查看文件

@@ -300,10 +300,12 @@
300 300
 #else
301 301
 
302 302
   /**
303
-   * Require some kind of probe for bed leveling
303
+   * Require some kind of probe for bed leveling and probe testing
304 304
    */
305 305
   #if ENABLED(AUTO_BED_LEVELING_FEATURE)
306 306
     #error "AUTO_BED_LEVELING_FEATURE requires a probe! Define a Z Servo, MECHANICAL_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or FIX_MOUNTED_PROBE."
307
+  #elif ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
308
+    #error "Z_MIN_PROBE_REPEATABILITY_TEST requires a probe! Define a Z Servo, MECHANICAL_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or FIX_MOUNTED_PROBE."
307 309
   #endif
308 310
 
309 311
 #endif
@@ -318,11 +320,7 @@
318 320
    */
319 321
   #if !PIN_EXISTS(Z_MIN)
320 322
     #if !PIN_EXISTS(Z_MIN_PROBE) || (DISABLED(Z_MIN_PROBE_ENDSTOP) || ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)) // It's possible for someone to set a pin for the Z probe, but not enable it.
321
-      #if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
322
-        #error "You must have a Z_MIN or Z_PROBE endstop to enable Z_MIN_PROBE_REPEATABILITY_TEST."
323
-      #else
324
-        #error "AUTO_BED_LEVELING_FEATURE requires a Z_MIN or Z_PROBE endstop. Z_MIN_PIN or Z_MIN_PROBE_PIN must point to a valid hardware pin."
325
-      #endif
323
+      #error "AUTO_BED_LEVELING_FEATURE requires a Z_MIN or Z_PROBE endstop. Z_MIN_PIN or Z_MIN_PROBE_PIN must point to a valid hardware pin."
326 324
     #endif
327 325
   #endif
328 326
 

+ 3
- 1
Marlin/example_configurations/Cartesio/Configuration.h 查看文件

@@ -503,6 +503,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
503 503
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
504 504
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
505 505
 
506
+// Enable Z Probe Repeatability test to see how accurate your probe is
507
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
508
+
506 509
 //
507 510
 // Probe Raise options provide clearance for the probe to deploy and stow.
508 511
 //
@@ -619,7 +622,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
619 622
 
620 623
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
621 624
 //#define DEBUG_LEVELING_FEATURE
622
-#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
623 625
 
624 626
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
625 627
 

+ 4
- 2
Marlin/example_configurations/Felix/Configuration.h 查看文件

@@ -486,6 +486,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
486 486
 // Allen Key Probe is defined in the Delta example configurations.
487 487
 //
488 488
 
489
+// Enable Z Probe Repeatability test to see how accurate your probe is
490
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
491
+
489 492
 //
490 493
 // Probe Raise options provide clearance for the probe to deploy and stow.
491 494
 //
@@ -602,8 +605,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
602 605
 
603 606
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
604 607
 //#define DEBUG_LEVELING_FEATURE
605
-//#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
606
-
608
+//
607 609
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
608 610
 
609 611
   // There are 2 different ways to specify probing locations:

+ 4
- 2
Marlin/example_configurations/Felix/DUAL/Configuration.h 查看文件

@@ -484,6 +484,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
484 484
 // Allen Key Probe is defined in the Delta example configurations.
485 485
 //
486 486
 
487
+// Enable Z Probe Repeatability test to see how accurate your probe is
488
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
489
+
487 490
 //
488 491
 // Probe Raise options provide clearance for the probe to deploy and stow.
489 492
 //
@@ -600,8 +603,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
600 603
 
601 604
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
602 605
 //#define DEBUG_LEVELING_FEATURE
603
-//#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
604
-
606
+//
605 607
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
606 608
 
607 609
   // There are 2 different ways to specify probing locations:

+ 3
- 1
Marlin/example_configurations/Hephestos/Configuration.h 查看文件

@@ -496,6 +496,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
496 496
 // Allen Key Probe is defined in the Delta example configurations.
497 497
 //
498 498
 
499
+// Enable Z Probe Repeatability test to see how accurate your probe is
500
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
501
+
499 502
 //
500 503
 // Probe Raise options provide clearance for the probe to deploy and stow.
501 504
 //
@@ -612,7 +615,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
612 615
 
613 616
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
614 617
 //#define DEBUG_LEVELING_FEATURE
615
-#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
616 618
 
617 619
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
618 620
 

+ 3
- 1
Marlin/example_configurations/Hephestos_2/Configuration.h 查看文件

@@ -498,6 +498,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
498 498
 // Allen Key Probe is defined in the Delta example configurations.
499 499
 //
500 500
 
501
+// Enable Z Probe Repeatability test to see how accurate your probe is
502
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
503
+
501 504
 //
502 505
 // Probe Raise options provide clearance for the probe to deploy and stow.
503 506
 //
@@ -614,7 +617,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
614 617
 
615 618
 #define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
616 619
 //#define DEBUG_LEVELING_FEATURE
617
-#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
618 620
 
619 621
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
620 622
 

+ 3
- 1
Marlin/example_configurations/K8200/Configuration.h 查看文件

@@ -521,6 +521,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
521 521
 // Allen Key Probe is defined in the Delta example configurations.
522 522
 //
523 523
 
524
+// Enable Z Probe Repeatability test to see how accurate your probe is
525
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
526
+
524 527
 //
525 528
 // Probe Raise options provide clearance for the probe to deploy and stow.
526 529
 //
@@ -637,7 +640,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
637 640
 
638 641
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
639 642
 //#define DEBUG_LEVELING_FEATURE
640
-#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
641 643
 
642 644
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
643 645
 

+ 3
- 1
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h 查看文件

@@ -504,6 +504,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
504 504
 // Allen Key Probe is defined in the Delta example configurations.
505 505
 //
506 506
 
507
+// Enable Z Probe Repeatability test to see how accurate your probe is
508
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
509
+
507 510
 //
508 511
 // Probe Raise options provide clearance for the probe to deploy and stow.
509 512
 //
@@ -620,7 +623,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
620 623
 
621 624
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
622 625
 //#define DEBUG_LEVELING_FEATURE
623
-#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
624 626
 
625 627
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
626 628
 

+ 4
- 2
Marlin/example_configurations/RigidBot/Configuration.h 查看文件

@@ -498,6 +498,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
498 498
 // Allen Key Probe is defined in the Delta example configurations.
499 499
 //
500 500
 
501
+// Enable Z Probe Repeatability test to see how accurate your probe is
502
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
503
+
501 504
 //
502 505
 // Probe Raise options provide clearance for the probe to deploy and stow.
503 506
 //
@@ -614,8 +617,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
614 617
 
615 618
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
616 619
 //#define DEBUG_LEVELING_FEATURE
617
-//#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
618
-
620
+//
619 621
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
620 622
 
621 623
   // There are 2 different ways to specify probing locations:

+ 4
- 2
Marlin/example_configurations/SCARA/Configuration.h 查看文件

@@ -512,6 +512,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
512 512
 // Allen Key Probe is defined in the Delta example configurations.
513 513
 //
514 514
 
515
+// Enable Z Probe Repeatability test to see how accurate your probe is
516
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
517
+
515 518
 //
516 519
 // Probe Raise options provide clearance for the probe to deploy and stow.
517 520
 //
@@ -628,8 +631,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
628 631
 
629 632
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
630 633
 //#define DEBUG_LEVELING_FEATURE
631
-//#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
632
-
634
+//
633 635
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
634 636
 
635 637
   // There are 2 different ways to specify probing locations:

+ 3
- 1
Marlin/example_configurations/TAZ4/Configuration.h 查看文件

@@ -525,6 +525,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
525 525
 // Allen Key Probe is defined in the Delta example configurations.
526 526
 //
527 527
 
528
+// Enable Z Probe Repeatability test to see how accurate your probe is
529
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
530
+
528 531
 //
529 532
 // Probe Raise options provide clearance for the probe to deploy and stow.
530 533
 //
@@ -641,7 +644,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
641 644
 
642 645
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
643 646
 //#define DEBUG_LEVELING_FEATURE
644
-#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
645 647
 
646 648
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
647 649
 

+ 3
- 1
Marlin/example_configurations/WITBOX/Configuration.h 查看文件

@@ -496,6 +496,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
496 496
 // Allen Key Probe is defined in the Delta example configurations.
497 497
 //
498 498
 
499
+// Enable Z Probe Repeatability test to see how accurate your probe is
500
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
501
+
499 502
 //
500 503
 // Probe Raise options provide clearance for the probe to deploy and stow.
501 504
 //
@@ -612,7 +615,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
612 615
 
613 616
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
614 617
 //#define DEBUG_LEVELING_FEATURE
615
-#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
616 618
 
617 619
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
618 620
 

+ 3
- 1
Marlin/example_configurations/adafruit/ST7565/Configuration.h 查看文件

@@ -504,6 +504,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
504 504
 // Allen Key Probe is defined in the Delta example configurations.
505 505
 //
506 506
 
507
+// Enable Z Probe Repeatability test to see how accurate your probe is
508
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
509
+
507 510
 //
508 511
 // Probe Raise options provide clearance for the probe to deploy and stow.
509 512
 //
@@ -620,7 +623,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
620 623
 
621 624
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
622 625
 //#define DEBUG_LEVELING_FEATURE
623
-#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
624 626
 
625 627
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
626 628
 

+ 4
- 2
Marlin/example_configurations/delta/biv2.5/Configuration.h 查看文件

@@ -583,6 +583,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
583 583
 
584 584
 #endif // Z_PROBE_ALLEN_KEY
585 585
 
586
+// Enable Z Probe Repeatability test to see how accurate your probe is
587
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
588
+
586 589
 //
587 590
 // Probe Raise options provide clearance for the probe to deploy and stow.
588 591
 //
@@ -699,8 +702,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
699 702
 
700 703
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
701 704
 //#define DEBUG_LEVELING_FEATURE
702
-//#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
703
-
705
+//
704 706
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
705 707
 
706 708
   // There are 2 different ways to specify probing locations:

+ 4
- 2
Marlin/example_configurations/delta/generic/Configuration.h 查看文件

@@ -577,6 +577,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
577 577
 
578 578
 #endif // Z_PROBE_ALLEN_KEY
579 579
 
580
+// Enable Z Probe Repeatability test to see how accurate your probe is
581
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
582
+
580 583
 //
581 584
 // Probe Raise options provide clearance for the probe to deploy and stow.
582 585
 //
@@ -693,8 +696,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
693 696
 
694 697
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
695 698
 //#define DEBUG_LEVELING_FEATURE
696
-//#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
697
-
699
+//
698 700
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
699 701
 
700 702
   // There are 2 different ways to specify probing locations:

+ 4
- 2
Marlin/example_configurations/delta/kossel_mini/Configuration.h 查看文件

@@ -580,6 +580,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
580 580
 
581 581
 #endif // Z_PROBE_ALLEN_KEY
582 582
 
583
+// Enable Z Probe Repeatability test to see how accurate your probe is
584
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
585
+
583 586
 //
584 587
 // Probe Raise options provide clearance for the probe to deploy and stow.
585 588
 //
@@ -696,8 +699,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
696 699
 
697 700
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
698 701
 //#define DEBUG_LEVELING_FEATURE
699
-//#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
700
-
702
+//
701 703
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
702 704
 
703 705
   // There are 2 different ways to specify probing locations:

+ 4
- 2
Marlin/example_configurations/delta/kossel_pro/Configuration.h 查看文件

@@ -574,6 +574,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
574 574
 
575 575
 #endif // Z_PROBE_ALLEN_KEY
576 576
 
577
+// Enable Z Probe Repeatability test to see how accurate your probe is
578
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
579
+
577 580
 //
578 581
 // Probe Raise options provide clearance for the probe to deploy and stow.
579 582
 //
@@ -690,8 +693,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
690 693
 
691 694
 #define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
692 695
 //#define DEBUG_LEVELING_FEATURE
693
-//#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
694
-
696
+//
695 697
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
696 698
 
697 699
   // There are 2 different ways to specify probing locations:

+ 4
- 2
Marlin/example_configurations/delta/kossel_xl/Configuration.h 查看文件

@@ -575,6 +575,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
575 575
 
576 576
 #endif // Z_PROBE_ALLEN_KEY
577 577
 
578
+// Enable Z Probe Repeatability test to see how accurate your probe is
579
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
580
+
578 581
 //
579 582
 // Probe Raise options provide clearance for the probe to deploy and stow.
580 583
 //
@@ -691,8 +694,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
691 694
 
692 695
 #define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
693 696
 //#define DEBUG_LEVELING_FEATURE
694
-//#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
695
-
697
+//
696 698
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
697 699
 
698 700
   // There are 2 different ways to specify probing locations:

+ 3
- 1
Marlin/example_configurations/makibox/Configuration.h 查看文件

@@ -507,6 +507,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
507 507
 // Allen Key Probe is defined in the Delta example configurations.
508 508
 //
509 509
 
510
+// Enable Z Probe Repeatability test to see how accurate your probe is
511
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
512
+
510 513
 //
511 514
 // Probe Raise options provide clearance for the probe to deploy and stow.
512 515
 //
@@ -623,7 +626,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
623 626
 
624 627
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
625 628
 //#define DEBUG_LEVELING_FEATURE
626
-#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
627 629
 
628 630
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
629 631
 

+ 3
- 1
Marlin/example_configurations/tvrrug/Round2/Configuration.h 查看文件

@@ -494,6 +494,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
494 494
 // Allen Key Probe is defined in the Delta example configurations.
495 495
 //
496 496
 
497
+// Enable Z Probe Repeatability test to see how accurate your probe is
498
+//#define Z_MIN_PROBE_REPEATABILITY_TEST
499
+
497 500
 //
498 501
 // Probe Raise options provide clearance for the probe to deploy and stow.
499 502
 //
@@ -610,7 +613,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
610 613
 
611 614
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
612 615
 //#define DEBUG_LEVELING_FEATURE
613
-#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
614 616
 
615 617
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
616 618
 

Loading…
取消
儲存