Jump to content

How to Add a Post Processing Script (.PY) in the Cura folder?


Ltek

Recommended Posts

Posted · How to Add a Post Processing Script (.PY) in the Cura folder?

 

1 hour ago, ahoeben said:

Especially people that have not visited the forum in 5 years.

Thank you for mentioning that...my bad... I will keep in mind.

 

Can anyone please tell me when I use the Timelapse script it captures images... I am wondering where the images are saved... I am intersted in camera triggering at each layer to capture images...The time lapse script takes snapshots however I cannot find them.

Thank you

 

  • Link to post
    Share on other sites

    Posted · How to Add a Post Processing Script (.PY) in the Cura folder?

    It doesn't take snapshots. It add gcode commands to the printjob, which a printer (or eg octoprint) could interpret to take snapshots. There is nothing in the Timelapse postprocessing script that actually takes or stores pictures.

    • Like 1
    Link to post
    Share on other sites

    Posted · How to Add a Post Processing Script (.PY) in the Cura folder?
    6 minutes ago, ahoeben said:

    It doesn't take snapshots. It add gcode commands to the printjob, which a printer (or eg octoprint) could interpret to take snapshots. There is nothing in the Timelapse postprocessing script that actually takes or stores pictures.

    There goes my dreams of making myself a webcam out of Python so I don't have to keep swapping the one I have between my printer's tent and my monitor. Guess I'll have to buy another one 😞 

  • Link to post
    Share on other sites

    Posted · How to Add a Post Processing Script (.PY) in the Cura folder?

    Here is another one of my re-writes.  There is a pull request in for this one.  I don't think it's been looked at yet.

    The main differences are the option for "Image Frequency" (every layer, or every so-many-layers) and support for Relative Extrusion.  This should go into the "scripts" folder in the Config Folder so it doesn't over-write the current Cura version.

     

    TimeLapse.zip

     

    (Slowing down the image frequency to every 5th layer allows me to get the little flash powder tin filled.)

     

     

     

  • Link to post
    Share on other sites

    Posted · How to Add a Post Processing Script (.PY) in the Cura folder?

    Thanks for the script...its very useful... as octopi doesn't work with Ultimaker S5 is there any other way to trigger the camera using the above code and store the images in my raspberry pi/or Laptop?

    I have enabled the Ultimaker USB port and attach an USB the camera to the same. I am not able to figure out how can I use the camera to capture images and store them to my computer directory.

    Any suggestion would be appreciated.

    Thanks 

  • Link to post
    Share on other sites

    Posted · How to Add a Post Processing Script (.PY) in the Cura folder?
    15 hours ago, Abdur said:

    Thanks for the script...its very useful... as octopi doesn't work with Ultimaker S5 is there any other way to trigger the camera using the above code and store the images in my raspberry pi/or Laptop?

    I have enabled the Ultimaker USB port and attach an USB the camera to the same. I am not able to figure out how can I use the camera to capture images and store them to my computer directory.

    Any suggestion would be appreciated.

    Thanks 

    UltiMaker printers aren't designed with this capability in mind so I doubt you could get it to work.

  • Link to post
    Share on other sites

    Posted · How to Add a Post Processing Script (.PY) in the Cura folder?

    Ill note for this topic in particular.. they would just get sent back here for tips..
    This is not functionality UltiMaker provides support for as it far exceeds intended usage. 

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...