Browse Source

Replace MIN_RETRACT with MIN_AUTORETRACT, MAX_AUTORETRACT

Scott Lahteine 6 years ago
parent
commit
423b0f3a1e
30 changed files with 91 additions and 55 deletions
  1. 7
    0
      Marlin/Conditionals_post.h
  2. 3
    2
      Marlin/Configuration_adv.h
  3. 1
    1
      Marlin/Marlin_main.cpp
  4. 2
    0
      Marlin/SanityCheck.h
  5. 3
    2
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h
  6. 3
    2
      Marlin/example_configurations/Anet/A6/Configuration_adv.h
  7. 3
    2
      Marlin/example_configurations/Anet/A8/Configuration_adv.h
  8. 3
    2
      Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h
  9. 3
    2
      Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h
  10. 3
    2
      Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h
  11. 3
    2
      Marlin/example_configurations/Cartesio/Configuration_adv.h
  12. 3
    2
      Marlin/example_configurations/Felix/Configuration_adv.h
  13. 3
    2
      Marlin/example_configurations/Folger Tech/i3-2020/Configuration_adv.h
  14. 3
    2
      Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h
  15. 3
    2
      Marlin/example_configurations/Malyan/M150/Configuration_adv.h
  16. 3
    2
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  17. 3
    2
      Marlin/example_configurations/SCARA/Configuration_adv.h
  18. 3
    2
      Marlin/example_configurations/TinyBoy2/Configuration_adv.h
  19. 3
    2
      Marlin/example_configurations/Velleman/K8200/Configuration_adv.h
  20. 3
    2
      Marlin/example_configurations/Velleman/K8400/Configuration_adv.h
  21. 3
    2
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h
  22. 3
    2
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h
  23. 3
    2
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  24. 3
    2
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  25. 3
    2
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  26. 3
    2
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  27. 3
    2
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h
  28. 3
    2
      Marlin/example_configurations/makibox/Configuration_adv.h
  29. 3
    2
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  30. 3
    2
      Marlin/example_configurations/wt150/Configuration_adv.h

+ 7
- 0
Marlin/Conditionals_post.h View File

@@ -190,6 +190,13 @@
190 190
   #endif
191 191
 
192 192
   /**
193
+   * Provide a MAX_AUTORETRACT for older configs
194
+   */
195
+  #if ENABLED(FWRETRACT) && !defined(MAX_AUTORETRACT)
196
+    #define MAX_AUTORETRACT 99
197
+  #endif
198
+
199
+  /**
193 200
    * MAX_STEP_FREQUENCY differs for TOSHIBA
194 201
    */
195 202
   #if ENABLED(CONFIG_STEPPERS_TOSHIBA)

+ 3
- 2
Marlin/Configuration_adv.h View File

@@ -764,7 +764,7 @@
764 764
  * Use M207 and M208 to define parameters for retract / recover.
765 765
  *
766 766
  * Use M209 to enable or disable auto-retract.
767
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
767
+ * With auto-retract enabled, all G1 E moves within the set range
768 768
  * will be converted to firmware-based retract/recover moves.
769 769
  *
770 770
  * Be sure to turn off auto-retract during filament change.
@@ -774,7 +774,8 @@
774 774
  */
775 775
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
776 776
 #if ENABLED(FWRETRACT)
777
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
777
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
778
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
778 779
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
779 780
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
780 781
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -3281,7 +3281,7 @@ inline void gcode_G0_G1(
3281 3281
       if (autoretract_enabled && !(parser.seen('X') || parser.seen('Y') || parser.seen('Z')) && parser.seen('E')) {
3282 3282
         const float echange = destination[E_AXIS] - current_position[E_AXIS];
3283 3283
         // Is this move an attempt to retract or recover?
3284
-        if ((echange < -(MIN_RETRACT) && !retracted[active_extruder]) || (echange > MIN_RETRACT && retracted[active_extruder])) {
3284
+        if (WITHIN(FABS(echange), MIN_AUTORETRACT, MAX_AUTORETRACT) && retracted[active_extruder] == (echange > 0.0)) {
3285 3285
           current_position[E_AXIS] = destination[E_AXIS]; // hide the slicer-generated retract/recover from calculations
3286 3286
           sync_plan_position_e();  // AND from the planner
3287 3287
           retract(!retracted[active_extruder]);

+ 2
- 0
Marlin/SanityCheck.h View File

@@ -206,6 +206,8 @@
206 206
   #error "Replace SLED_PIN with SOL1_PIN (applies to both Z_PROBE_SLED and SOLENOID_PROBE)."
207 207
 #elif defined(CONTROLLERFAN_PIN)
208 208
   #error "CONTROLLERFAN_PIN is now CONTROLLER_FAN_PIN, enabled with USE_CONTROLLER_FAN. Please update your Configuration_adv.h."
209
+#elif defined(MIN_RETRACT)
210
+  #error "MIN_RETRACT is now MIN_AUTORETRACT and MAX_AUTORETRACT. Please update your Configuration_adv.h."
209 211
 #endif
210 212
 
211 213
 /**

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

@@ -757,7 +757,7 @@
757 757
  * Use M207 and M208 to define parameters for retract / recover.
758 758
  *
759 759
  * Use M209 to enable or disable auto-retract.
760
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
760
+ * With auto-retract enabled, all G1 E moves within the set range
761 761
  * will be converted to firmware-based retract/recover moves.
762 762
  *
763 763
  * Be sure to turn off auto-retract during filament change.
@@ -767,7 +767,8 @@
767 767
  */
768 768
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
769 769
 #if ENABLED(FWRETRACT)
770
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
770
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
771
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
771 772
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
772 773
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
773 774
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

+ 3
- 2
Marlin/example_configurations/Anet/A6/Configuration_adv.h View File

@@ -764,7 +764,7 @@
764 764
  * Use M207 and M208 to define parameters for retract / recover.
765 765
  *
766 766
  * Use M209 to enable or disable auto-retract.
767
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
767
+ * With auto-retract enabled, all G1 E moves within the set range
768 768
  * will be converted to firmware-based retract/recover moves.
769 769
  *
770 770
  * Be sure to turn off auto-retract during filament change.
@@ -774,7 +774,8 @@
774 774
  */
775 775
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
776 776
 #if ENABLED(FWRETRACT)
777
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
777
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
778
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
778 779
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
779 780
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
780 781
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -764,7 +764,7 @@
764 764
  * Use M207 and M208 to define parameters for retract / recover.
765 765
  *
766 766
  * Use M209 to enable or disable auto-retract.
767
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
767
+ * With auto-retract enabled, all G1 E moves within the set range
768 768
  * will be converted to firmware-based retract/recover moves.
769 769
  *
770 770
  * Be sure to turn off auto-retract during filament change.
@@ -774,7 +774,8 @@
774 774
  */
775 775
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
776 776
 #if ENABLED(FWRETRACT)
777
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
777
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
778
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
778 779
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
779 780
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
780 781
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -757,7 +757,7 @@
757 757
  * Use M207 and M208 to define parameters for retract / recover.
758 758
  *
759 759
  * Use M209 to enable or disable auto-retract.
760
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
760
+ * With auto-retract enabled, all G1 E moves within the set range
761 761
  * will be converted to firmware-based retract/recover moves.
762 762
  *
763 763
  * Be sure to turn off auto-retract during filament change.
@@ -767,7 +767,8 @@
767 767
  */
768 768
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
769 769
 #if ENABLED(FWRETRACT)
770
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
770
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
771
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
771 772
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
772 773
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
773 774
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -740,7 +740,7 @@
740 740
  * Use M207 and M208 to define parameters for retract / recover.
741 741
  *
742 742
  * Use M209 to enable or disable auto-retract.
743
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
743
+ * With auto-retract enabled, all G1 E moves within the set range
744 744
  * will be converted to firmware-based retract/recover moves.
745 745
  *
746 746
  * Be sure to turn off auto-retract during filament change.
@@ -750,7 +750,8 @@
750 750
  */
751 751
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
752 752
 #if ENABLED(FWRETRACT)
753
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
753
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
754
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
754 755
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
755 756
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
756 757
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -757,7 +757,7 @@
757 757
  * Use M207 and M208 to define parameters for retract / recover.
758 758
  *
759 759
  * Use M209 to enable or disable auto-retract.
760
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
760
+ * With auto-retract enabled, all G1 E moves within the set range
761 761
  * will be converted to firmware-based retract/recover moves.
762 762
  *
763 763
  * Be sure to turn off auto-retract during filament change.
@@ -767,7 +767,8 @@
767 767
  */
768 768
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
769 769
 #if ENABLED(FWRETRACT)
770
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
770
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
771
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
771 772
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
772 773
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
773 774
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

+ 3
- 2
Marlin/example_configurations/Cartesio/Configuration_adv.h View File

@@ -757,7 +757,7 @@
757 757
  * Use M207 and M208 to define parameters for retract / recover.
758 758
  *
759 759
  * Use M209 to enable or disable auto-retract.
760
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
760
+ * With auto-retract enabled, all G1 E moves within the set range
761 761
  * will be converted to firmware-based retract/recover moves.
762 762
  *
763 763
  * Be sure to turn off auto-retract during filament change.
@@ -767,7 +767,8 @@
767 767
  */
768 768
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
769 769
 #if ENABLED(FWRETRACT)
770
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
770
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
771
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
771 772
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
772 773
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
773 774
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

+ 3
- 2
Marlin/example_configurations/Felix/Configuration_adv.h View File

@@ -757,7 +757,7 @@
757 757
  * Use M207 and M208 to define parameters for retract / recover.
758 758
  *
759 759
  * Use M209 to enable or disable auto-retract.
760
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
760
+ * With auto-retract enabled, all G1 E moves within the set range
761 761
  * will be converted to firmware-based retract/recover moves.
762 762
  *
763 763
  * Be sure to turn off auto-retract during filament change.
@@ -767,7 +767,8 @@
767 767
  */
768 768
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
769 769
 #if ENABLED(FWRETRACT)
770
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
770
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
771
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
771 772
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
772 773
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
773 774
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

+ 3
- 2
Marlin/example_configurations/Folger Tech/i3-2020/Configuration_adv.h View File

@@ -764,7 +764,7 @@
764 764
  * Use M207 and M208 to define parameters for retract / recover.
765 765
  *
766 766
  * Use M209 to enable or disable auto-retract.
767
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
767
+ * With auto-retract enabled, all G1 E moves within the set range
768 768
  * will be converted to firmware-based retract/recover moves.
769 769
  *
770 770
  * Be sure to turn off auto-retract during filament change.
@@ -774,7 +774,8 @@
774 774
  */
775 775
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
776 776
 #if ENABLED(FWRETRACT)
777
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
777
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
778
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
778 779
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
779 780
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
780 781
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -754,7 +754,7 @@
754 754
  * Use M207 and M208 to define parameters for retract / recover.
755 755
  *
756 756
  * Use M209 to enable or disable auto-retract.
757
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
757
+ * With auto-retract enabled, all G1 E moves within the set range
758 758
  * will be converted to firmware-based retract/recover moves.
759 759
  *
760 760
  * Be sure to turn off auto-retract during filament change.
@@ -764,7 +764,8 @@
764 764
  */
765 765
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
766 766
 #if ENABLED(FWRETRACT)
767
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
767
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
768
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
768 769
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
769 770
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
770 771
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -764,7 +764,7 @@
764 764
  * Use M207 and M208 to define parameters for retract / recover.
765 765
  *
766 766
  * Use M209 to enable or disable auto-retract.
767
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
767
+ * With auto-retract enabled, all G1 E moves within the set range
768 768
  * will be converted to firmware-based retract/recover moves.
769 769
  *
770 770
  * Be sure to turn off auto-retract during filament change.
@@ -774,7 +774,8 @@
774 774
  */
775 775
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
776 776
 #if ENABLED(FWRETRACT)
777
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
777
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
778
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
778 779
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
779 780
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
780 781
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

+ 3
- 2
Marlin/example_configurations/RigidBot/Configuration_adv.h View File

@@ -757,7 +757,7 @@
757 757
  * Use M207 and M208 to define parameters for retract / recover.
758 758
  *
759 759
  * Use M209 to enable or disable auto-retract.
760
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
760
+ * With auto-retract enabled, all G1 E moves within the set range
761 761
  * will be converted to firmware-based retract/recover moves.
762 762
  *
763 763
  * Be sure to turn off auto-retract during filament change.
@@ -767,7 +767,8 @@
767 767
  */
768 768
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
769 769
 #if ENABLED(FWRETRACT)
770
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
770
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
771
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
771 772
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
772 773
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
773 774
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

+ 3
- 2
Marlin/example_configurations/SCARA/Configuration_adv.h View File

@@ -757,7 +757,7 @@
757 757
  * Use M207 and M208 to define parameters for retract / recover.
758 758
  *
759 759
  * Use M209 to enable or disable auto-retract.
760
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
760
+ * With auto-retract enabled, all G1 E moves within the set range
761 761
  * will be converted to firmware-based retract/recover moves.
762 762
  *
763 763
  * Be sure to turn off auto-retract during filament change.
@@ -767,7 +767,8 @@
767 767
  */
768 768
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
769 769
 #if ENABLED(FWRETRACT)
770
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
770
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
771
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
771 772
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
772 773
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
773 774
   #define RETRACT_FEEDRATE 35             // Default feedrate for retracting (mm/s)

+ 3
- 2
Marlin/example_configurations/TinyBoy2/Configuration_adv.h View File

@@ -760,7 +760,7 @@
760 760
  * Use M207 and M208 to define parameters for retract / recover.
761 761
  *
762 762
  * Use M209 to enable or disable auto-retract.
763
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
763
+ * With auto-retract enabled, all G1 E moves within the set range
764 764
  * will be converted to firmware-based retract/recover moves.
765 765
  *
766 766
  * Be sure to turn off auto-retract during filament change.
@@ -770,7 +770,8 @@
770 770
  */
771 771
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
772 772
 #if ENABLED(FWRETRACT)
773
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
773
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
774
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
774 775
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
775 776
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
776 777
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -770,7 +770,7 @@
770 770
  * Use M207 and M208 to define parameters for retract / recover.
771 771
  *
772 772
  * Use M209 to enable or disable auto-retract.
773
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
773
+ * With auto-retract enabled, all G1 E moves within the set range
774 774
  * will be converted to firmware-based retract/recover moves.
775 775
  *
776 776
  * Be sure to turn off auto-retract during filament change.
@@ -780,7 +780,8 @@
780 780
  */
781 781
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
782 782
 #if ENABLED(FWRETRACT)
783
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
783
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
784
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
784 785
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
785 786
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
786 787
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -757,7 +757,7 @@
757 757
  * Use M207 and M208 to define parameters for retract / recover.
758 758
  *
759 759
  * Use M209 to enable or disable auto-retract.
760
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
760
+ * With auto-retract enabled, all G1 E moves within the set range
761 761
  * will be converted to firmware-based retract/recover moves.
762 762
  *
763 763
  * Be sure to turn off auto-retract during filament change.
@@ -767,7 +767,8 @@
767 767
  */
768 768
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
769 769
 #if ENABLED(FWRETRACT)
770
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
770
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
771
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
771 772
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
772 773
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
773 774
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -762,7 +762,7 @@
762 762
  * Use M207 and M208 to define parameters for retract / recover.
763 763
  *
764 764
  * Use M209 to enable or disable auto-retract.
765
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
765
+ * With auto-retract enabled, all G1 E moves within the set range
766 766
  * will be converted to firmware-based retract/recover moves.
767 767
  *
768 768
  * Be sure to turn off auto-retract during filament change.
@@ -772,7 +772,8 @@
772 772
  */
773 773
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
774 774
 #if ENABLED(FWRETRACT)
775
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
775
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
776
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
776 777
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
777 778
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
778 779
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -761,7 +761,7 @@
761 761
  * Use M207 and M208 to define parameters for retract / recover.
762 762
  *
763 763
  * Use M209 to enable or disable auto-retract.
764
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
764
+ * With auto-retract enabled, all G1 E moves within the set range
765 765
  * will be converted to firmware-based retract/recover moves.
766 766
  *
767 767
  * Be sure to turn off auto-retract during filament change.
@@ -771,7 +771,8 @@
771 771
  */
772 772
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
773 773
 #if ENABLED(FWRETRACT)
774
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
774
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
775
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
775 776
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
776 777
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
777 778
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -759,7 +759,7 @@
759 759
  * Use M207 and M208 to define parameters for retract / recover.
760 760
  *
761 761
  * Use M209 to enable or disable auto-retract.
762
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
762
+ * With auto-retract enabled, all G1 E moves within the set range
763 763
  * will be converted to firmware-based retract/recover moves.
764 764
  *
765 765
  * Be sure to turn off auto-retract during filament change.
@@ -769,7 +769,8 @@
769 769
  */
770 770
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
771 771
 #if ENABLED(FWRETRACT)
772
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
772
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
773
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
773 774
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
774 775
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
775 776
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -759,7 +759,7 @@
759 759
  * Use M207 and M208 to define parameters for retract / recover.
760 760
  *
761 761
  * Use M209 to enable or disable auto-retract.
762
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
762
+ * With auto-retract enabled, all G1 E moves within the set range
763 763
  * will be converted to firmware-based retract/recover moves.
764 764
  *
765 765
  * Be sure to turn off auto-retract during filament change.
@@ -769,7 +769,8 @@
769 769
  */
770 770
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
771 771
 #if ENABLED(FWRETRACT)
772
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
772
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
773
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
773 774
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
774 775
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
775 776
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -764,7 +764,7 @@
764 764
  * Use M207 and M208 to define parameters for retract / recover.
765 765
  *
766 766
  * Use M209 to enable or disable auto-retract.
767
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
767
+ * With auto-retract enabled, all G1 E moves within the set range
768 768
  * will be converted to firmware-based retract/recover moves.
769 769
  *
770 770
  * Be sure to turn off auto-retract during filament change.
@@ -774,7 +774,8 @@
774 774
  */
775 775
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
776 776
 #if ENABLED(FWRETRACT)
777
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
777
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
778
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
778 779
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
779 780
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
780 781
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -759,7 +759,7 @@
759 759
  * Use M207 and M208 to define parameters for retract / recover.
760 760
  *
761 761
  * Use M209 to enable or disable auto-retract.
762
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
762
+ * With auto-retract enabled, all G1 E moves within the set range
763 763
  * will be converted to firmware-based retract/recover moves.
764 764
  *
765 765
  * Be sure to turn off auto-retract during filament change.
@@ -769,7 +769,8 @@
769 769
  */
770 770
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
771 771
 #if ENABLED(FWRETRACT)
772
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
772
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
773
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
773 774
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
774 775
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
775 776
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -764,7 +764,7 @@
764 764
  * Use M207 and M208 to define parameters for retract / recover.
765 765
  *
766 766
  * Use M209 to enable or disable auto-retract.
767
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
767
+ * With auto-retract enabled, all G1 E moves within the set range
768 768
  * will be converted to firmware-based retract/recover moves.
769 769
  *
770 770
  * Be sure to turn off auto-retract during filament change.
@@ -774,7 +774,8 @@
774 774
  */
775 775
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
776 776
 #if ENABLED(FWRETRACT)
777
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
777
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
778
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
778 779
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
779 780
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
780 781
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

+ 3
- 2
Marlin/example_configurations/makibox/Configuration_adv.h View File

@@ -757,7 +757,7 @@
757 757
  * Use M207 and M208 to define parameters for retract / recover.
758 758
  *
759 759
  * Use M209 to enable or disable auto-retract.
760
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
760
+ * With auto-retract enabled, all G1 E moves within the set range
761 761
  * will be converted to firmware-based retract/recover moves.
762 762
  *
763 763
  * Be sure to turn off auto-retract during filament change.
@@ -767,7 +767,8 @@
767 767
  */
768 768
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
769 769
 #if ENABLED(FWRETRACT)
770
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
770
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
771
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
771 772
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
772 773
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
773 774
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

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

@@ -757,7 +757,7 @@
757 757
  * Use M207 and M208 to define parameters for retract / recover.
758 758
  *
759 759
  * Use M209 to enable or disable auto-retract.
760
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
760
+ * With auto-retract enabled, all G1 E moves within the set range
761 761
  * will be converted to firmware-based retract/recover moves.
762 762
  *
763 763
  * Be sure to turn off auto-retract during filament change.
@@ -767,7 +767,8 @@
767 767
  */
768 768
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
769 769
 #if ENABLED(FWRETRACT)
770
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
770
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
771
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
771 772
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
772 773
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
773 774
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

+ 3
- 2
Marlin/example_configurations/wt150/Configuration_adv.h View File

@@ -764,7 +764,7 @@
764 764
  * Use M207 and M208 to define parameters for retract / recover.
765 765
  *
766 766
  * Use M209 to enable or disable auto-retract.
767
- * With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
767
+ * With auto-retract enabled, all G1 E moves within the set range
768 768
  * will be converted to firmware-based retract/recover moves.
769 769
  *
770 770
  * Be sure to turn off auto-retract during filament change.
@@ -774,7 +774,8 @@
774 774
  */
775 775
 //#define FWRETRACT  // ONLY PARTIALLY TESTED
776 776
 #if ENABLED(FWRETRACT)
777
-  #define MIN_RETRACT 0.1                 // A retract/recover of this length or longer can be converted to auto-retract
777
+  #define MIN_AUTORETRACT 0.1             // When auto-retract is on, convert E moves of this length and over
778
+  #define MAX_AUTORETRACT 10.0            // Upper limit for auto-retract conversion
778 779
   #define RETRACT_LENGTH 3                // Default retract length (positive mm)
779 780
   #define RETRACT_LENGTH_SWAP 13          // Default swap retract length (positive mm), for extruder change
780 781
   #define RETRACT_FEEDRATE 45             // Default feedrate for retracting (mm/s)

Loading…
Cancel
Save