Skip to content

Commit 3238116

Browse files
committed
✨ MIGRATION_SETTINGS
MarlinFirmware/Marlin#26244
1 parent c6e6b84 commit 3238116

354 files changed

Lines changed: 7434 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

config/default/Configuration_adv.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2797,7 +2797,25 @@
27972797
* - Switch to a different nozzle on an extruder jam
27982798
*/
27992799
#define TOOLCHANGE_MIGRATION_FEATURE
2800+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2801+
// Override toolchange settings
2802+
// By default tool migration uses regular toolchange settings.
2803+
// With a prime tower, tool-change swapping/priming occur inside the bed.
2804+
// When migrating to a new unprimed tool you can instead use the values below.
2805+
//#define MIGRATION_SETTINGS
2806+
#if ENABLED(MIGRATION_SETTINGS)
2807+
//#define MIGRATION_ZRAISE 0 // (mm)
2808+
2809+
// Longer prime to clean out
2810+
//#define MIGRATION_FS_EXTRA_PRIME 0 // (mm) Extra priming length
2811+
//#define MIGRATION_FS_WIPE_RETRACT 0 // (mm) Retract before cooling for less stringing, better wipe, etc.
2812+
2813+
// Cool after prime to reduce stringing
2814+
//#define MIGRATION_FS_FAN_SPEED 255 // 0-255
2815+
//#define MIGRATION_FS_FAN_TIME 0 // (seconds)
28002816

2817+
#endif
2818+
#endif
28012819
#endif
28022820

28032821
/**
@@ -2810,6 +2828,9 @@
28102828
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/min)
28112829
//#define TOOLCHANGE_PARK_X_ONLY // X axis only move
28122830
//#define TOOLCHANGE_PARK_Y_ONLY // Y axis only move
2831+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2832+
//#define TOOLCHANGE_MIGRATION_ALWAYS_PARK // Force park on migration
2833+
#endif
28132834
#endif
28142835
#endif // HAS_MULTI_EXTRUDER
28152836

config/examples/3DFabXYZ/Migbot/Configuration_adv.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2797,7 +2797,25 @@
27972797
* - Switch to a different nozzle on an extruder jam
27982798
*/
27992799
#define TOOLCHANGE_MIGRATION_FEATURE
2800+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2801+
// Override toolchange settings
2802+
// By default tool migration uses regular toolchange settings.
2803+
// With a prime tower, tool-change swapping/priming occur inside the bed.
2804+
// When migrating to a new unprimed tool you can instead use the values below.
2805+
//#define MIGRATION_SETTINGS
2806+
#if ENABLED(MIGRATION_SETTINGS)
2807+
//#define MIGRATION_ZRAISE 0 // (mm)
2808+
2809+
// Longer prime to clean out
2810+
//#define MIGRATION_FS_EXTRA_PRIME 0 // (mm) Extra priming length
2811+
//#define MIGRATION_FS_WIPE_RETRACT 0 // (mm) Retract before cooling for less stringing, better wipe, etc.
2812+
2813+
// Cool after prime to reduce stringing
2814+
//#define MIGRATION_FS_FAN_SPEED 255 // 0-255
2815+
//#define MIGRATION_FS_FAN_TIME 0 // (seconds)
28002816

2817+
#endif
2818+
#endif
28012819
#endif
28022820

28032821
/**
@@ -2810,6 +2828,9 @@
28102828
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/min)
28112829
//#define TOOLCHANGE_PARK_X_ONLY // X axis only move
28122830
//#define TOOLCHANGE_PARK_Y_ONLY // Y axis only move
2831+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2832+
//#define TOOLCHANGE_MIGRATION_ALWAYS_PARK // Force park on migration
2833+
#endif
28132834
#endif
28142835
#endif // HAS_MULTI_EXTRUDER
28152836

config/examples/ADIMLab/Gantry v1/Configuration_adv.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2797,7 +2797,25 @@
27972797
* - Switch to a different nozzle on an extruder jam
27982798
*/
27992799
#define TOOLCHANGE_MIGRATION_FEATURE
2800+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2801+
// Override toolchange settings
2802+
// By default tool migration uses regular toolchange settings.
2803+
// With a prime tower, tool-change swapping/priming occur inside the bed.
2804+
// When migrating to a new unprimed tool you can instead use the values below.
2805+
//#define MIGRATION_SETTINGS
2806+
#if ENABLED(MIGRATION_SETTINGS)
2807+
//#define MIGRATION_ZRAISE 0 // (mm)
2808+
2809+
// Longer prime to clean out
2810+
//#define MIGRATION_FS_EXTRA_PRIME 0 // (mm) Extra priming length
2811+
//#define MIGRATION_FS_WIPE_RETRACT 0 // (mm) Retract before cooling for less stringing, better wipe, etc.
2812+
2813+
// Cool after prime to reduce stringing
2814+
//#define MIGRATION_FS_FAN_SPEED 255 // 0-255
2815+
//#define MIGRATION_FS_FAN_TIME 0 // (seconds)
28002816

2817+
#endif
2818+
#endif
28012819
#endif
28022820

28032821
/**
@@ -2810,6 +2828,9 @@
28102828
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/min)
28112829
//#define TOOLCHANGE_PARK_X_ONLY // X axis only move
28122830
//#define TOOLCHANGE_PARK_Y_ONLY // Y axis only move
2831+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2832+
//#define TOOLCHANGE_MIGRATION_ALWAYS_PARK // Force park on migration
2833+
#endif
28132834
#endif
28142835
#endif // HAS_MULTI_EXTRUDER
28152836

config/examples/ADIMLab/Gantry v2/Configuration_adv.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2797,7 +2797,25 @@
27972797
* - Switch to a different nozzle on an extruder jam
27982798
*/
27992799
#define TOOLCHANGE_MIGRATION_FEATURE
2800+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2801+
// Override toolchange settings
2802+
// By default tool migration uses regular toolchange settings.
2803+
// With a prime tower, tool-change swapping/priming occur inside the bed.
2804+
// When migrating to a new unprimed tool you can instead use the values below.
2805+
//#define MIGRATION_SETTINGS
2806+
#if ENABLED(MIGRATION_SETTINGS)
2807+
//#define MIGRATION_ZRAISE 0 // (mm)
2808+
2809+
// Longer prime to clean out
2810+
//#define MIGRATION_FS_EXTRA_PRIME 0 // (mm) Extra priming length
2811+
//#define MIGRATION_FS_WIPE_RETRACT 0 // (mm) Retract before cooling for less stringing, better wipe, etc.
2812+
2813+
// Cool after prime to reduce stringing
2814+
//#define MIGRATION_FS_FAN_SPEED 255 // 0-255
2815+
//#define MIGRATION_FS_FAN_TIME 0 // (seconds)
28002816

2817+
#endif
2818+
#endif
28012819
#endif
28022820

28032821
/**
@@ -2810,6 +2828,9 @@
28102828
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/min)
28112829
//#define TOOLCHANGE_PARK_X_ONLY // X axis only move
28122830
//#define TOOLCHANGE_PARK_Y_ONLY // Y axis only move
2831+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2832+
//#define TOOLCHANGE_MIGRATION_ALWAYS_PARK // Force park on migration
2833+
#endif
28132834
#endif
28142835
#endif // HAS_MULTI_EXTRUDER
28152836

config/examples/Alfawise/U20-bltouch/Configuration_adv.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2807,7 +2807,25 @@
28072807
* - Switch to a different nozzle on an extruder jam
28082808
*/
28092809
#define TOOLCHANGE_MIGRATION_FEATURE
2810+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2811+
// Override toolchange settings
2812+
// By default tool migration uses regular toolchange settings.
2813+
// With a prime tower, tool-change swapping/priming occur inside the bed.
2814+
// When migrating to a new unprimed tool you can instead use the values below.
2815+
//#define MIGRATION_SETTINGS
2816+
#if ENABLED(MIGRATION_SETTINGS)
2817+
//#define MIGRATION_ZRAISE 0 // (mm)
2818+
2819+
// Longer prime to clean out
2820+
//#define MIGRATION_FS_EXTRA_PRIME 0 // (mm) Extra priming length
2821+
//#define MIGRATION_FS_WIPE_RETRACT 0 // (mm) Retract before cooling for less stringing, better wipe, etc.
2822+
2823+
// Cool after prime to reduce stringing
2824+
//#define MIGRATION_FS_FAN_SPEED 255 // 0-255
2825+
//#define MIGRATION_FS_FAN_TIME 0 // (seconds)
28102826

2827+
#endif
2828+
#endif
28112829
#endif
28122830

28132831
/**
@@ -2820,6 +2838,9 @@
28202838
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/min)
28212839
//#define TOOLCHANGE_PARK_X_ONLY // X axis only move
28222840
//#define TOOLCHANGE_PARK_Y_ONLY // Y axis only move
2841+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2842+
//#define TOOLCHANGE_MIGRATION_ALWAYS_PARK // Force park on migration
2843+
#endif
28232844
#endif
28242845
#endif // HAS_MULTI_EXTRUDER
28252846

config/examples/Alfawise/U20/Configuration_adv.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2798,7 +2798,25 @@
27982798
* - Switch to a different nozzle on an extruder jam
27992799
*/
28002800
#define TOOLCHANGE_MIGRATION_FEATURE
2801+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2802+
// Override toolchange settings
2803+
// By default tool migration uses regular toolchange settings.
2804+
// With a prime tower, tool-change swapping/priming occur inside the bed.
2805+
// When migrating to a new unprimed tool you can instead use the values below.
2806+
//#define MIGRATION_SETTINGS
2807+
#if ENABLED(MIGRATION_SETTINGS)
2808+
//#define MIGRATION_ZRAISE 0 // (mm)
2809+
2810+
// Longer prime to clean out
2811+
//#define MIGRATION_FS_EXTRA_PRIME 0 // (mm) Extra priming length
2812+
//#define MIGRATION_FS_WIPE_RETRACT 0 // (mm) Retract before cooling for less stringing, better wipe, etc.
2813+
2814+
// Cool after prime to reduce stringing
2815+
//#define MIGRATION_FS_FAN_SPEED 255 // 0-255
2816+
//#define MIGRATION_FS_FAN_TIME 0 // (seconds)
28012817

2818+
#endif
2819+
#endif
28022820
#endif
28032821

28042822
/**
@@ -2811,6 +2829,9 @@
28112829
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/min)
28122830
//#define TOOLCHANGE_PARK_X_ONLY // X axis only move
28132831
//#define TOOLCHANGE_PARK_Y_ONLY // Y axis only move
2832+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2833+
//#define TOOLCHANGE_MIGRATION_ALWAYS_PARK // Force park on migration
2834+
#endif
28142835
#endif
28152836
#endif // HAS_MULTI_EXTRUDER
28162837

config/examples/AliExpress/CL-260/Configuration_adv.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2797,7 +2797,25 @@
27972797
* - Switch to a different nozzle on an extruder jam
27982798
*/
27992799
#define TOOLCHANGE_MIGRATION_FEATURE
2800+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2801+
// Override toolchange settings
2802+
// By default tool migration uses regular toolchange settings.
2803+
// With a prime tower, tool-change swapping/priming occur inside the bed.
2804+
// When migrating to a new unprimed tool you can instead use the values below.
2805+
//#define MIGRATION_SETTINGS
2806+
#if ENABLED(MIGRATION_SETTINGS)
2807+
//#define MIGRATION_ZRAISE 0 // (mm)
2808+
2809+
// Longer prime to clean out
2810+
//#define MIGRATION_FS_EXTRA_PRIME 0 // (mm) Extra priming length
2811+
//#define MIGRATION_FS_WIPE_RETRACT 0 // (mm) Retract before cooling for less stringing, better wipe, etc.
2812+
2813+
// Cool after prime to reduce stringing
2814+
//#define MIGRATION_FS_FAN_SPEED 255 // 0-255
2815+
//#define MIGRATION_FS_FAN_TIME 0 // (seconds)
28002816

2817+
#endif
2818+
#endif
28012819
#endif
28022820

28032821
/**
@@ -2810,6 +2828,9 @@
28102828
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/min)
28112829
//#define TOOLCHANGE_PARK_X_ONLY // X axis only move
28122830
//#define TOOLCHANGE_PARK_Y_ONLY // Y axis only move
2831+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2832+
//#define TOOLCHANGE_MIGRATION_ALWAYS_PARK // Force park on migration
2833+
#endif
28132834
#endif
28142835
#endif // HAS_MULTI_EXTRUDER
28152836

config/examples/AliExpress/UM2pExt/Configuration_adv.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2797,7 +2797,25 @@
27972797
* - Switch to a different nozzle on an extruder jam
27982798
*/
27992799
#define TOOLCHANGE_MIGRATION_FEATURE
2800+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2801+
// Override toolchange settings
2802+
// By default tool migration uses regular toolchange settings.
2803+
// With a prime tower, tool-change swapping/priming occur inside the bed.
2804+
// When migrating to a new unprimed tool you can instead use the values below.
2805+
//#define MIGRATION_SETTINGS
2806+
#if ENABLED(MIGRATION_SETTINGS)
2807+
//#define MIGRATION_ZRAISE 0 // (mm)
2808+
2809+
// Longer prime to clean out
2810+
//#define MIGRATION_FS_EXTRA_PRIME 0 // (mm) Extra priming length
2811+
//#define MIGRATION_FS_WIPE_RETRACT 0 // (mm) Retract before cooling for less stringing, better wipe, etc.
2812+
2813+
// Cool after prime to reduce stringing
2814+
//#define MIGRATION_FS_FAN_SPEED 255 // 0-255
2815+
//#define MIGRATION_FS_FAN_TIME 0 // (seconds)
28002816

2817+
#endif
2818+
#endif
28012819
#endif
28022820

28032821
/**
@@ -2810,6 +2828,9 @@
28102828
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/min)
28112829
//#define TOOLCHANGE_PARK_X_ONLY // X axis only move
28122830
//#define TOOLCHANGE_PARK_Y_ONLY // Y axis only move
2831+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2832+
//#define TOOLCHANGE_MIGRATION_ALWAYS_PARK // Force park on migration
2833+
#endif
28132834
#endif
28142835
#endif // HAS_MULTI_EXTRUDER
28152836

config/examples/Anet/A2/Configuration_adv.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2797,7 +2797,25 @@
27972797
* - Switch to a different nozzle on an extruder jam
27982798
*/
27992799
#define TOOLCHANGE_MIGRATION_FEATURE
2800+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2801+
// Override toolchange settings
2802+
// By default tool migration uses regular toolchange settings.
2803+
// With a prime tower, tool-change swapping/priming occur inside the bed.
2804+
// When migrating to a new unprimed tool you can instead use the values below.
2805+
//#define MIGRATION_SETTINGS
2806+
#if ENABLED(MIGRATION_SETTINGS)
2807+
//#define MIGRATION_ZRAISE 0 // (mm)
2808+
2809+
// Longer prime to clean out
2810+
//#define MIGRATION_FS_EXTRA_PRIME 0 // (mm) Extra priming length
2811+
//#define MIGRATION_FS_WIPE_RETRACT 0 // (mm) Retract before cooling for less stringing, better wipe, etc.
2812+
2813+
// Cool after prime to reduce stringing
2814+
//#define MIGRATION_FS_FAN_SPEED 255 // 0-255
2815+
//#define MIGRATION_FS_FAN_TIME 0 // (seconds)
28002816

2817+
#endif
2818+
#endif
28012819
#endif
28022820

28032821
/**
@@ -2810,6 +2828,9 @@
28102828
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/min)
28112829
//#define TOOLCHANGE_PARK_X_ONLY // X axis only move
28122830
//#define TOOLCHANGE_PARK_Y_ONLY // Y axis only move
2831+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2832+
//#define TOOLCHANGE_MIGRATION_ALWAYS_PARK // Force park on migration
2833+
#endif
28132834
#endif
28142835
#endif // HAS_MULTI_EXTRUDER
28152836

config/examples/Anet/A2plus/Configuration_adv.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2797,7 +2797,25 @@
27972797
* - Switch to a different nozzle on an extruder jam
27982798
*/
27992799
#define TOOLCHANGE_MIGRATION_FEATURE
2800+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2801+
// Override toolchange settings
2802+
// By default tool migration uses regular toolchange settings.
2803+
// With a prime tower, tool-change swapping/priming occur inside the bed.
2804+
// When migrating to a new unprimed tool you can instead use the values below.
2805+
//#define MIGRATION_SETTINGS
2806+
#if ENABLED(MIGRATION_SETTINGS)
2807+
//#define MIGRATION_ZRAISE 0 // (mm)
2808+
2809+
// Longer prime to clean out
2810+
//#define MIGRATION_FS_EXTRA_PRIME 0 // (mm) Extra priming length
2811+
//#define MIGRATION_FS_WIPE_RETRACT 0 // (mm) Retract before cooling for less stringing, better wipe, etc.
2812+
2813+
// Cool after prime to reduce stringing
2814+
//#define MIGRATION_FS_FAN_SPEED 255 // 0-255
2815+
//#define MIGRATION_FS_FAN_TIME 0 // (seconds)
28002816

2817+
#endif
2818+
#endif
28012819
#endif
28022820

28032821
/**
@@ -2810,6 +2828,9 @@
28102828
#define TOOLCHANGE_PARK_XY_FEEDRATE 6000 // (mm/min)
28112829
//#define TOOLCHANGE_PARK_X_ONLY // X axis only move
28122830
//#define TOOLCHANGE_PARK_Y_ONLY // Y axis only move
2831+
#if ENABLED(TOOLCHANGE_MIGRATION_FEATURE)
2832+
//#define TOOLCHANGE_MIGRATION_ALWAYS_PARK // Force park on migration
2833+
#endif
28132834
#endif
28142835
#endif // HAS_MULTI_EXTRUDER
28152836

0 commit comments

Comments
 (0)