Skip to content

seanol69/klipper-preprocessor

 
 

Repository files navigation

Klipper Preprocessor script for Cura

Project Maintenance License

Follow pedrolamas on Twitter Follow pedrolamas on Mastodon

Klipper Preprocessor is a Cura Post Processing Script to improve the output G-Code for Klipper usage.

Currently it allows the following improvements:

  • Add SET_PRINT_STATS_INFO so that Klipper can know what is the exact total layer count, and the current layer number in real-time.
  • Add TIMELAPSE_TAKE_FRAME so that Klipper together with moonraker-timelapse can take snapshots on each layer change to make timelapse videos.
  • Run preprocess_cancellation tool to add object cancellation data to the resulting G-Code, enabling Klipper to cancel any specific single object while printing.
  • Run klipper_estimator to add a more accurate time estimation to the resulting G-Code.

Klipper Preprocessor script for Cura

Initial setup

  1. Open Cura
  2. Open the "Help" menu and click "Show Configuration Folder"
  3. On the file list, open the "scripts" folder
  4. Download KlipperPreprocessor.py to the "scripts" folder
  5. Close the file list
  6. Close Cura
  7. (optional) Download preprocess_cancellation to a folder of your choice
  8. (optional) Download klipper_estimator to a folder of your choice
  9. Open Cura
  10. Open the "Extensions" menu, then "Post Processing", and click on "Modify G-Code"
  11. Click on "Add a script" and select "Klipper Preprocessor"
  12. Set options acording to your needs (hover any option to view the description)
  13. Click "Close" when ready

Credits and Acknowledgements

License

MIT

About

Klipper Preprocessor script for Cura

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%