PrusaSlicer Batch slicing and retraction
 
Notifications
Clear all

PrusaSlicer Batch slicing and retraction  

  RSS
Jacko
(@jacko)
New Member
PrusaSlicer Batch slicing and retraction

Hi all, I have PrusaSlicer 2.0 and have a few quick questions.

Is it possible to batch slice all of the stl files in a folder? I have a model with about 30 parts that need to be sliced and it’s very time consuming to do one by one. 

And is there a way to set retraction on a material basis and not an extruder basis? I wish to print TPU but it looks like I have to define a new printer to set retraction to 0.0mm since the extruder tab is baked into printer settings.

 

Thanks!

Posted : 04/06/2019 12:17 pm
bobstro
(@bobstro)
Illustrious Member
RE: PrusaSlicer Batch slicing and retraction

Yes, you can use PrusaSlicer in command line mode to do this. Get all the settings tuned in config mode, then save a config file with your desired settings. Thereafter, call PS in batch mode and point it to your directory of STLs and config.

I use a batch build process to create a folder of test files I use regularly. I have about a dozen test prints that I want generated in 4 filament families that I use regularly in 9 common nozzle sizes. Roughly 432 tiny prints. I regularly tweak my startup gcode and other settings, so wanted to automate the builds. With this process, regenerating all the gcode files takes about 5 minutes. 

I've put up incomplete notes here. Fair warning: My config examples were generated for older versions of Slic3rPE, and something in them is causing PS to stop. Newer configs created in PS work without issue so far as I can tell. 

My notes and disclaimers on 3D printing

and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan

Posted : 04/06/2019 1:07 pm
bobstro
(@bobstro)
Illustrious Member
RE: PrusaSlicer Batch slicing and retraction

To answer your 2nd question: You could create a config ini file with the retraction and filament settings you want, then either load it manually or modify a script to start PS. It's cumbersome as you'll have to remember what profile you used, and to reload the config when you change printer profiles.

The IdeaMaker slicer allows filament profiles to over-ride any other slicer settings. It's very slick in that regard. Clunky in others thouhh. 

My notes and disclaimers on 3D printing

and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan

Posted : 04/06/2019 1:10 pm
Share: