Преглед на файлове

Merge pull request #4105 from thinkyhead/rc_combine_probe_blocks

Move raise_z_after_probing into earlier block
Scott Lahteine преди 9 години
родител
ревизия
5e469622c9
променени са 22 файла, в които са добавени 160 реда и са изтрити 146 реда
  1. 3
    1
      Marlin/Configuration.h
  2. 87
    111
      Marlin/Marlin_main.cpp
  3. 4
    6
      Marlin/SanityCheck.h
  4. 3
    1
      Marlin/example_configurations/Cartesio/Configuration.h
  5. 4
    2
      Marlin/example_configurations/Felix/Configuration.h
  6. 4
    2
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  7. 3
    1
      Marlin/example_configurations/Hephestos/Configuration.h
  8. 3
    1
      Marlin/example_configurations/Hephestos_2/Configuration.h
  9. 3
    1
      Marlin/example_configurations/K8200/Configuration.h
  10. 3
    1
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  11. 4
    2
      Marlin/example_configurations/RigidBot/Configuration.h
  12. 4
    2
      Marlin/example_configurations/SCARA/Configuration.h
  13. 3
    1
      Marlin/example_configurations/TAZ4/Configuration.h
  14. 3
    1
      Marlin/example_configurations/WITBOX/Configuration.h
  15. 3
    1
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  16. 4
    2
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  17. 4
    2
      Marlin/example_configurations/delta/generic/Configuration.h
  18. 4
    2
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  19. 4
    2
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  20. 4
    2
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  21. 3
    1
      Marlin/example_configurations/makibox/Configuration.h
  22. 3
    1
      Marlin/example_configurations/tvrrug/Round2/Configuration.h

+ 3
- 1
Marlin/Configuration.h Целия файл

504
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
504
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
505
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
511
 // Probe Raise options provide clearance for the probe to deploy and stow.
509
 //
512
 //
620
 
623
 
621
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
624
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
622
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
627
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
626
 
628
 

+ 87
- 111
Marlin/Marlin_main.cpp Целия файл

1685
     do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS], z);
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
 #endif //HAS_BED_PROBE
1696
 #endif //HAS_BED_PROBE
1689
 
1697
 
1690
 #if HAS_Z_SERVO_ENDSTOP
1698
 #if HAS_Z_SERVO_ENDSTOP
1710
 
1718
 
1711
 #endif
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
 #if ENABLED(Z_PROBE_SLED)
1721
 #if ENABLED(Z_PROBE_SLED)
1726
 
1722
 
1727
   #ifndef SLED_DOCKING_OFFSET
1723
   #ifndef SLED_DOCKING_OFFSET
1964
     endstops.enable_z_probe(false);
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
   static void run_z_probe() {
1963
   static void run_z_probe() {
2051
 
1964
 
2052
     float old_feedrate = feedrate;
1965
     float old_feedrate = feedrate;
2138
 
2051
 
2139
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
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
   inline void do_blocking_move_to_xy(float x, float y) {
2129
   inline void do_blocking_move_to_xy(float x, float y) {
2142
     do_blocking_move_to(x, y, current_position[Z_AXIS]);
2130
     do_blocking_move_to(x, y, current_position[Z_AXIS]);
2143
   }
2131
   }
4176
   } // code_seen('S')
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
    * M48: Z probe repeatability measurement function.
4170
    * M48: Z probe repeatability measurement function.
4451
     report_current_position();
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
  * M75: Start print timer
4433
  * M75: Start print timer
6970
         gcode_M42();
6946
         gcode_M42();
6971
         break;
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
         case 48: // M48 Z probe repeatability
6950
         case 48: // M48 Z probe repeatability
6975
           gcode_M48();
6951
           gcode_M48();
6976
           break;
6952
           break;
6977
-      #endif // AUTO_BED_LEVELING_FEATURE && Z_MIN_PROBE_REPEATABILITY_TEST
6953
+      #endif // Z_MIN_PROBE_REPEATABILITY_TEST
6978
 
6954
 
6979
       case 75: // Start print timer
6955
       case 75: // Start print timer
6980
         gcode_M75();
6956
         gcode_M75();

+ 4
- 6
Marlin/SanityCheck.h Целия файл

300
 #else
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
   #if ENABLED(AUTO_BED_LEVELING_FEATURE)
305
   #if ENABLED(AUTO_BED_LEVELING_FEATURE)
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."
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
   #endif
309
   #endif
308
 
310
 
309
 #endif
311
 #endif
318
    */
320
    */
319
   #if !PIN_EXISTS(Z_MIN)
321
   #if !PIN_EXISTS(Z_MIN)
320
     #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.
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
     #endif
324
     #endif
327
   #endif
325
   #endif
328
 
326
 

+ 3
- 1
Marlin/example_configurations/Cartesio/Configuration.h Целия файл

503
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
503
 // If you're using the Z MIN endstop connector for your Z probe, this has no effect.
504
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
510
 // Probe Raise options provide clearance for the probe to deploy and stow.
508
 //
511
 //
619
 
622
 
620
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
623
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
621
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
626
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
625
 
627
 

+ 4
- 2
Marlin/example_configurations/Felix/Configuration.h Целия файл

486
 // Allen Key Probe is defined in the Delta example configurations.
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
493
 // Probe Raise options provide clearance for the probe to deploy and stow.
491
 //
494
 //
602
 
605
 
603
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
606
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
604
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
609
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
608
 
610
 
609
   // There are 2 different ways to specify probing locations:
611
   // There are 2 different ways to specify probing locations:

+ 4
- 2
Marlin/example_configurations/Felix/DUAL/Configuration.h Целия файл

484
 // Allen Key Probe is defined in the Delta example configurations.
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
491
 // Probe Raise options provide clearance for the probe to deploy and stow.
489
 //
492
 //
600
 
603
 
601
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
604
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
602
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
607
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
606
 
608
 
607
   // There are 2 different ways to specify probing locations:
609
   // There are 2 different ways to specify probing locations:

+ 3
- 1
Marlin/example_configurations/Hephestos/Configuration.h Целия файл

496
 // Allen Key Probe is defined in the Delta example configurations.
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
503
 // Probe Raise options provide clearance for the probe to deploy and stow.
501
 //
504
 //
612
 
615
 
613
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
616
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
614
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
619
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
618
 
620
 

+ 3
- 1
Marlin/example_configurations/Hephestos_2/Configuration.h Целия файл

498
 // Allen Key Probe is defined in the Delta example configurations.
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
505
 // Probe Raise options provide clearance for the probe to deploy and stow.
503
 //
506
 //
614
 
617
 
615
 #define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
618
 #define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
616
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
621
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
620
 
622
 

+ 3
- 1
Marlin/example_configurations/K8200/Configuration.h Целия файл

521
 // Allen Key Probe is defined in the Delta example configurations.
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
528
 // Probe Raise options provide clearance for the probe to deploy and stow.
526
 //
529
 //
637
 
640
 
638
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
641
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
639
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
644
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
643
 
645
 

+ 3
- 1
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h Целия файл

504
 // Allen Key Probe is defined in the Delta example configurations.
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
511
 // Probe Raise options provide clearance for the probe to deploy and stow.
509
 //
512
 //
620
 
623
 
621
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
624
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
622
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
627
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
626
 
628
 

+ 4
- 2
Marlin/example_configurations/RigidBot/Configuration.h Целия файл

498
 // Allen Key Probe is defined in the Delta example configurations.
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
505
 // Probe Raise options provide clearance for the probe to deploy and stow.
503
 //
506
 //
614
 
617
 
615
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
618
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
616
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
621
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
620
 
622
 
621
   // There are 2 different ways to specify probing locations:
623
   // There are 2 different ways to specify probing locations:

+ 4
- 2
Marlin/example_configurations/SCARA/Configuration.h Целия файл

512
 // Allen Key Probe is defined in the Delta example configurations.
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
519
 // Probe Raise options provide clearance for the probe to deploy and stow.
517
 //
520
 //
628
 
631
 
629
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
632
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
630
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
635
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
634
 
636
 
635
   // There are 2 different ways to specify probing locations:
637
   // There are 2 different ways to specify probing locations:

+ 3
- 1
Marlin/example_configurations/TAZ4/Configuration.h Целия файл

525
 // Allen Key Probe is defined in the Delta example configurations.
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
532
 // Probe Raise options provide clearance for the probe to deploy and stow.
530
 //
533
 //
641
 
644
 
642
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
645
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
643
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
648
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
647
 
649
 

+ 3
- 1
Marlin/example_configurations/WITBOX/Configuration.h Целия файл

496
 // Allen Key Probe is defined in the Delta example configurations.
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
503
 // Probe Raise options provide clearance for the probe to deploy and stow.
501
 //
504
 //
612
 
615
 
613
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
616
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
614
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
619
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
618
 
620
 

+ 3
- 1
Marlin/example_configurations/adafruit/ST7565/Configuration.h Целия файл

504
 // Allen Key Probe is defined in the Delta example configurations.
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
511
 // Probe Raise options provide clearance for the probe to deploy and stow.
509
 //
512
 //
620
 
623
 
621
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
624
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
622
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
627
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
626
 
628
 

+ 4
- 2
Marlin/example_configurations/delta/biv2.5/Configuration.h Целия файл

583
 
583
 
584
 #endif // Z_PROBE_ALLEN_KEY
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
590
 // Probe Raise options provide clearance for the probe to deploy and stow.
588
 //
591
 //
699
 
702
 
700
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
703
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
701
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
706
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
705
 
707
 
706
   // There are 2 different ways to specify probing locations:
708
   // There are 2 different ways to specify probing locations:

+ 4
- 2
Marlin/example_configurations/delta/generic/Configuration.h Целия файл

577
 
577
 
578
 #endif // Z_PROBE_ALLEN_KEY
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
584
 // Probe Raise options provide clearance for the probe to deploy and stow.
582
 //
585
 //
693
 
696
 
694
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
697
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
695
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
700
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
699
 
701
 
700
   // There are 2 different ways to specify probing locations:
702
   // There are 2 different ways to specify probing locations:

+ 4
- 2
Marlin/example_configurations/delta/kossel_mini/Configuration.h Целия файл

580
 
580
 
581
 #endif // Z_PROBE_ALLEN_KEY
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
587
 // Probe Raise options provide clearance for the probe to deploy and stow.
585
 //
588
 //
696
 
699
 
697
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
700
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
698
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
703
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
702
 
704
 
703
   // There are 2 different ways to specify probing locations:
705
   // There are 2 different ways to specify probing locations:

+ 4
- 2
Marlin/example_configurations/delta/kossel_pro/Configuration.h Целия файл

574
 
574
 
575
 #endif // Z_PROBE_ALLEN_KEY
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
581
 // Probe Raise options provide clearance for the probe to deploy and stow.
579
 //
582
 //
690
 
693
 
691
 #define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
694
 #define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
692
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
697
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
696
 
698
 
697
   // There are 2 different ways to specify probing locations:
699
   // There are 2 different ways to specify probing locations:

+ 4
- 2
Marlin/example_configurations/delta/kossel_xl/Configuration.h Целия файл

575
 
575
 
576
 #endif // Z_PROBE_ALLEN_KEY
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
582
 // Probe Raise options provide clearance for the probe to deploy and stow.
580
 //
583
 //
691
 
694
 
692
 #define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
695
 #define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
693
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
698
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
697
 
699
 
698
   // There are 2 different ways to specify probing locations:
700
   // There are 2 different ways to specify probing locations:

+ 3
- 1
Marlin/example_configurations/makibox/Configuration.h Целия файл

507
 // Allen Key Probe is defined in the Delta example configurations.
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
514
 // Probe Raise options provide clearance for the probe to deploy and stow.
512
 //
515
 //
623
 
626
 
624
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
627
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
625
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
630
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
629
 
631
 

+ 3
- 1
Marlin/example_configurations/tvrrug/Round2/Configuration.h Целия файл

494
 // Allen Key Probe is defined in the Delta example configurations.
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
 // Probe Raise options provide clearance for the probe to deploy and stow.
501
 // Probe Raise options provide clearance for the probe to deploy and stow.
499
 //
502
 //
610
 
613
 
611
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
614
 //#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
612
 //#define DEBUG_LEVELING_FEATURE
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
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
617
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
616
 
618
 

Loading…
Отказ
Запис