Skip to content

Commit

Permalink
Combine more tool-change variables (#12137)
Browse files Browse the repository at this point in the history
  • Loading branch information
InsanityAutomation authored and thinkyhead committed Nov 7, 2018
1 parent 147e270 commit 6471a75
Show file tree
Hide file tree
Showing 143 changed files with 1,813 additions and 1,368 deletions.
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

0 comments on commit 6471a75

Please sign in to comment.