slic3r / Slic3r

Open Source toolpath generator for 3D printers
https://slic3r.org/
GNU Affero General Public License v3.0
3.28k stars 1.29k forks source link

how to export a new .stl file from a old one by command line #5139

Closed link577 closed 1 year ago

link577 commented 2 years ago

Version

1.3.0

I want change some config and generate a new stl file(example_new.stl) from the old one(example_old.stl) by command line, such as :

$ slic3r --fill-density 70 example_old.stl

I change the fill density to 70%. But I don't know how to export a new stl file. In version 1.3.0 "--export-stl" command is not useful. Can anyone helps me. Thanks so much!

lukewarm-h2o commented 1 year ago

--fill-density is a slicer setting and wont affect the triangle mesh data in an stl. If you are trying to save print configurations: " You can also create a config file from command line:

slic3r --nozzle-diameter 0.35 --filament-diameter 2.85 \ --temperature 185 --first-layer-temperature 195 --layer-height 0.2 \ --save my_config.ini "

link577 commented 1 year ago

--fill-density is a slicer setting and wont affect the triangle mesh data in an stl. If you are trying to save print configurations: " You can also create a config file from command line:

slic3r --nozzle-diameter 0.35 --filament-diameter 2.85 --temperature 185 --first-layer-temperature 195 --layer-height 0.2 --save my_config.ini "

I see,thanks!