|
|
|
@ -750,22 +750,32 @@
|
|
|
|
|
|
|
|
|
|
// @section fwretract
|
|
|
|
|
|
|
|
|
|
// Firmware based and LCD controlled retract
|
|
|
|
|
// M207 and M208 can be used to define parameters for the retraction.
|
|
|
|
|
// The retraction can be called by the slicer using G10 and G11
|
|
|
|
|
// until then, intended retractions can be detected by moves that only extrude and the direction.
|
|
|
|
|
// the moves are than replaced by the firmware controlled ones.
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Firmware-based and LCD-controlled retract
|
|
|
|
|
*
|
|
|
|
|
* Add G10 / G11 commands for automatic firmware-based retract / recover.
|
|
|
|
|
* Use M207 and M208 to define parameters for retract / recover.
|
|
|
|
|
*
|
|
|
|
|
* Use M209 to enable or disable auto-retract.
|
|
|
|
|
* With auto-retract enabled, all G1 E moves over the MIN_RETRACT length
|
|
|
|
|
* will be converted to firmware-based retract/recover moves.
|
|
|
|
|
*
|
|
|
|
|
* Be sure to turn off auto-retract during filament change.
|
|
|
|
|
*
|
|
|
|
|
* Note that M207 / M208 / M209 settings are saved to EEPROM.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
//#define FWRETRACT // ONLY PARTIALLY TESTED
|
|
|
|
|
#if ENABLED(FWRETRACT)
|
|
|
|
|
#define MIN_RETRACT 0.1 //minimum extruded mm to accept a automatic gcode retraction attempt
|
|
|
|
|
#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_FEEDRATE 80 //default feedrate for retracting (mm/s)
|
|
|
|
|
#define RETRACT_ZLIFT 0 //default retract Z-lift
|
|
|
|
|
#define RETRACT_RECOVER_LENGTH 0 //default additional recover length (mm, added to retract length when recovering)
|
|
|
|
|
//#define RETRACT_RECOVER_LENGTH_SWAP 0 //default additional swap recover length (mm, added to retract length when recovering from extruder change)
|
|
|
|
|
#define RETRACT_RECOVER_FEEDRATE 8 //default feedrate for recovering from retraction (mm/s)
|
|
|
|
|
#define MIN_RETRACT 0.1 // A retract/recover of this length or longer can be converted to auto-retract
|
|
|
|
|
#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_FEEDRATE 45 // Default feedrate for retracting (mm/s)
|
|
|
|
|
#define RETRACT_ZLIFT 0 // Default retract Z-lift
|
|
|
|
|
#define RETRACT_RECOVER_LENGTH 0 // Default additional recover length (mm, added to retract length when recovering)
|
|
|
|
|
#define RETRACT_RECOVER_LENGTH_SWAP 0 // Default additional swap recover length (mm, added to retract length when recovering from extruder change)
|
|
|
|
|
#define RETRACT_RECOVER_FEEDRATE 8 // Default feedrate for recovering from retraction (mm/s)
|
|
|
|
|
#define RETRACT_RECOVER_FEEDRATE_SWAP 8 // Default feedrate for recovering from swap retraction (mm/s)
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|