Notifications
Clear all

PrusaSlicer: Programmatic automation?  

  RSS
Koobenhoff
(@koobenhoff)
Active Member
PrusaSlicer: Programmatic automation?

Hello All,

I have been using PrusaSlicer since GA release and I have been very pleased with the GUI.  I want to explore methods of automating my production process, and I was curious if anyone has attempted to automate the slicing process using a CLI, cloud trigger function, or other method.

I am pretty adept with Java, C(++,#,etc), Javascript, PowerShell, etc.  Is there an object or function reference that I can use for the basic slicing operations? I want to use the same settings for layer height, infill %, infill pattern, and bed temp, with only slight changes to nozzle temp based on the material I am using.

 

Basic Logic Flow (obviously I am open to suggestion)

- End user enters their parameters in a web GUI

- Parameters are passed to (Function, Web app, VM with libs or whatever)

     - My OpenSCAD uses the parameters to modify the base object

     - OpenSCAD output STL for slicing

     - STL is sliced and output to storage queue for printing

Has anyone dabbled in this area?  I have been scouring the 'net for anyone that has done any sort of end-to-end automation, with very little success.

 

Kind Regards,

Cory

This topic was modified 5 years temu by Koobenhoff
Opublikowany : 21/06/2019 3:30 pm
vintagepc
(@vintagepc)
Member
RE: PrusaSlicer: Programmatic automation?

IIRC the core library that handles the slicing is libslic3r, which the UI is simply built around.

While I don't have any info to hand, I seem to recall reading that there is CLI capability available somehow though. 

Opublikowany : 21/06/2019 3:53 pm
bobstro
(@bobstro)
Illustrious Member
RE: PrusaSlicer: Programmatic automation?

I have a crappy shell script that I use to automate my calibration prints (12 prints X 4 materials X 9 nozzle sizes). It works well with older Slic3rPE versions, but PrusaSlicer has a bug that won't let it read more than one .ini file at a time. I've created an issue on Prusa's GitHub.

You can call a baseline config, then load successive configs for granular fine tuning when it's working properly.

Incomplete notes here.

 

GitHub issue here.

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

Opublikowany : 21/06/2019 3:54 pm
Share: