Slic3r icon indicating copy to clipboard operation
Slic3r copied to clipboard

Can't export to multiple SVG's from commandline.

Open PMKrol opened this issue 3 years ago • 11 comments

Describe the bug Can't export to multiple SVG's from commandline.

To Reproduce slic3r --layer-height 0.1 --export-svg piratecoin.stl slic3r --layer-height 0.1 --export-svg piratecoin.stl -o pira-mul slic3r --layer-height 0.1 --export-svg piratecoin.stl -o ./ slic3r --layer-height 0.1 --export-svg piratecoin.stl --output-filename-format [input_filename_base]_[layer_num].svg Slic3r/slic3r.pl --layer-height 0.1 --export-svg piratecoin.stl

3D Model and Slic3r Configuration Export piratecoin.zip https://www.thingiverse.com/thing:3950452

Expected behavior piratecoin001.svg ... piratecoin999.svg.

Desktop (please complete the following information):

  • OS: Kubuntu 20.04
  • Version 1.3.0

Additional context Read some of svg-relateg issues (e.g. https://github.com/slic3r/Slic3r/issues/4928), but didn't figure it out...

PMKrol avatar Dec 23 '22 19:12 PMKrol

Did you find the solution to your problem.

Because I am also looking for the command line tool with which I can save the sliced parts into sperate svg or jpeg fromat so later I can dsiplay those on lcd and cure the resin.

arslan437 avatar Jan 03 '23 08:01 arslan437

Unfortunately, started to writing my own script.

PMKrol avatar Jan 09 '23 11:01 PMKrol

Is it going to be open source?
Are you going to make your own slicers or a script that takes the single svg and convert it to multiple files ?

arslan437 avatar Jan 09 '23 13:01 arslan437

It's going to be command line tool to slice stl to svgs and eventually to gcode (maybe by svg2gcode or similar). Yes, it will be open-sourced.

PMKrol avatar Jan 11 '23 10:01 PMKrol

That's great. Did you created the repository? I want to follow it.

arslan437 avatar Jan 11 '23 10:01 arslan437

Also check the prusa slicer is also based on this repository. https://github.com/prusa3d/PrusaSlicer That is based on slic3r

arslan437 avatar Jan 11 '23 10:01 arslan437

I did! Unfortunately, it won't solve my problem. I'll put it on github when version prealpha-0.001-notworkingyetbutcoolenought will be done, promise ;)

PMKrol avatar Jan 11 '23 10:01 PMKrol

Check this link also https://github.com/prusa3d/PrusaSlicer/wiki/Command-Line-Interface

arslan437 avatar Jan 11 '23 10:01 arslan437

In which language you are developing?

arslan437 avatar Jan 11 '23 10:01 arslan437

As far as I remember, I tried all. C++. But I'm not a programmer ;)

PMKrol avatar Jan 11 '23 14:01 PMKrol

Why do you want to make your own slicer ?

arslan437 avatar Jan 11 '23 15:01 arslan437