Jump to content
Ultimaker Community of 3D Printing Experts
Sign in to follow this  

Feature Request: UI/Script hook after slicing

Recommended Posts


I'd like to request a feature where one would be able to call a script (only once) after slicing is done.

I'd like to use this feature to grab the generated gcode file and upload it to my server (where I add it to a specific Confluence wiki page). I am tuning my UM2 right now and I need to document which settings I used for which object in order to compare them later. Further down the "workflow pipe line" I intend to generate and print a qrcode and stick it on the 3d printed object. The qrcode is just an encoded url that points to the wiki page where the gcode file was added. This way I can take a look at objects later and instantly access the gcode file to see which print settings I have used.

I tried to create a simple Cura plugin that calls an os command until I realized that this would be called _every_ time when the Stream Engine is working. So I guess this is the wrong route to take.


Share this post

Link to post
Share on other sites

You most likely want to hook into the "save" button then?

If you do not mind some hacking, you could go into Cura/gui/sceneView.py and find "self._slicer.submitSliceInfoOnline()" (at 2 locations) this is most likely the point where you want to call your own script.


Share this post

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
Sign in to follow this  

  • Our picks

    • How to 3D print with reinforced engineering materials
      Ultimaker is hosting a webinar where we explain how you can achieve and maintain a high print success rate using these new reinforced engineering materials. Learn from Ultimaker's Product Manager of Materials and top chemical engineer Bart van As how you can take your 3D printing to that next level.
      • 2 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!