Browse Source

Extend M217 with configurable park/raise (#12076)

pull/1/head
Scott Lahteine 6 years ago
committed by GitHub
parent
commit
951b25163e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      Marlin/Configuration.h
  2. 5
      Marlin/src/config/default/Configuration.h
  3. 5
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  4. 5
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  5. 5
      Marlin/src/config/examples/Anet/A2/Configuration.h
  6. 5
      Marlin/src/config/examples/Anet/A2plus/Configuration.h
  7. 5
      Marlin/src/config/examples/Anet/A6/Configuration.h
  8. 5
      Marlin/src/config/examples/Anet/A8/Configuration.h
  9. 5
      Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
  10. 5
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
  11. 5
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
  12. 5
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  13. 5
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  14. 5
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  15. 5
      Marlin/src/config/examples/Cartesio/Configuration.h
  16. 5
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  17. 5
      Marlin/src/config/examples/Creality/CR-10S/Configuration.h
  18. 5
      Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
  19. 5
      Marlin/src/config/examples/Creality/CR-8/Configuration.h
  20. 5
      Marlin/src/config/examples/Creality/Ender-2/Configuration.h
  21. 5
      Marlin/src/config/examples/Creality/Ender-3/Configuration.h
  22. 5
      Marlin/src/config/examples/Creality/Ender-4/Configuration.h
  23. 5
      Marlin/src/config/examples/Einstart-S/Configuration.h
  24. 5
      Marlin/src/config/examples/Felix/Configuration.h
  25. 5
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  26. 5
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  27. 5
      Marlin/src/config/examples/Formbot/Raptor/Configuration.h
  28. 5
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h
  29. 5
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h
  30. 5
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  31. 5
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  32. 5
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h
  33. 5
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  34. 5
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  35. 5
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
  36. 5
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
  37. 5
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  38. 5
      Marlin/src/config/examples/JGAurora/A5/Configuration.h
  39. 5
      Marlin/src/config/examples/MakerParts/Configuration.h
  40. 5
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  41. 5
      Marlin/src/config/examples/Malyan/M200/Configuration.h
  42. 5
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  43. 5
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  44. 5
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  45. 5
      Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h
  46. 5
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  47. 5
      Marlin/src/config/examples/RigidBot/Configuration.h
  48. 5
      Marlin/src/config/examples/SCARA/Configuration.h
  49. 5
      Marlin/src/config/examples/STM32F10/Configuration.h
  50. 5
      Marlin/src/config/examples/STM32F4/Configuration.h
  51. 5
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  52. 5
      Marlin/src/config/examples/TheBorg/Configuration.h
  53. 5
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  54. 5
      Marlin/src/config/examples/Tronxy/X1/Configuration.h
  55. 5
      Marlin/src/config/examples/Tronxy/X3A/Configuration.h
  56. 5
      Marlin/src/config/examples/Tronxy/X5S/Configuration.h
  57. 5
      Marlin/src/config/examples/Tronxy/XY100/Configuration.h
  58. 5
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h
  59. 5
      Marlin/src/config/examples/Velleman/K8200/Configuration.h
  60. 5
      Marlin/src/config/examples/Velleman/K8400/Configuration.h
  61. 5
      Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
  62. 5
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h
  63. 5
      Marlin/src/config/examples/adafruit/ST7565/Configuration.h
  64. 5
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h
  65. 5
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  66. 5
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h
  67. 5
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
  68. 5
      Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h
  69. 5
      Marlin/src/config/examples/delta/generic/Configuration.h
  70. 5
      Marlin/src/config/examples/delta/kossel_mini/Configuration.h
  71. 5
      Marlin/src/config/examples/delta/kossel_pro/Configuration.h
  72. 5
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  73. 5
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
  74. 5
      Marlin/src/config/examples/makibox/Configuration.h
  75. 5
      Marlin/src/config/examples/stm32f103ret6/Configuration.h
  76. 5
      Marlin/src/config/examples/tvrrug/Round2/Configuration.h
  77. 5
      Marlin/src/config/examples/wt150/Configuration.h
  78. 34
      Marlin/src/gcode/config/M217.cpp
  79. 4
      Marlin/src/gcode/config/M92.cpp
  80. 29
      Marlin/src/gcode/parser.h
  81. 4
      Marlin/src/inc/SanityCheck.h
  82. 6
      Marlin/src/libs/point_t.h
  83. 10
      Marlin/src/module/configuration_store.cpp
  84. 8
      Marlin/src/module/motion.h
  85. 4
      Marlin/src/module/probe.cpp
  86. 44
      Marlin/src/module/tool_change.cpp
  87. 4
      Marlin/src/module/tool_change.h

5
Marlin/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/default/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Anet/A2/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Anet/A2plus/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Anet/A6/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Anet/A8/Configuration.h

@ -162,11 +162,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/BQ/Hephestos/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h

@ -169,11 +169,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/BQ/WITBOX/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Cartesio/Configuration.h

@ -162,11 +162,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Creality/CR-10/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Creality/CR-10S/Configuration.h

@ -165,11 +165,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h

@ -170,11 +170,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Creality/CR-8/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Creality/Ender-2/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Creality/Ender-3/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Creality/Ender-4/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Einstart-S/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Felix/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Felix/DUAL/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Formbot/Raptor/Configuration.h

@ -202,11 +202,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h

@ -164,11 +164,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h

@ -165,11 +165,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/JGAurora/A5/Configuration.h

@ -166,11 +166,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/MakerParts/Configuration.h

@ -181,11 +181,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Malyan/M150/Configuration.h

@ -166,11 +166,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Malyan/M200/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Mks/Sbase/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/RigidBot/Configuration.h

@ -164,11 +164,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/SCARA/Configuration.h

@ -192,11 +192,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/STM32F10/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/STM32F4/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Sanguinololu/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/TheBorg/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/TinyBoy2/Configuration.h

@ -183,11 +183,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Tronxy/X1/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Tronxy/X3A/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Tronxy/X5S/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Tronxy/XY100/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Velleman/K8200/Configuration.h

@ -181,11 +181,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Velleman/K8400/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/adafruit/ST7565/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h

@ -174,11 +174,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h

@ -166,11 +166,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/delta/generic/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/delta/kossel_mini/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/delta/kossel_pro/Configuration.h

@ -165,11 +165,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/delta/kossel_xl/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h

@ -166,11 +166,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/makibox/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/stm32f103ret6/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/tvrrug/Round2/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

5
Marlin/src/config/examples/wt150/Configuration.h

@ -161,11 +161,10 @@
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m) #define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK //#define SINGLENOZZLE_SWAP_PARK
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2 // (mm)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 } #define SINGLENOZZLE_TOOLCHANGE_XY { X_MIN_POS + 10, Y_MIN_POS + 10 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m) #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif #endif
#endif #endif

34
Marlin/src/gcode/config/M217.cpp

@ -36,25 +36,41 @@ void M217_report(const bool eeprom=false) {
const int16_t port = command_queue_port[cmd_queue_index_r]; const int16_t port = command_queue_port[cmd_queue_index_r];
#endif #endif
serialprintPGM_P(port, eeprom ? PSTR(" M217") : PSTR("Singlenozzle:")); serialprintPGM_P(port, eeprom ? PSTR(" M217") : PSTR("Singlenozzle:"));
SERIAL_ECHOPAIR_P(port, " S", sn_settings.swap_length); SERIAL_ECHOPAIR_P(port, " S", LINEAR_UNIT(sn_settings.swap_length));
SERIAL_ECHOPAIR_P(port, " P", sn_settings.prime_speed); SERIAL_ECHOPAIR_P(port, " P", LINEAR_UNIT(sn_settings.prime_speed));
SERIAL_ECHOLNPAIR_P(port, " R", sn_settings.retract_speed); SERIAL_ECHOPAIR_P(port, " R", LINEAR_UNIT(sn_settings.retract_speed));
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
SERIAL_ECHOPAIR_P(port, " X", LINEAR_UNIT(sn_settings.change_point.x));
SERIAL_ECHOPAIR_P(port, " Y", LINEAR_UNIT(sn_settings.change_point.y));
#endif
SERIAL_ECHOPAIR_P(port, " Z", LINEAR_UNIT(sn_settings.z_raise));
SERIAL_EOL();
} }
/** /**
* M217 - Set SINGLENOZZLE toolchange parameters * M217 - Set SINGLENOZZLE toolchange parameters
* *
* S[mm] Swap length * S[linear] Swap length
* P[mm/m] Prime speed * P[linear/m] Prime speed
* R[mm/m] Retract speed * R[linear/m] Retract speed
* X[linear] Park X (Requires SINGLENOZZLE_SWAP_PARK)
* Y[linear] Park Y (Requires SINGLENOZZLE_SWAP_PARK)
* Z[linear] Z Raise
*/ */
void GcodeSuite::M217() { void GcodeSuite::M217() {
bool report = true; bool report = true;
if (parser.seenval('S')) { report = false; const float v = parser.value_float(); sn_settings.swap_length = constrain(v, 0, 500); } if (parser.seenval('S')) { report = false; const float v = parser.value_linear_units(); sn_settings.swap_length = constrain(v, 0, 500); }
if (parser.seenval('P')) { report = false; const int16_t v = parser.value_int(); sn_settings.prime_speed = constrain(v, 10, 5400); } if (parser.seenval('P')) { report = false; const int16_t v = parser.value_linear_units(); sn_settings.prime_speed = constrain(v, 10, 5400); }
if (parser.seenval('R')) { report = false; const int16_t v = parser.value_int(); sn_settings.retract_speed = constrain(v, 10, 5400); } if (parser.seenval('R')) { report = false; const int16_t v = parser.value_linear_units(); sn_settings.retract_speed = constrain(v, 10, 5400); }
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
if (parser.seenval('X')) { report = false; sn_settings.change_point.x = parser.value_linear_units(); }
if (parser.seenval('Y')) { report = false; sn_settings.change_point.y = parser.value_linear_units(); }
#endif
if (parser.seenval('Z')) { report = false; sn_settings.z_raise = parser.value_linear_units(); }
if (report) M217_report(); if (report) M217_report();

4
Marlin/src/gcode/config/M92.cpp

@ -36,7 +36,7 @@ void GcodeSuite::M92() {
LOOP_XYZE(i) { LOOP_XYZE(i) {
if (parser.seen(axis_codes[i])) { if (parser.seen(axis_codes[i])) {
if (i == E_AXIS) { if (i == E_AXIS) {
const float value = parser.value_per_axis_unit((AxisEnum)(E_AXIS + TARGET_EXTRUDER)); const float value = parser.value_per_axis_units((AxisEnum)(E_AXIS + TARGET_EXTRUDER));
if (value < 20) { if (value < 20) {
float factor = planner.settings.axis_steps_per_mm[E_AXIS + TARGET_EXTRUDER] / value; // increase e constants if M92 E14 is given for netfab. float factor = planner.settings.axis_steps_per_mm[E_AXIS + TARGET_EXTRUDER] / value; // increase e constants if M92 E14 is given for netfab.
#if HAS_CLASSIC_JERK && (DISABLED(JUNCTION_DEVIATION) || DISABLED(LIN_ADVANCE)) #if HAS_CLASSIC_JERK && (DISABLED(JUNCTION_DEVIATION) || DISABLED(LIN_ADVANCE))
@ -48,7 +48,7 @@ void GcodeSuite::M92() {
planner.settings.axis_steps_per_mm[E_AXIS + TARGET_EXTRUDER] = value; planner.settings.axis_steps_per_mm[E_AXIS + TARGET_EXTRUDER] = value;
} }
else { else {
planner.settings.axis_steps_per_mm[i] = parser.value_per_axis_unit((AxisEnum)i); planner.settings.axis_steps_per_mm[i] = parser.value_per_axis_units((AxisEnum)i);
} }
} }
} }

29
Marlin/src/gcode/parser.h

@ -224,6 +224,9 @@ public:
#if ENABLED(INCH_MODE_SUPPORT) #if ENABLED(INCH_MODE_SUPPORT)
static inline float mm_to_linear_unit(const float mm) { return mm / linear_unit_factor; }
static inline float mm_to_volumetric_unit(const float mm) { return mm / (volumetric_enabled ? volumetric_unit_factor : linear_unit_factor); }
// Init linear units by constructor // Init linear units by constructor
GCodeParser() { set_input_linear_units(LINEARUNIT_MM); } GCodeParser() { set_input_linear_units(LINEARUNIT_MM); }
@ -244,18 +247,28 @@ public:
return (axis >= E_AXIS && volumetric_enabled ? volumetric_unit_factor : linear_unit_factor); return (axis >= E_AXIS && volumetric_enabled ? volumetric_unit_factor : linear_unit_factor);
} }
static inline float value_linear_units() { return value_float() * linear_unit_factor; } FORCE_INLINE static float linear_value_to_mm(const float v) { return v * linear_unit_factor; }
static inline float value_axis_units(const AxisEnum axis) { return value_float() * axis_unit_factor(axis); } FORCE_INLINE static float axis_value_to_mm(const AxisEnum axis, const float v) { return v * axis_unit_factor(axis); }
static inline float value_per_axis_unit(const AxisEnum axis) { return value_float() / axis_unit_factor(axis); } FORCE_INLINE static float per_axis_value(const AxisEnum axis, const float v) { return v / axis_unit_factor(axis); }
#else #else
FORCE_INLINE static float value_linear_units() { return value_float(); } FORCE_INLINE static float mm_to_linear_unit(const float mm) { return mm; }
FORCE_INLINE static float value_axis_units(const AxisEnum a) { UNUSED(a); return value_float(); } FORCE_INLINE static float mm_to_volumetric_unit(const float mm) { return mm; }
FORCE_INLINE static float value_per_axis_unit(const AxisEnum a) { UNUSED(a); return value_float(); }
FORCE_INLINE static float linear_value_to_mm(const float v) { return v; }
FORCE_INLINE static float axis_value_to_mm(const AxisEnum axis, const float v) { UNUSED(axis); return v; }
FORCE_INLINE static float per_axis_value(const AxisEnum axis, const float v) { UNUSED(axis); return v; }
#endif #endif
#define LINEAR_UNIT(V) parser.mm_to_linear_unit(V)
#define VOLUMETRIC_UNIT(V) parser.mm_to_volumetric_unit(V)
static inline float value_linear_units() { return linear_value_to_mm(value_float()); }
static inline float value_axis_units(const AxisEnum axis) { return axis_value_to_mm(axis, value_float()); }
static inline float value_per_axis_units(const AxisEnum axis) { return per_axis_value(axis, value_float()); }
#if ENABLED(TEMPERATURE_UNITS_SUPPORT) #if ENABLED(TEMPERATURE_UNITS_SUPPORT)
static inline void set_input_temp_units(TempUnit units) { input_temp_units = units; } static inline void set_input_temp_units(TempUnit units) { input_temp_units = units; }
@ -306,11 +319,15 @@ public:
} }
} }
#define TEMP_UNIT(N) parser.to_temp_units(N)
#else // !TEMPERATURE_UNITS_SUPPORT #else // !TEMPERATURE_UNITS_SUPPORT
FORCE_INLINE static float value_celsius() { return value_float(); } FORCE_INLINE static float value_celsius() { return value_float(); }
FORCE_INLINE static float value_celsius_diff() { return value_float(); } FORCE_INLINE static float value_celsius_diff() { return value_float(); }
#define TEMP_UNIT(N) (N)
#endif // !TEMPERATURE_UNITS_SUPPORT #endif // !TEMPERATURE_UNITS_SUPPORT
FORCE_INLINE static float value_feedrate() { return value_linear_units(); } FORCE_INLINE static float value_feedrate() { return value_linear_units(); }

4
Marlin/src/inc/SanityCheck.h

@ -611,8 +611,8 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
#error "SINGLENOZZLE requires SINGLENOZZLE_SWAP_PRIME_SPEED. Please update your Configuration." #error "SINGLENOZZLE requires SINGLENOZZLE_SWAP_PRIME_SPEED. Please update your Configuration."
#endif #endif
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#ifndef SINGLENOZZLE_TOOLCHANGE_POSITION #ifndef SINGLENOZZLE_TOOLCHANGE_XY
#error "SINGLENOZZLE_SWAP_PARK requires SINGLENOZZLE_TOOLCHANGE_POSITION. Please update your Configuration." #error "SINGLENOZZLE_SWAP_PARK requires SINGLENOZZLE_TOOLCHANGE_XY. Please update your Configuration."
#elif !defined(SINGLENOZZLE_PARK_XY_FEEDRATE) #elif !defined(SINGLENOZZLE_PARK_XY_FEEDRATE)
#error "SINGLENOZZLE_SWAP_PARK requires SINGLENOZZLE_PARK_XY_FEEDRATE. Please update your Configuration." #error "SINGLENOZZLE_SWAP_PARK requires SINGLENOZZLE_PARK_XY_FEEDRATE. Please update your Configuration."
#endif #endif

6
Marlin/src/libs/point_t.h

@ -19,9 +19,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
#ifndef __POINT_T__ #include <math.h>
#define __POINT_T__
/** /**
* @brief Cartesian Point * @brief Cartesian Point
@ -53,5 +53,3 @@ struct point_t {
point_t(const float x, const float y) : point_t(x, y, NAN) {} point_t(const float x, const float y) : point_t(x, y, NAN) {}
}; };
#endif // __POINT_T__

10
Marlin/src/module/configuration_store.cpp

@ -1836,6 +1836,10 @@ void MarlinSettings::reset(PORTARG_SOLO) {
sn_settings.swap_length = SINGLENOZZLE_SWAP_LENGTH; sn_settings.swap_length = SINGLENOZZLE_SWAP_LENGTH;
sn_settings.prime_speed = SINGLENOZZLE_SWAP_PRIME_SPEED; sn_settings.prime_speed = SINGLENOZZLE_SWAP_PRIME_SPEED;
sn_settings.retract_speed = SINGLENOZZLE_SWAP_RETRACT_SPEED; sn_settings.retract_speed = SINGLENOZZLE_SWAP_RETRACT_SPEED;
sn_settings.z_raise = SINGLENOZZLE_TOOLCHANGE_ZRAISE;
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
sn_settings.change_point = SINGLENOZZLE_TOOLCHANGE_XY;
#endif
#endif #endif
// //
@ -2096,15 +2100,11 @@ void MarlinSettings::reset(PORTARG_SOLO) {
*/ */
CONFIG_ECHO_START; CONFIG_ECHO_START;
#if ENABLED(INCH_MODE_SUPPORT) #if ENABLED(INCH_MODE_SUPPORT)
#define LINEAR_UNIT(N) (float(N) / parser.linear_unit_factor)
#define VOLUMETRIC_UNIT(N) (float(N) / (parser.volumetric_enabled ? parser.volumetric_unit_factor : parser.linear_unit_factor))
SERIAL_ECHOPGM_P(port, " G2"); SERIAL_ECHOPGM_P(port, " G2");
SERIAL_CHAR_P(port, parser.linear_unit_factor == 1.0 ? '1' : '0'); SERIAL_CHAR_P(port, parser.linear_unit_factor == 1.0 ? '1' : '0');
SERIAL_ECHOPGM_P(port, " ;"); SERIAL_ECHOPGM_P(port, " ;");
SAY_UNITS_P(port, false); SAY_UNITS_P(port, false);
#else #else
#define LINEAR_UNIT(N) (N)
#define VOLUMETRIC_UNIT(N) (N)
SERIAL_ECHOPGM_P(port, " G21 ; Units in mm"); SERIAL_ECHOPGM_P(port, " G21 ; Units in mm");
SAY_UNITS_P(port, false); SAY_UNITS_P(port, false);
#endif #endif
@ -2116,13 +2116,11 @@ void MarlinSettings::reset(PORTARG_SOLO) {
CONFIG_ECHO_START; CONFIG_ECHO_START;
#if ENABLED(TEMPERATURE_UNITS_SUPPORT) #if ENABLED(TEMPERATURE_UNITS_SUPPORT)
#define TEMP_UNIT(N) parser.to_temp_units(N)
SERIAL_ECHOPGM_P(port, " M149 "); SERIAL_ECHOPGM_P(port, " M149 ");
SERIAL_CHAR_P(port, parser.temp_units_code()); SERIAL_CHAR_P(port, parser.temp_units_code());
SERIAL_ECHOPGM_P(port, " ; Units in "); SERIAL_ECHOPGM_P(port, " ; Units in ");
serialprintPGM_P(port, parser.temp_units_name()); serialprintPGM_P(port, parser.temp_units_name());
#else #else
#define TEMP_UNIT(N) (N)
SERIAL_ECHOLNPGM_P(port, " M149 C ; Units in Celsius"); SERIAL_ECHOLNPGM_P(port, " M149 C ; Units in Celsius");
#endif #endif

8
Marlin/src/module/motion.h

@ -155,6 +155,14 @@ void do_blocking_move_to_x(const float &rx, const float &fr_mm_s=0);
void do_blocking_move_to_z(const float &rz, const float &fr_mm_s=0); void do_blocking_move_to_z(const float &rz, const float &fr_mm_s=0);
void do_blocking_move_to_xy(const float &rx, const float &ry, const float &fr_mm_s=0); void do_blocking_move_to_xy(const float &rx, const float &ry, const float &fr_mm_s=0);
FORCE_INLINE void do_blocking_move_to(const float (&raw)[XYZ], const float &fr_mm_s) {
do_blocking_move_to(raw[X_AXIS], raw[Y_AXIS], raw[Z_AXIS], fr_mm_s);
}
FORCE_INLINE void do_blocking_move_to(const float (&raw)[XYZE], const float &fr_mm_s) {
do_blocking_move_to(raw[X_AXIS], raw[Y_AXIS], raw[Z_AXIS], fr_mm_s);
}
void setup_for_endstop_or_probe_move(); void setup_for_endstop_or_probe_move();
void clean_up_after_endstop_or_probe_move(); void clean_up_after_endstop_or_probe_move();

4
Marlin/src/module/probe.cpp

@ -94,10 +94,6 @@ float zprobe_zoffset; // Initialized by settings.load()
#elif ENABLED(Z_PROBE_ALLEN_KEY) #elif ENABLED(Z_PROBE_ALLEN_KEY)
FORCE_INLINE void do_blocking_move_to(const float (&raw)[XYZ], const float &fr_mm_s) {
do_blocking_move_to(raw[X_AXIS], raw[Y_AXIS], raw[Z_AXIS], fr_mm_s);
}
void run_deploy_moves_script() { void run_deploy_moves_script() {
#if defined(Z_PROBE_ALLEN_KEY_DEPLOY_1_X) || defined(Z_PROBE_ALLEN_KEY_DEPLOY_1_Y) || defined(Z_PROBE_ALLEN_KEY_DEPLOY_1_Z) #if defined(Z_PROBE_ALLEN_KEY_DEPLOY_1_X) || defined(Z_PROBE_ALLEN_KEY_DEPLOY_1_Y) || defined(Z_PROBE_ALLEN_KEY_DEPLOY_1_Z)
#ifndef Z_PROBE_ALLEN_KEY_DEPLOY_1_X #ifndef Z_PROBE_ALLEN_KEY_DEPLOY_1_X

44
Marlin/src/module/tool_change.cpp

@ -35,10 +35,6 @@
#if FAN_COUNT > 0 #if FAN_COUNT > 0
uint8_t singlenozzle_fan_speed[EXTRUDERS]; uint8_t singlenozzle_fan_speed[EXTRUDERS];
#endif #endif
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#include "../libs/point_t.h"
const point_t singlenozzle_change_point = SINGLENOZZLE_TOOLCHANGE_POSITION;
#endif
#endif #endif
#if ENABLED(PARKING_EXTRUDER) && PARKING_EXTRUDER_SOLENOIDS_DELAY > 0 #if ENABLED(PARKING_EXTRUDER) && PARKING_EXTRUDER_SOLENOIDS_DELAY > 0
@ -659,8 +655,6 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
fan_speed[0] = singlenozzle_fan_speed[tmp_extruder]; fan_speed[0] = singlenozzle_fan_speed[tmp_extruder];
#endif #endif
if (!no_move) set_destination_from_current();
if (sn_settings.swap_length) { if (sn_settings.swap_length) {
#if ENABLED(ADVANCED_PAUSE_FEATURE) #if ENABLED(ADVANCED_PAUSE_FEATURE)
do_pause_e_move(-sn_settings.swap_length, MMM_TO_MMS(sn_settings.retract_speed)); do_pause_e_move(-sn_settings.swap_length, MMM_TO_MMS(sn_settings.retract_speed));
@ -670,22 +664,26 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
#endif #endif
} }
if (!no_move) { constexpr float snfr =
current_position[Z_AXIS] += ( #if ENABLED(SINGLENOZZLE_SWAP_PARK)
#if ENABLED(SINGLENOZZLE_SWAP_PARK) MMM_TO_MMS(SINGLENOZZLE_PARK_XY_FEEDRATE);
singlenozzle_change_point.z #else
#else 0
SINGLENOZZLE_TOOLCHANGE_ZRAISE #endif
#endif ;
);
float old_pos[XYZ];
planner.buffer_line(current_position, planner.settings.max_feedrate_mm_s[Z_AXIS], active_extruder); if (!no_move) {
COPY(old_pos, current_position);
#if ENABLED(SINGLENOZZLE_SWAP_PARK) #if ENABLED(SINGLENOZZLE_SWAP_PARK)
current_position[X_AXIS] = singlenozzle_change_point.x; current_position[X_AXIS] = sn_settings.change_point.x;
current_position[Y_AXIS] = singlenozzle_change_point.y; current_position[Y_AXIS] = sn_settings.change_point.y;
planner.buffer_line(current_position, MMM_TO_MMS(SINGLENOZZLE_PARK_XY_FEEDRATE), active_extruder);
#endif #endif
current_position[Z_AXIS] += sn_settings.z_raise;
do_blocking_move_to(current_position, snfr);
} }
singlenozzle_temp[active_extruder] = thermalManager.target_temperature[0]; singlenozzle_temp[active_extruder] = thermalManager.target_temperature[0];
@ -708,15 +706,7 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
#endif #endif
} }
if (!no_move) { if (!no_move) do_blocking_move_to(old_pos, snfr);
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
current_position[X_AXIS] = destination[X_AXIS];
current_position[Y_AXIS] = destination[Y_AXIS];
planner.buffer_line(current_position, MMM_TO_MMS(SINGLENOZZLE_PARK_XY_FEEDRATE), active_extruder);
#endif
do_blocking_move_to(destination[X_AXIS], destination[Y_AXIS], destination[Z_AXIS]);
}
#elif EXTRUDERS > 1 #elif EXTRUDERS > 1

4
Marlin/src/module/tool_change.h

@ -52,6 +52,10 @@
typedef struct { typedef struct {
float swap_length; float swap_length;
int16_t prime_speed, retract_speed; int16_t prime_speed, retract_speed;
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
struct { float x, y; } change_point;
#endif
float z_raise;
} singlenozzle_settings_t; } singlenozzle_settings_t;
extern singlenozzle_settings_t sn_settings; extern singlenozzle_settings_t sn_settings;
extern uint16_t singlenozzle_temp[EXTRUDERS]; extern uint16_t singlenozzle_temp[EXTRUDERS];

Loading…
Cancel
Save