Browse Source

Implement NANODLP_Z_SYNC for 2.0.x

pull/1/head
Scott Lahteine 7 years ago
parent
commit
dc82babe8e
  1. 10
      Marlin/Configuration_adv.h
  2. 10
      Marlin/src/config/default/Configuration_adv.h
  3. 10
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 10
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  5. 10
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  6. 10
      Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h
  7. 10
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  8. 10
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  9. 10
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  10. 10
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  11. 10
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  12. 10
      Marlin/src/config/examples/Felix/Configuration_adv.h
  13. 10
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  14. 10
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  15. 10
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  16. 10
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  17. 10
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  18. 10
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  19. 10
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  20. 10
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  21. 10
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  22. 10
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  23. 10
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  24. 10
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  25. 10
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  26. 10
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  27. 10
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  28. 10
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  29. 10
      Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h
  30. 10
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  31. 10
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  32. 10
      Marlin/src/config/examples/makibox/Configuration_adv.h
  33. 10
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  34. 10
      Marlin/src/config/examples/wt150/Configuration_adv.h
  35. 1
      Marlin/src/core/language.h
  36. 8
      Marlin/src/gcode/motion/G0_G1.cpp

10
Marlin/Configuration_adv.h

@ -1492,4 +1492,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/default/Configuration_adv.h

@ -1492,4 +1492,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h

@ -1491,4 +1491,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/Anet/A6/Configuration_adv.h

@ -1491,4 +1491,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/Anet/A8/Configuration_adv.h

@ -1491,4 +1491,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h

@ -1493,4 +1493,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h

@ -1491,4 +1491,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h

@ -1488,4 +1488,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h

@ -1491,4 +1491,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/Cartesio/Configuration_adv.h

@ -1491,4 +1491,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h

@ -1494,4 +1494,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/Felix/Configuration_adv.h

@ -1491,4 +1491,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h

@ -1501,4 +1501,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h

@ -1491,4 +1491,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h

@ -1485,4 +1485,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h

@ -1495,4 +1495,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h

@ -1513,4 +1513,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/RigidBot/Configuration_adv.h

@ -1491,4 +1491,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/SCARA/Configuration_adv.h

@ -1491,4 +1491,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h

@ -1480,4 +1480,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h

@ -1491,4 +1491,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h

@ -1492,4 +1492,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h

@ -1499,4 +1499,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h

@ -1492,4 +1492,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h

@ -1493,4 +1493,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h

@ -1493,4 +1493,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/delta/generic/Configuration_adv.h

@ -1493,4 +1493,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h

@ -1493,4 +1493,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h

@ -1498,4 +1498,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h

@ -1493,4 +1493,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h

@ -1492,4 +1492,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/makibox/Configuration_adv.h

@ -1491,4 +1491,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h

@ -1491,4 +1491,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

10
Marlin/src/config/examples/wt150/Configuration_adv.h

@ -1492,4 +1492,14 @@
// tweaks made to the configuration are affecting the printer in real-time. // tweaks made to the configuration are affecting the printer in real-time.
#endif #endif
/**
* NanoDLP Synch support
*
* Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp"
* string to enable synchronization with DLP projector exposure. This change will allow to use
* [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
*
*/
//#define NANODLP_Z_SYNC
#endif // CONFIGURATION_ADV_H #endif // CONFIGURATION_ADV_H

1
Marlin/src/core/language.h

@ -145,6 +145,7 @@
#define MSG_BUSY_PROCESSING "busy: processing" #define MSG_BUSY_PROCESSING "busy: processing"
#define MSG_BUSY_PAUSED_FOR_USER "busy: paused for user" #define MSG_BUSY_PAUSED_FOR_USER "busy: paused for user"
#define MSG_BUSY_PAUSED_FOR_INPUT "busy: paused for input" #define MSG_BUSY_PAUSED_FOR_INPUT "busy: paused for input"
#define MSG_Z_MOVE_COMP "Z_move_comp"
#define MSG_RESEND "Resend: " #define MSG_RESEND "Resend: "
#define MSG_UNKNOWN_COMMAND "Unknown command: \"" #define MSG_UNKNOWN_COMMAND "Unknown command: \""
#define MSG_ACTIVE_EXTRUDER "Active Extruder: " #define MSG_ACTIVE_EXTRUDER "Active Extruder: "

8
Marlin/src/gcode/motion/G0_G1.cpp

@ -72,5 +72,13 @@ void GcodeSuite::G0_G1(
#else #else
prepare_move_to_destination(); prepare_move_to_destination();
#endif #endif
#if ENABLED(NANODLP_Z_SYNC)
// If G0/G1 command include Z-axis, wait for move and output sync text.
if (parser.seenval('Z')) {
stepper.synchronize();
SERIAL_ECHOLNPGM(MSG_Z_MOVE_COMP);
}
#endif
} }
} }

Loading…
Cancel
Save