Jump to content

Feature Request: UI/Script hook after slicing


Nicolinux

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.

 

  • 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.

     

  • 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 beta released
        Another Cura release has arrived and in this 5.8 beta release, the focus is on improving Z seams, as well as completing support for the full Method series of printers by introducing a profile for the UltiMaker Method.
          • Like
        • 1 reply
      • 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...