Jump to content
Sign in to follow this  
Nicolinux

Feature Request: UI/Script hook after slicing

Recommended Posts

Posted · Feature Request: UI/Script hook after slicing

Hi,

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
Posted · Feature Request: UI/Script hook after slicing

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 98 replies
×
×
  • Create New...

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!