prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.52k stars 1.9k forks source link

[Feature Request] Add Optimise Orientation to command line #4051

Open Maximo1491 opened 4 years ago

Maximo1491 commented 4 years ago

Version

PrusaSlicer 2.2.0

Operating system type + version

Windows 10

3D printer brand / version + firmware version (if known)

Resin Printers

Behavior

Been looking to write a script for Resin models that can automatically import the model, repair it, auto-orientate, then auto-support, then export the stl inc supports so I can set a batch of files going overnight. I believe I can do the repair, auto-support and auto-export already but can't see anything to do the auto-orientate. Would really help improve productivity!

rgauny commented 3 years ago

@Maximo1491 can you show an example of the steps you use to do the repair, auto-support and auto-export?

Maximo1491 commented 3 years ago

I haven't implemented it yet as the auto-orientate was key to what I wanted to achieve, but looking at the examples on the Slic3r page and then modifying it with the prusa options, I assume something like ".\prusa-slicer-console.exe --export-stl --repair --scale 100% --printer-technology SLA --supports-enable" would work?