Jump to content

Is there a way to save post processing plugin state?


brzasshopper

Recommended Posts

Posted · Is there a way to save post processing plugin state?

So I built a simple object in openscad, it is a topless cube of (parametric) size with (parametric) wall thickness that has a mark on it every (parametric) mm. My theory was to use it for generating test cubes for printing extrusion and temperature towers.

I have reproduced this code below, despite the fact that it is not germane to this in case anyone is interested.

In any case, the obvious question is how do you get it to get it to change temperatures or extrusion percentage every markOff (3) mm.

So I decided to use a bunch of "tweakatz" post processing calls. I added all the calls, sliced, and saved a project - and when I reloaded the project, it didn't reload my tweaks.

I had anticipated editing those calls - to change extrusion percentage, to produce a different range for ABS, Nylon, even PETG. Do I really have to add a bunch of these every time I want to do this with an object with different wall thicknesses, different temperatures, and the like?

I have looked, I don't see how to do this. Ancient versions of Cura used to save these, I think with the printer definition. They should be saved somewhere, maybe in the project.

Is this just another situation where I don't know the software that well? I have looked around the questions here and the doc, I found the explanation of how to use post processing, but nothing explains how to save the settings.

 

// This code is original code by Nicholas J. Simicich.// The copyright of this code is disclaimed and dedicated// to the public.cubeThickness = 0.48; // set to extruder size plus 20%cubeBase = true;cubeBaseThickness=0.5; // fill in the bottom.cubeHeight = 40; // As tall or short as you want.cubeSize = 15;  // typically 10mm or 20mm, your choice.// This allows you to divide the test cube into bands, marked by small // square protrusions on the outside of the tower.  We leave a minimum// of markOff clear at the top of the tower for measurements.// This test cube can't automatically change extrusion percentage as// we step up, nor can it change temperatures.  That can be handled in// kisslicer or using a cura add-on script very easily.// The marks are little triangular shelves.  They are supposed to// start the same width as the wall and then grow until they are // markSize larger.  A good first choice is cubeThickness.mark = true;markSize=cubeThickness;markOff = 3;// The above says produce a cube that is 15 by 15 by 40, with a 0.5mm // thick base.  The walls should be 0.48.mm thick.  Everything will be as// square as possible.module ring(size=cubeSize,markSize=1) {   difference() {       linear_extrude(height=markSize,            scale=(cubeSize+markSize)/cubeSize, convexity=25) {           square(cubeSize,true);           }       cube([cubeSize,cubeSize,markSize*4], true);   } // difference} // module// create the cube bodylinear_extrude(height=cubeHeight) {   difference() {       square(cubeSize,true);       offset(delta=-1*cubeThickness)           square(cubeSize,true);   } // difference} // linear_extrude// create the optional baseif(cubeBase) {   cube([cubeSize,cubeSize,cubeBaseThickness],true);} // if// create the optional marks on the tube sideif(mark) {   for(i = [markOff:markOff:cubeHeight-markOff]) {       translate([0,0,i-1]) ring(cubeSize,markSize);   }}

 

  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    New Cura doesn't have a way to save post processing scripts. I'm not quite sure if we will ever have it though. It's not very high on the feature list.

  • Link to post
    Share on other sites

    • 1 month later...
    Posted · Is there a way to save post processing plugin state?

    Interesting. I'm new to 3d printing, but pretty much everywhere says to run temp calibration towers with every new role of filament.

    I think the tweakatz post processing scripts are brilliant and have used them a lot recently. But I also have already become tired of inputting the same 10 scripts for every roll, with the same Z height and same temps.

    I then have to delete them after every temp calibration tower print since if they are there they get used. Its hard to imagine I'm alone in this frustration, but perhaps.

    How about a checkbox beside each one that if unchecked doesn't get processed. Then they just save with the system like they do currently and no worries. When i want, i open the screen and activate the ones I want to run.

    New Cura doesn't have a way to save post processing scripts. I'm not quite sure if we will ever have it though. It's not very high on the feature list.

  • Link to post
    Share on other sites

    • 4 months later...
    Posted · Is there a way to save post processing plugin state?

    I really want this feature too...

    Nice to be able to print layer 1 @ 210 and then down to 180 for the rest of the print, for good plate adhesion and minimal strings between objects.

  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    Being Devil's Advocate here, but shouldn't TweakatZ and other plugins be responsible for import and export of scripted values so they can be retrieved independently?

  • Link to post
    Share on other sites

    Posted (edited) · Is there a way to save post processing plugin state?

    Being Devil's Advocate here, but shouldn't TweakatZ and other plugins be responsible for import and export of scripted values so they can be retrieved independently?

    No, I want to be able to export a dozen of TweakatZ instances. I don't think the plugin should reach beyond it's own instance.

    It's really the responsibility of the 'post processing' facility.

    Edited by Guest
  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    Has there been any update on this position? I was slightly surprised that I had to enter my post processing scripts again, when I thought they might be saved with the profile.

  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    I also want them saved with the profile (as in the old Cura).  I also would like the option to save them independantly.  But having to re-enter these setups every time the profile is opened is absurd.

     

    Thanks!

     

    Mike

     

  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    I have to agree, and I wasn't expecting this at all, as Simplify3D saves them in its FFF file, and that is linked to the profile so to speak.

    Oh well, worst case I suppose I can phone a friend and collate my search and replace into some generic post processing script, that will manipulate the Cura file output and move it elsewhere. Shame, as I've got Cura working with my QuickFill equipped Robox, and using both nozzles at will in different combinations, and controlling the needle valves at the nozzles too. :O:)


     

  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    Another vote for saving these. Or edit the script to accept pasted data from a spreadsheet.

  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    @AbeFM This is what the Simplify3D interface is like, and you can cut & paste as well as save.

     

     

     Simplify3D Scripts Tab.png

  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    There is a pull request by @ghostkeeper that makes postprocessing settings “permanent”. It has not been merged sofar, but it could still be part of Cura 3.3

    • Thanks 2
    Link to post
    Share on other sites

    Posted (edited) · Is there a way to save post processing plugin state?

    Very good @ahoeben and @ghostkeeper that's one less thing to do... potentially. Thanks for the feedback.

    Edited by 24c
  • Link to post
    Share on other sites

    Posted (edited) · Is there a way to save post processing plugin state?

    @ahoeben is this the pull request? https://github.com/Ultimaker/Cura/pull/3229 If so, is it possible further down the line, assuming these are saved and applied on a per printer preference, which seems sensible to me, that there might be plans to view these in some sort of dialog box? Possibly like this? or maybe thinking afterwards each instance of say "Search and Replace" could be given a more useful name in this example below...

     

    @ghostkeeper a bit like this, so the user could track the scripts easier. Just an idea. :) 

     

    Cura Post Processing Scripts.png

    Edited by 24c
    get link right
  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    That pull request is indeed the one, 24c. Keep track of that link ;)

     

    Giving Search and Replace scripts a custom name and a sort of summary like in Simplify3D would be nice, I agree, but it doesn't jive well with the other post-processing scripts in there. If you don't use Search and Replace, that summary basically just repeats the list of scripts above it.

  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    @ghostkeeper totally agree about the summary box I drew, but I sort of did think along the S3D lines when I initially posted, and then realised it was duplicating what the script types summary above was doing, especially if you added all the other options not just search and replace. The "relatable name" was the afterthought, and would be more useful if you are using the same script several times, so you could keep track of things.

     

    Maybe that white box summary area should be retitled, conditional post processing scripts ;) Thanks for the update, as everything in Cura 3.2 is slicing and post processing nicely, when I look at the gcode, apart from that one conditional I need, but I have a Python script to play with, so maybe I can finish what I started a few days ago, and test this out in the meantime.

  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    Just noticed that the post processing steps are attached to the printer configuration. So you could have a separate profile with the same printer but different pps.

  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    What is the current status of this?

    I was disappearing in down the same rathole ...

     

    Was S3D user, but starting to love Cura 4, but this is something that is boggling my mind why this is not implemented. Kind-of renders the whole post-processing stuff useless for any serious use ...

  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    The pull request was merged well over a year ago, so it's been in Cura for a while now (up and including 4.0).

     

    What is it exactly that you are missing?

  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    Post processing script state is now stored between sessions. Has been so since Cura 3.3

  • Link to post
    Share on other sites

    Posted · Is there a way to save post processing plugin state?

    Not good enough. I want to create a file to upload to Thingify, that will let other uses interrupt the build in the middle, without them having to learn how to do it.

  • 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.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...