Browse Source

More Advanced Pause options (#12984)

InsanityAutomation 5 years ago
parent
commit
413e303ad5
82 changed files with 188 additions and 19 deletions
  1. 2
    0
      Marlin/Configuration_adv.h
  2. 2
    0
      Marlin/src/config/default/Configuration_adv.h
  3. 2
    0
      Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  4. 2
    0
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  5. 2
    0
      Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  6. 2
    0
      Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  7. 2
    0
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  8. 2
    0
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  9. 1
    0
      Marlin/src/config/examples/AnyCubic/i3/Configuration_adv.h
  10. 2
    0
      Marlin/src/config/examples/ArmEd/Configuration_adv.h
  11. 2
    0
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  12. 2
    0
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  13. 2
    0
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  14. 2
    0
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  15. 2
    0
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  16. 2
    0
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  17. 2
    0
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  18. 2
    0
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  19. 2
    0
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  20. 2
    0
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  21. 2
    0
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  22. 2
    0
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  23. 2
    0
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  24. 2
    0
      Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  25. 2
    0
      Marlin/src/config/examples/Felix/Configuration_adv.h
  26. 2
    0
      Marlin/src/config/examples/FlashForge/CreatorPro/Configuration_adv.h
  27. 2
    0
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  28. 2
    0
      Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
  29. 2
    0
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  30. 2
    0
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  31. 2
    0
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
  32. 2
    0
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  33. 2
    0
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  34. 2
    0
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  35. 2
    0
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  36. 2
    0
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  37. 2
    0
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  38. 2
    0
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  39. 2
    0
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  40. 2
    0
      Marlin/src/config/examples/Mks/Robin/Configuration_adv.h
  41. 2
    0
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  42. 2
    0
      Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h
  43. 2
    0
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  44. 2
    0
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  45. 2
    0
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  46. 2
    0
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  47. 2
    0
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  48. 2
    0
      Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
  49. 2
    0
      Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h
  50. 2
    0
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  51. 2
    0
      Marlin/src/config/examples/VORONDesign/Configuration_adv.h
  52. 2
    0
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  53. 2
    0
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  54. 2
    0
      Marlin/src/config/examples/WASP/PowerWASP/Configuration_adv.h
  55. 2
    0
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  56. 2
    0
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  57. 2
    0
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  58. 2
    0
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  59. 2
    0
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  60. 2
    0
      Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  61. 2
    0
      Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h
  62. 2
    0
      Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h
  63. 2
    0
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  64. 2
    0
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  65. 2
    0
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  66. 2
    0
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  67. 2
    0
      Marlin/src/config/examples/makibox/Configuration_adv.h
  68. 2
    0
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  69. 2
    0
      Marlin/src/config/examples/wt150/Configuration_adv.h
  70. 8
    4
      Marlin/src/feature/pause.cpp
  71. 0
    2
      Marlin/src/feature/runout.h
  72. 4
    0
      Marlin/src/inc/Conditionals_post.h
  73. 1
    1
      Marlin/src/lcd/language/language_de.h
  74. 2
    2
      Marlin/src/lcd/language/language_en.h
  75. 1
    1
      Marlin/src/lcd/language/language_it.h
  76. 1
    1
      Marlin/src/lcd/language/language_ko_KR.h
  77. 1
    1
      Marlin/src/lcd/language/language_pt-br.h
  78. 1
    1
      Marlin/src/lcd/language/language_sk.h
  79. 1
    1
      Marlin/src/lcd/language/language_tr.h
  80. 1
    1
      Marlin/src/lcd/menu/menu_configuration.cpp
  81. 9
    2
      Marlin/src/lcd/menu/menu_filament.cpp
  82. 21
    2
      Marlin/src/module/tool_change.cpp

+ 2
- 0
Marlin/Configuration_adv.h View File

@@ -1163,6 +1163,7 @@
1163 1163
   //#define TOOLCHANGE_FILAMENT_SWAP
1164 1164
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1165 1165
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1166
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1168 1169
   #endif
@@ -1213,6 +1214,7 @@
1213 1214
                                                   //   Set to 0 for manual extrusion.
1214 1215
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1215 1216
                                                   //   until extrusion is consistent, and to purge old filament.
1217
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1216 1218
 
1217 1219
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1218 1220
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/default/Configuration_adv.h View File

@@ -1163,6 +1163,7 @@
1163 1163
   //#define TOOLCHANGE_FILAMENT_SWAP
1164 1164
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1165 1165
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1166
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1168 1169
   #endif
@@ -1213,6 +1214,7 @@
1213 1214
                                                   //   Set to 0 for manual extrusion.
1214 1215
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1215 1216
                                                   //   until extrusion is consistent, and to purge old filament.
1217
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1216 1218
 
1217 1219
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1218 1220
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h View File

@@ -1163,6 +1163,7 @@
1163 1163
   //#define TOOLCHANGE_FILAMENT_SWAP
1164 1164
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1165 1165
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1166
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1168 1169
   #endif
@@ -1213,6 +1214,7 @@
1213 1214
                                                   //   Set to 0 for manual extrusion.
1214 1215
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1215 1216
                                                   //   until extrusion is consistent, and to purge old filament.
1217
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1216 1218
 
1217 1219
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1218 1220
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Anet/A2/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Anet/A6/Configuration_adv.h View File

@@ -1161,6 +1161,7 @@
1161 1161
   //#define TOOLCHANGE_FILAMENT_SWAP
1162 1162
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1163 1163
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1164
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1164 1165
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1166 1167
   #endif
@@ -1211,6 +1212,7 @@
1211 1212
                                                   //   Set to 0 for manual extrusion.
1212 1213
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1213 1214
                                                   //   until extrusion is consistent, and to purge old filament.
1215
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1214 1216
 
1215 1217
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1216 1218
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Anet/A8/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 1
- 0
Marlin/src/config/examples/AnyCubic/i3/Configuration_adv.h View File

@@ -1163,6 +1163,7 @@
1163 1163
   //#define TOOLCHANGE_FILAMENT_SWAP
1164 1164
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1165 1165
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1166
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1168 1169
   #endif

+ 2
- 0
Marlin/src/config/examples/ArmEd/Configuration_adv.h View File

@@ -1167,6 +1167,7 @@
1167 1167
   //#define TOOLCHANGE_FILAMENT_SWAP
1168 1168
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1169 1169
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1170
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1170 1171
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1171 1172
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1172 1173
   #endif
@@ -1217,6 +1218,7 @@
1217 1218
                                                   //   Set to 0 for manual extrusion.
1218 1219
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1219 1220
                                                   //   until extrusion is consistent, and to purge old filament.
1221
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1220 1222
 
1221 1223
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1222 1224
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h View File

@@ -1161,6 +1161,7 @@
1161 1161
   //#define TOOLCHANGE_FILAMENT_SWAP
1162 1162
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1163 1163
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1164
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1164 1165
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1166 1167
   #endif
@@ -1211,6 +1212,7 @@
1211 1212
                                                   //   Set to 0 for manual extrusion.
1212 1213
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1213 1214
                                                   //   until extrusion is consistent, and to purge old filament.
1215
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1214 1216
 
1215 1217
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1216 1218
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h View File

@@ -1170,6 +1170,7 @@
1170 1170
   //#define TOOLCHANGE_FILAMENT_SWAP
1171 1171
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1172 1172
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1173
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1173 1174
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1174 1175
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1175 1176
   #endif
@@ -1220,6 +1221,7 @@
1220 1221
                                                   //   Set to 0 for manual extrusion.
1221 1222
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1222 1223
                                                   //   until extrusion is consistent, and to purge old filament.
1224
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1223 1225
 
1224 1226
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1225 1227
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Cartesio/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH       4  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Einstart-S/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Felix/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/FlashForge/CreatorPro/Configuration_adv.h View File

@@ -1161,6 +1161,7 @@
1161 1161
   //#define TOOLCHANGE_FILAMENT_SWAP
1162 1162
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1163 1163
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1164
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1164 1165
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1166 1167
   #endif
@@ -1211,6 +1212,7 @@
1211 1212
                                                   //   Set to 0 for manual extrusion.
1212 1213
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1213 1214
                                                   //   until extrusion is consistent, and to purge old filament.
1215
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1214 1216
 
1215 1217
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1216 1218
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h View File

@@ -1164,6 +1164,7 @@
1164 1164
   //#define TOOLCHANGE_FILAMENT_SWAP
1165 1165
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1166 1166
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1167
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1168 1169
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1169 1170
   #endif
@@ -1214,6 +1215,7 @@
1214 1215
                                                   //   Set to 0 for manual extrusion.
1215 1216
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1216 1217
                                                   //   until extrusion is consistent, and to purge old filament.
1218
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1217 1219
 
1218 1220
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1219 1221
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h View File

@@ -1167,6 +1167,7 @@
1167 1167
   //#define TOOLCHANGE_FILAMENT_SWAP
1168 1168
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1169 1169
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1170
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1170 1171
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1171 1172
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1172 1173
   #endif
@@ -1217,6 +1218,7 @@
1217 1218
                                                   //   Set to 0 for manual extrusion.
1218 1219
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1219 1220
                                                   //   until extrusion is consistent, and to purge old filament.
1221
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1220 1222
 
1221 1223
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1222 1224
   #define FILAMENT_UNLOAD_RETRACT_LENGTH       0  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h View File

@@ -1167,6 +1167,7 @@
1167 1167
   //#define TOOLCHANGE_FILAMENT_SWAP
1168 1168
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1169 1169
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1170
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1170 1171
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1171 1172
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1172 1173
   #endif
@@ -1217,6 +1218,7 @@
1217 1218
                                                   //   Set to 0 for manual extrusion.
1218 1219
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1219 1220
                                                   //   until extrusion is consistent, and to purge old filament.
1221
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1220 1222
 
1221 1223
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1222 1224
   #define FILAMENT_UNLOAD_RETRACT_LENGTH       0  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h View File

@@ -1163,6 +1163,7 @@
1163 1163
   //#define TOOLCHANGE_FILAMENT_SWAP
1164 1164
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1165 1165
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1166
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1168 1169
   #endif
@@ -1213,6 +1214,7 @@
1213 1214
                                                   //   Set to 0 for manual extrusion.
1214 1215
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1215 1216
                                                   //   until extrusion is consistent, and to purge old filament.
1217
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1216 1218
 
1217 1219
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1218 1220
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/MakerParts/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Mks/Robin/Configuration_adv.h View File

@@ -1163,6 +1163,7 @@
1163 1163
   //#define TOOLCHANGE_FILAMENT_SWAP
1164 1164
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1165 1165
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1166
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1168 1169
   #endif
@@ -1213,6 +1214,7 @@
1213 1214
                                                   //   Set to 0 for manual extrusion.
1214 1215
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1215 1216
                                                   //   until extrusion is consistent, and to purge old filament.
1217
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1216 1218
 
1217 1219
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1218 1220
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h View File

@@ -1170,6 +1170,7 @@
1170 1170
   //#define TOOLCHANGE_FILAMENT_SWAP
1171 1171
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1172 1172
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1173
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1173 1174
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1174 1175
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1175 1176
   #endif
@@ -1220,6 +1221,7 @@
1220 1221
                                                   //   Set to 0 for manual extrusion.
1221 1222
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1222 1223
                                                   //   until extrusion is consistent, and to purge old filament.
1224
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1223 1225
 
1224 1226
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1225 1227
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h View File

@@ -1163,6 +1163,7 @@
1163 1163
   //#define TOOLCHANGE_FILAMENT_SWAP
1164 1164
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1165 1165
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1166
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1168 1169
   #endif
@@ -1213,6 +1214,7 @@
1213 1214
                                                   //   Set to 0 for manual extrusion.
1214 1215
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1215 1216
                                                   //   until extrusion is consistent, and to purge old filament.
1217
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1216 1218
 
1217 1219
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1218 1220
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/RigidBot/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/SCARA/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/TheBorg/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h View File

@@ -1163,6 +1163,7 @@
1163 1163
   //#define TOOLCHANGE_FILAMENT_SWAP
1164 1164
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1165 1165
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1166
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1168 1169
   #endif
@@ -1213,6 +1214,7 @@
1213 1214
                                                   //   Set to 0 for manual extrusion.
1214 1215
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1215 1216
                                                   //   until extrusion is consistent, and to purge old filament.
1217
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1216 1218
 
1217 1219
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1218 1220
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/VORONDesign/Configuration_adv.h View File

@@ -1163,6 +1163,7 @@
1163 1163
   //#define TOOLCHANGE_FILAMENT_SWAP
1164 1164
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1165 1165
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1166
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1168 1169
   #endif
@@ -1213,6 +1214,7 @@
1213 1214
                                                   //   Set to 0 for manual extrusion.
1214 1215
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1215 1216
                                                   //   until extrusion is consistent, and to purge old filament.
1217
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1216 1218
 
1217 1219
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1218 1220
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h View File

@@ -1175,6 +1175,7 @@
1175 1175
   //#define TOOLCHANGE_FILAMENT_SWAP
1176 1176
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1177 1177
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1178
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1178 1179
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1179 1180
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1180 1181
   #endif
@@ -1225,6 +1226,7 @@
1225 1226
                                                   //   Set to 0 for manual extrusion.
1226 1227
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1227 1228
                                                   //   until extrusion is consistent, and to purge old filament.
1229
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1228 1230
 
1229 1231
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1230 1232
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/WASP/PowerWASP/Configuration_adv.h View File

@@ -1163,6 +1163,7 @@
1163 1163
   //#define TOOLCHANGE_FILAMENT_SWAP
1164 1164
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1165 1165
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1166
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1168 1169
   #endif
@@ -1213,6 +1214,7 @@
1213 1214
                                                   //   Set to 0 for manual extrusion.
1214 1215
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1215 1216
                                                   //   until extrusion is consistent, and to purge old filament.
1217
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1216 1218
 
1217 1219
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1218 1220
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h View File

@@ -1164,6 +1164,7 @@
1164 1164
   //#define TOOLCHANGE_FILAMENT_SWAP
1165 1165
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1166 1166
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1167
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1168 1169
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1169 1170
   #endif
@@ -1214,6 +1215,7 @@
1214 1215
                                                   //   Set to 0 for manual extrusion.
1215 1216
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1216 1217
                                                   //   until extrusion is consistent, and to purge old filament.
1218
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1217 1219
 
1218 1220
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1219 1221
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h View File

@@ -1164,6 +1164,7 @@
1164 1164
   //#define TOOLCHANGE_FILAMENT_SWAP
1165 1165
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1166 1166
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1167
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1168 1169
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1169 1170
   #endif
@@ -1214,6 +1215,7 @@
1214 1215
                                                   //   Set to 0 for manual extrusion.
1215 1216
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1216 1217
                                                   //   until extrusion is consistent, and to purge old filament.
1218
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1217 1219
 
1218 1220
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1219 1221
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

@@ -1164,6 +1164,7 @@
1164 1164
   //#define TOOLCHANGE_FILAMENT_SWAP
1165 1165
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1166 1166
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1167
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1168 1169
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1169 1170
   #endif
@@ -1214,6 +1215,7 @@
1214 1215
                                                   //   Set to 0 for manual extrusion.
1215 1216
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1216 1217
                                                   //   until extrusion is consistent, and to purge old filament.
1218
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1217 1219
 
1218 1220
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1219 1221
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h View File

@@ -1164,6 +1164,7 @@
1164 1164
   //#define TOOLCHANGE_FILAMENT_SWAP
1165 1165
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1166 1166
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1167
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1168 1169
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1169 1170
   #endif
@@ -1214,6 +1215,7 @@
1214 1215
                                                   //   Set to 0 for manual extrusion.
1215 1216
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1216 1217
                                                   //   until extrusion is consistent, and to purge old filament.
1218
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1217 1219
 
1218 1220
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1219 1221
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

@@ -1164,6 +1164,7 @@
1164 1164
   //#define TOOLCHANGE_FILAMENT_SWAP
1165 1165
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1166 1166
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1167
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1168 1169
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1169 1170
   #endif
@@ -1214,6 +1215,7 @@
1214 1215
                                                   //   Set to 0 for manual extrusion.
1215 1216
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1216 1217
                                                   //   until extrusion is consistent, and to purge old filament.
1218
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1217 1219
 
1218 1220
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1219 1221
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h View File

@@ -1165,6 +1165,7 @@
1165 1165
   //#define TOOLCHANGE_FILAMENT_SWAP
1166 1166
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1167 1167
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1168
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1168 1169
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1169 1170
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1170 1171
   #endif
@@ -1215,6 +1216,7 @@
1215 1216
                                                   //   Set to 0 for manual extrusion.
1216 1217
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1217 1218
                                                   //   until extrusion is consistent, and to purge old filament.
1219
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1218 1220
 
1219 1221
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1220 1222
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h View File

@@ -1164,6 +1164,7 @@
1164 1164
   //#define TOOLCHANGE_FILAMENT_SWAP
1165 1165
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1166 1166
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1167
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1168 1169
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1169 1170
   #endif
@@ -1214,6 +1215,7 @@
1214 1215
                                                   //   Set to 0 for manual extrusion.
1215 1216
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1216 1217
                                                   //   until extrusion is consistent, and to purge old filament.
1218
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1217 1219
 
1218 1220
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1219 1221
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h View File

@@ -1164,6 +1164,7 @@
1164 1164
   //#define TOOLCHANGE_FILAMENT_SWAP
1165 1165
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1166 1166
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1167
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1168 1169
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1169 1170
   #endif
@@ -1214,6 +1215,7 @@
1214 1215
                                                   //   Set to 0 for manual extrusion.
1215 1216
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1216 1217
                                                   //   until extrusion is consistent, and to purge old filament.
1218
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1217 1219
 
1218 1220
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1219 1221
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/delta/generic/Configuration_adv.h View File

@@ -1164,6 +1164,7 @@
1164 1164
   //#define TOOLCHANGE_FILAMENT_SWAP
1165 1165
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1166 1166
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1167
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1168 1169
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1169 1170
   #endif
@@ -1214,6 +1215,7 @@
1214 1215
                                                   //   Set to 0 for manual extrusion.
1215 1216
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1216 1217
                                                   //   until extrusion is consistent, and to purge old filament.
1218
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1217 1219
 
1218 1220
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1219 1221
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h View File

@@ -1164,6 +1164,7 @@
1164 1164
   //#define TOOLCHANGE_FILAMENT_SWAP
1165 1165
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1166 1166
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1167
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1168 1169
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1169 1170
   #endif
@@ -1214,6 +1215,7 @@
1214 1215
                                                   //   Set to 0 for manual extrusion.
1215 1216
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1216 1217
                                                   //   until extrusion is consistent, and to purge old filament.
1218
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1217 1219
 
1218 1220
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1219 1221
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h View File

@@ -1164,6 +1164,7 @@
1164 1164
   //#define TOOLCHANGE_FILAMENT_SWAP
1165 1165
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1166 1166
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1167
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1168 1169
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1169 1170
   #endif
@@ -1214,6 +1215,7 @@
1214 1215
                                                   //   Set to 0 for manual extrusion.
1215 1216
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1216 1217
                                                   //   until extrusion is consistent, and to purge old filament.
1218
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1217 1219
 
1218 1220
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1219 1221
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/makibox/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h View File

@@ -1162,6 +1162,7 @@
1162 1162
   //#define TOOLCHANGE_FILAMENT_SWAP
1163 1163
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1164 1164
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1165
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1165 1166
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1167 1168
   #endif
@@ -1212,6 +1213,7 @@
1212 1213
                                                   //   Set to 0 for manual extrusion.
1213 1214
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1214 1215
                                                   //   until extrusion is consistent, and to purge old filament.
1216
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1215 1217
 
1216 1218
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1217 1219
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 2
- 0
Marlin/src/config/examples/wt150/Configuration_adv.h View File

@@ -1163,6 +1163,7 @@
1163 1163
   //#define TOOLCHANGE_FILAMENT_SWAP
1164 1164
   #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1165 1165
     #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1166
+    #define TOOLCHANGE_FIL_EXTRA_PRIME           2  // (mm)
1166 1167
     #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1167 1168
     #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1168 1169
   #endif
@@ -1213,6 +1214,7 @@
1213 1214
                                                   //   Set to 0 for manual extrusion.
1214 1215
                                                   //   Filament can be extruded repeatedly from the Filament Change menu
1215 1216
                                                   //   until extrusion is consistent, and to purge old filament.
1217
+  #define ADVANCED_PAUSE_RESUME_PRIME          0  // (mm) Extra distance to prime nozzle after returning from park.
1216 1218
 
1217 1219
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1218 1220
   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13  // (mm) Unload initial retract length.

+ 8
- 4
Marlin/src/feature/pause.cpp View File

@@ -108,6 +108,9 @@ static bool ensure_safe_temperature(const AdvancedPauseMode mode=ADVANCED_PAUSE_
108 108
 }
109 109
 
110 110
 void do_pause_e_move(const float &length, const float &fr) {
111
+  #if ENABLED(FILAMENT_RUNOUT_SENSOR)
112
+    runout.reset();
113
+  #endif
111 114
   current_position[E_AXIS] += length / planner.e_factor[active_extruder];
112 115
   planner.buffer_line(current_position, fr, active_extruder);
113 116
   planner.synchronize();
@@ -442,6 +445,7 @@ void wait_for_confirmation(const bool is_reload/*=false*/, const int8_t max_beep
442 445
   // Wait for filament insert by user and press button
443 446
   KEEPALIVE_STATE(PAUSED_FOR_USER);
444 447
   wait_for_user = true;    // LCD click or M108 will clear this
448
+
445 449
   while (wait_for_user) {
446 450
     #if HAS_BUZZER
447 451
       filament_change_beep(max_beep_count);
@@ -554,14 +558,14 @@ void resume_print(const float &slow_load_length/*=0*/, const float &fast_load_le
554 558
   // Move Z_AXIS to saved position
555 559
   do_blocking_move_to_z(resume_position[Z_AXIS], NOZZLE_PARK_Z_FEEDRATE);
556 560
 
561
+  #if ADVANCED_PAUSE_RESUME_PRIME != 0
562
+    do_pause_e_move(ADVANCED_PAUSE_RESUME_PRIME, ADVANCED_PAUSE_PURGE_FEEDRATE);
563
+  #endif
564
+
557 565
   // Now all extrusion positions are resumed and ready to be confirmed
558 566
   // Set extruder to saved position
559 567
   planner.set_e_position_mm((destination[E_AXIS] = current_position[E_AXIS] = resume_position[E_AXIS]));
560 568
 
561
-  #if ENABLED(FILAMENT_RUNOUT_SENSOR)
562
-    runout.reset();
563
-  #endif
564
-
565 569
   #if HAS_LCD_MENU
566 570
     lcd_advanced_pause_show_message(ADVANCED_PAUSE_MESSAGE_STATUS);
567 571
   #endif

+ 0
- 2
Marlin/src/feature/runout.h View File

@@ -41,8 +41,6 @@
41 41
 class FilamentMonitorBase {
42 42
   public:
43 43
     static bool enabled;
44
-
45
-  protected:
46 44
     static bool filament_ran_out;
47 45
 };
48 46
 

+ 4
- 0
Marlin/src/inc/Conditionals_post.h View File

@@ -1275,6 +1275,10 @@
1275 1275
   #define FILAMENT_CHANGE_SLOW_LOAD_LENGTH 0
1276 1276
 #endif
1277 1277
 
1278
+#if EXTRUDERS > 1 && !defined(TOOLCHANGE_FIL_EXTRA_PRIME)
1279
+  #define TOOLCHANGE_FIL_EXTRA_PRIME 0
1280
+#endif
1281
+
1278 1282
 /**
1279 1283
  * Only constrain Z on DELTA / SCARA machines
1280 1284
  */

+ 1
- 1
Marlin/src/lcd/language/language_de.h View File

@@ -394,7 +394,7 @@
394 394
 #define MSG_FILAMENT_CHANGE_OPTION_PURGE    _UxGT("Mehr entladen")
395 395
 #define MSG_FILAMENT_CHANGE_OPTION_RESUME   _UxGT("Druck weiter")
396 396
 #define MSG_FILAMENT_CHANGE_NOZZLE          _UxGT("  Düse: ")
397
-#define MSG_RUNOUT_SENSOR_ENABLE            _UxGT("Auslaufsensor")
397
+#define MSG_RUNOUT_SENSOR                   _UxGT("Auslaufsensor")
398 398
 #define MSG_ERR_HOMING_FAILED               _UxGT("Homing gescheitert")
399 399
 #define MSG_ERR_PROBING_FAILED              _UxGT("Probing gescheitert")
400 400
 #define MSG_M600_TOO_COLD                   _UxGT("M600: zu kalt")

+ 2
- 2
Marlin/src/lcd/language/language_en.h View File

@@ -1104,8 +1104,8 @@
1104 1104
 #ifndef MSG_FILAMENT_CHANGE_NOZZLE
1105 1105
   #define MSG_FILAMENT_CHANGE_NOZZLE          _UxGT("  Nozzle: ")
1106 1106
 #endif
1107
-#ifndef MSG_RUNOUT_SENSOR_ENABLE
1108
-  #define MSG_RUNOUT_SENSOR_ENABLE            _UxGT("Runout Sensor")
1107
+#ifndef MSG_RUNOUT_SENSOR
1108
+  #define MSG_RUNOUT_SENSOR                   _UxGT("Runout Sensor")
1109 1109
 #endif
1110 1110
 #ifndef MSG_ERR_HOMING_FAILED
1111 1111
   #define MSG_ERR_HOMING_FAILED               _UxGT("Homing failed")

+ 1
- 1
Marlin/src/lcd/language/language_it.h View File

@@ -390,7 +390,7 @@
390 390
 #define MSG_FILAMENT_CHANGE_OPTION_PURGE    _UxGT("Spurga di più")
391 391
 #define MSG_FILAMENT_CHANGE_OPTION_RESUME   _UxGT("Riprendi stampa")
392 392
 #define MSG_FILAMENT_CHANGE_NOZZLE          _UxGT("  Ugello: ")
393
-#define MSG_RUNOUT_SENSOR_ENABLE            _UxGT("Sens.filo terminato")
393
+#define MSG_RUNOUT_SENSOR                   _UxGT("Sens.filo terminato")
394 394
 #define MSG_ERR_HOMING_FAILED               _UxGT("Home fallito")
395 395
 #define MSG_ERR_PROBING_FAILED              _UxGT("Sondaggio fallito")
396 396
 #define MSG_M600_TOO_COLD                   _UxGT("M600:Troppo freddo")

+ 1
- 1
Marlin/src/lcd/language/language_ko_KR.h View File

@@ -372,7 +372,7 @@
372 372
 #define MSG_FILAMENT_CHANGE_OPTION_PURGE    _UxGT("Purge more")
373 373
 #define MSG_FILAMENT_CHANGE_OPTION_RESUME   _UxGT("Continue")
374 374
 #define MSG_FILAMENT_CHANGE_NOZZLE          _UxGT("  Nozzle: ")
375
-#define MSG_RUNOUT_SENSOR_ENABLE            _UxGT("Runout Sensor")
375
+#define MSG_RUNOUT_SENSOR                   _UxGT("Runout Sensor")
376 376
 #define MSG_ERR_HOMING_FAILED               _UxGT("Homing failed")
377 377
 #define MSG_ERR_PROBING_FAILED              _UxGT("Probing failed")
378 378
 #define MSG_M600_TOO_COLD                   _UxGT("M600: Too cold")

+ 1
- 1
Marlin/src/lcd/language/language_pt-br.h View File

@@ -396,7 +396,7 @@
396 396
 #define MSG_FILAMENT_CHANGE_OPTION_PURGE    _UxGT("Purgar mais")
397 397
 #define MSG_FILAMENT_CHANGE_OPTION_RESUME   _UxGT("Continuar Impressão")
398 398
 #define MSG_FILAMENT_CHANGE_NOZZLE          _UxGT("  Bocal: ")
399
-#define MSG_RUNOUT_SENSOR_ENABLE            _UxGT("Sensor filamento")
399
+#define MSG_RUNOUT_SENSOR                   _UxGT("Sensor filamento")
400 400
 #define MSG_ERR_HOMING_FAILED               _UxGT("Falha ao ir à origem")
401 401
 #define MSG_ERR_PROBING_FAILED              _UxGT("Falha ao sondar")
402 402
 #define MSG_M600_TOO_COLD                   _UxGT("M600: Muito frio")

+ 1
- 1
Marlin/src/lcd/language/language_sk.h View File

@@ -403,7 +403,7 @@
403 403
 #define MSG_FILAMENT_CHANGE_OPTION_PURGE    _UxGT("Vytlačiť viacej")
404 404
 #define MSG_FILAMENT_CHANGE_OPTION_RESUME   _UxGT("Obnoviť tlač")
405 405
 #define MSG_FILAMENT_CHANGE_NOZZLE          _UxGT("  Tryska: ")
406
-#define MSG_RUNOUT_SENSOR_ENABLE            _UxGT("Senzor filamentu")
406
+#define MSG_RUNOUT_SENSOR                   _UxGT("Senzor filamentu")
407 407
 #define MSG_ERR_HOMING_FAILED               _UxGT("Parkovanie zlyhalo")
408 408
 #define MSG_ERR_PROBING_FAILED              _UxGT("Kalibrácia zlyhala")
409 409
 #define MSG_M600_TOO_COLD                   _UxGT("M600: Príliš studený")

+ 1
- 1
Marlin/src/lcd/language/language_tr.h View File

@@ -388,7 +388,7 @@
388 388
 #define MSG_FILAMENT_CHANGE_OPTION_PURGE    _UxGT("Daha Fazla Tasviye")
389 389
 #define MSG_FILAMENT_CHANGE_OPTION_RESUME   _UxGT("Baskıyı sürdür")
390 390
 #define MSG_FILAMENT_CHANGE_NOZZLE          _UxGT("  Nozul: ")
391
-#define MSG_RUNOUT_SENSOR_ENABLE            _UxGT("Runout Sensörü")
391
+#define MSG_RUNOUT_SENSOR                   _UxGT("Runout Sensörü")
392 392
 #define MSG_ERR_HOMING_FAILED               _UxGT("Sıfırlama Başarısız")
393 393
 #define MSG_ERR_PROBING_FAILED              _UxGT("Probing Başarısız")
394 394
 #define MSG_M600_TOO_COLD                   _UxGT("M600: Çok Soğuk")

+ 1
- 1
Marlin/src/lcd/menu/menu_configuration.cpp View File

@@ -313,7 +313,7 @@ void menu_configuration() {
313 313
   #endif
314 314
 
315 315
   #if ENABLED(FILAMENT_RUNOUT_SENSOR)
316
-    MENU_ITEM_EDIT_CALLBACK(bool, MSG_RUNOUT_SENSOR_ENABLE, &runout.enabled, runout.reset);
316
+    MENU_ITEM_EDIT_CALLBACK(bool, MSG_RUNOUT_SENSOR, &runout.enabled, runout.reset);
317 317
   #endif
318 318
 
319 319
   #if ENABLED(POWER_LOSS_RECOVERY)

+ 9
- 2
Marlin/src/lcd/menu/menu_filament.cpp View File

@@ -31,7 +31,9 @@
31 31
 #include "menu.h"
32 32
 #include "../../module/temperature.h"
33 33
 #include "../../feature/pause.h"
34
-
34
+#if ENABLED(FILAMENT_RUNOUT_SENSOR)
35
+  #include "../../feature/runout.h"
36
+#endif
35 37
 //
36 38
 // Change Filament > Change/Unload/Load Filament
37 39
 //
@@ -349,8 +351,13 @@ void menu_advanced_pause_option() {
349 351
   #if LCD_HEIGHT > 2
350 352
     STATIC_ITEM(MSG_FILAMENT_CHANGE_OPTION_HEADER, true, false);
351 353
   #endif
352
-  MENU_ITEM(function, MSG_FILAMENT_CHANGE_OPTION_RESUME, lcd_advanced_pause_resume_print);
353 354
   MENU_ITEM(function, MSG_FILAMENT_CHANGE_OPTION_PURGE, lcd_advanced_pause_extrude_more);
355
+  #if ENABLED(FILAMENT_RUNOUT_SENSOR)
356
+    if (runout.filament_ran_out)
357
+      MENU_ITEM_EDIT_CALLBACK(bool, MSG_RUNOUT_SENSOR, &runout.enabled, runout.reset);
358
+    else
359
+  #endif
360
+      MENU_ITEM(function, MSG_FILAMENT_CHANGE_OPTION_RESUME, lcd_advanced_pause_resume_print);
354 361
   END_MENU();
355 362
 }
356 363
 

+ 21
- 2
Marlin/src/module/tool_change.cpp View File

@@ -854,12 +854,16 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
854 854
         #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
855 855
           if (should_swap && !too_cold) {
856 856
             #if ENABLED(ADVANCED_PAUSE_FEATURE)
857
-              do_pause_e_move(toolchange_settings.swap_length, toolchange_settings.prime_speed);
857
+              do_pause_e_move(toolchange_settings.swap_length + TOOLCHANGE_FIL_EXTRA_PRIME, toolchange_settings.prime_speed);
858 858
             #else
859
-              current_position[E_AXIS] += toolchange_settings.swap_length / planner.e_factor[tmp_extruder];
859
+              current_position[E_AXIS] += (toolchange_settings.swap_length + TOOLCHANGE_FIL_EXTRA_PRIME) / planner.e_factor[tmp_extruder];
860 860
               planner.buffer_line(current_position, toolchange_settings.prime_speed, tmp_extruder);
861 861
             #endif
862 862
             planner.synchronize();
863
+
864
+            #if TOOLCHANGE_FIL_EXTRA_PRIME
865
+              planner.set_e_position_mm((destination[E_AXIS] = current_position[E_AXIS] = current_position[E_AXIS] - (TOOLCHANGE_FIL_EXTRA_PRIME)));
866
+            #endif
863 867
           }
864 868
         #endif
865 869
 
@@ -884,6 +888,21 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
884 888
       #if SWITCHING_NOZZLE_TWO_SERVOS
885 889
         lower_nozzle(active_extruder);
886 890
       #endif
891
+
892
+      #if ENABLED(TOOLCHANGE_FILAMENT_SWAP) && ADVANCED_PAUSE_RESUME_PRIME != 0
893
+        if (should_swap && !too_cold) {
894
+          const float resume_eaxis = current_position[E_AXIS];
895
+          #if ENABLED(ADVANCED_PAUSE_FEATURE)
896
+            do_pause_e_move(toolchange_settings.swap_length, toolchange_settings.prime_speed);
897
+          #else
898
+            current_position[E_AXIS] += (ADVANCED_PAUSE_RESUME_PRIME) / planner.e_factor[active_extruder];
899
+            planner.buffer_line(current_position, ADVANCED_PAUSE_PURGE_FEEDRATE, active_extruder);
900
+          #endif
901
+          planner.synchronize();
902
+          planner.set_e_position_mm((destination[E_AXIS] = current_position[E_AXIS] = resume_eaxis));
903
+        }
904
+      #endif
905
+
887 906
     } // (tmp_extruder != active_extruder)
888 907
 
889 908
     planner.synchronize();

Loading…
Cancel
Save