Replace MIN_RETRACT with MIN_AUTORETRACT, MAX_AUTORETRACT

This commit is contained in:
Scott Lahteine 2017-07-24 12:13:25 -05:00
parent 283d15a8d0
commit 423b0f3a1e
30 changed files with 91 additions and 55 deletions

View File

@ -189,6 +189,13 @@
#define DEFAULT_KEEPALIVE_INTERVAL 2 #define DEFAULT_KEEPALIVE_INTERVAL 2
#endif #endif
/**
* Provide a MAX_AUTORETRACT for older configs
*/
#if ENABLED(FWRETRACT) && !defined(MAX_AUTORETRACT)
#define MAX_AUTORETRACT 99
#endif
/** /**
* MAX_STEP_FREQUENCY differs for TOSHIBA * MAX_STEP_FREQUENCY differs for TOSHIBA
*/ */

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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