Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine more tool change variables #12137

14 changes: 0 additions & 14 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,6 @@

// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#endif
#endif

/**
* Průša MK2 Single Nozzle Multi-Material Multiplexer, and variants.
Expand Down Expand Up @@ -945,9 +934,6 @@
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 200

// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm)

/**
* Software Endstops
*
Expand Down
27 changes: 27 additions & 0 deletions Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,33 @@
#endif
#endif

/**
* Universal tool change settings.
* Applies to all types of extruders except where explicitly noted.
*/
#if EXTRUDERS > 1
// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm)

// Retract and prime filament on tool-change
//#define TOOLCHANGE_FILAMENT_SWAP
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
#define TOOLCHANGE_FIL_SWAP_LENGTH 12 // (mm)
#define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define TOOLCHANGE_FIL_SWAP_PRIME_SPEED 3600 // (mm/m)
#endif

/**
* Position to park head during tool change.
* Doesn't apply to SWITCHING_TOOLHEAD, DUAL_X_CARRIAGE, or PARKING_EXTRUDER
*/
//#define TOOLCHANGE_PARK
#if ENABLED(TOOLCHANGE_PARK)
#define TOOLCHANGE_PARK_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/m)
#endif
#endif

/**
* Advanced Pause
* Experimental feature for filament change support and for parking the nozzle when paused.
Expand Down
14 changes: 0 additions & 14 deletions Marlin/src/config/default/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,6 @@

// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#endif
#endif

/**
* Průša MK2 Single Nozzle Multi-Material Multiplexer, and variants.
Expand Down Expand Up @@ -945,9 +934,6 @@
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 200

// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm)

/**
* Software Endstops
*
Expand Down
27 changes: 27 additions & 0 deletions Marlin/src/config/default/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,33 @@
#endif
#endif

/**
* Universal tool change settings.
* Applies to all types of extruders except where explicitly noted.
*/
#if EXTRUDERS > 1
// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm)

// Retract and prime filament on tool-change
//#define TOOLCHANGE_FILAMENT_SWAP
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
#define TOOLCHANGE_FIL_SWAP_LENGTH 12 // (mm)
#define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define TOOLCHANGE_FIL_SWAP_PRIME_SPEED 3600 // (mm/m)
#endif

/**
* Position to park head during tool change.
* Doesn't apply to SWITCHING_TOOLHEAD, DUAL_X_CARRIAGE, or PARKING_EXTRUDER
*/
//#define TOOLCHANGE_PARK
#if ENABLED(TOOLCHANGE_PARK)
#define TOOLCHANGE_PARK_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/m)
#endif
#endif

/**
* Advanced Pause
* Experimental feature for filament change support and for parking the nozzle when paused.
Expand Down
14 changes: 0 additions & 14 deletions Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,6 @@

// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#endif
#endif

/**
* Průša MK2 Single Nozzle Multi-Material Multiplexer, and variants.
Expand Down Expand Up @@ -965,9 +954,6 @@
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 250

// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm)

/**
* Software Endstops
*
Expand Down
27 changes: 27 additions & 0 deletions Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,33 @@
#endif
#endif

/**
* Universal tool change settings.
* Applies to all types of extruders except where explicitly noted.
*/
#if EXTRUDERS > 1
// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm)

// Retract and prime filament on tool-change
//#define TOOLCHANGE_FILAMENT_SWAP
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
#define TOOLCHANGE_FIL_SWAP_LENGTH 12 // (mm)
#define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define TOOLCHANGE_FIL_SWAP_PRIME_SPEED 3600 // (mm/m)
#endif

/**
* Position to park head during tool change.
* Doesn't apply to SWITCHING_TOOLHEAD, DUAL_X_CARRIAGE, or PARKING_EXTRUDER
*/
//#define TOOLCHANGE_PARK
#if ENABLED(TOOLCHANGE_PARK)
#define TOOLCHANGE_PARK_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/m)
#endif
#endif

/**
* Advanced Pause
* Experimental feature for filament change support and for parking the nozzle when paused.
Expand Down
14 changes: 0 additions & 14 deletions Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,6 @@

// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#endif
#endif

/**
* Průša MK2 Single Nozzle Multi-Material Multiplexer, and variants.
Expand Down Expand Up @@ -945,9 +934,6 @@
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 260

// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm)

/**
* Software Endstops
*
Expand Down
14 changes: 0 additions & 14 deletions Marlin/src/config/examples/Anet/A2/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,6 @@

// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#endif
#endif

/**
* Průša MK2 Single Nozzle Multi-Material Multiplexer, and variants.
Expand Down Expand Up @@ -945,9 +934,6 @@
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 200

// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm)

/**
* Software Endstops
*
Expand Down
27 changes: 27 additions & 0 deletions Marlin/src/config/examples/Anet/A2/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,33 @@
#endif
#endif

/**
* Universal tool change settings.
* Applies to all types of extruders except where explicitly noted.
*/
#if EXTRUDERS > 1
// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm)

// Retract and prime filament on tool-change
//#define TOOLCHANGE_FILAMENT_SWAP
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
#define TOOLCHANGE_FIL_SWAP_LENGTH 12 // (mm)
#define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define TOOLCHANGE_FIL_SWAP_PRIME_SPEED 3600 // (mm/m)
#endif

/**
* Position to park head during tool change.
* Doesn't apply to SWITCHING_TOOLHEAD, DUAL_X_CARRIAGE, or PARKING_EXTRUDER
*/
//#define TOOLCHANGE_PARK
#if ENABLED(TOOLCHANGE_PARK)
#define TOOLCHANGE_PARK_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/m)
#endif
#endif

/**
* Advanced Pause
* Experimental feature for filament change support and for parking the nozzle when paused.
Expand Down
14 changes: 0 additions & 14 deletions Marlin/src/config/examples/Anet/A2plus/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,6 @@

// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#endif
#endif

/**
* Průša MK2 Single Nozzle Multi-Material Multiplexer, and variants.
Expand Down Expand Up @@ -945,9 +934,6 @@
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 200

// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm)

/**
* Software Endstops
*
Expand Down
27 changes: 27 additions & 0 deletions Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,33 @@
#endif
#endif

/**
* Universal tool change settings.
* Applies to all types of extruders except where explicitly noted.
*/
#if EXTRUDERS > 1
// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm)

// Retract and prime filament on tool-change
//#define TOOLCHANGE_FILAMENT_SWAP
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
#define TOOLCHANGE_FIL_SWAP_LENGTH 12 // (mm)
#define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define TOOLCHANGE_FIL_SWAP_PRIME_SPEED 3600 // (mm/m)
#endif

/**
* Position to park head during tool change.
* Doesn't apply to SWITCHING_TOOLHEAD, DUAL_X_CARRIAGE, or PARKING_EXTRUDER
*/
//#define TOOLCHANGE_PARK
#if ENABLED(TOOLCHANGE_PARK)
#define TOOLCHANGE_PARK_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/m)
#endif
#endif

/**
* Advanced Pause
* Experimental feature for filament change support and for parking the nozzle when paused.
Expand Down
14 changes: 0 additions & 14 deletions Marlin/src/config/examples/Anet/A6/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,6 @@

// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#endif
#endif

/**
* Průša MK2 Single Nozzle Multi-Material Multiplexer, and variants.
Expand Down Expand Up @@ -1060,9 +1049,6 @@
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE

// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm)

/**
* Software Endstops
*
Expand Down
27 changes: 27 additions & 0 deletions Marlin/src/config/examples/Anet/A6/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,33 @@
#endif
#endif

/**
* Universal tool change settings.
* Applies to all types of extruders except where explicitly noted.
*/
#if EXTRUDERS > 1
// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm)

// Retract and prime filament on tool-change
//#define TOOLCHANGE_FILAMENT_SWAP
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
#define TOOLCHANGE_FIL_SWAP_LENGTH 12 // (mm)
#define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define TOOLCHANGE_FIL_SWAP_PRIME_SPEED 3600 // (mm/m)
#endif

/**
* Position to park head during tool change.
* Doesn't apply to SWITCHING_TOOLHEAD, DUAL_X_CARRIAGE, or PARKING_EXTRUDER
*/
//#define TOOLCHANGE_PARK
#if ENABLED(TOOLCHANGE_PARK)
#define TOOLCHANGE_PARK_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/m)
#endif
#endif

/**
* Advanced Pause
* Experimental feature for filament change support and for parking the nozzle when paused.
Expand Down
Loading