As many PDFs as layers, export each layer as a separate file

Share your Inkscape tricks and tutorials here.
a2lyc
Posts: 2
Joined: Tue Jul 07, 2015 7:35 pm

As many PDFs as layers, export each layer as a separate file

Postby a2lyc » Tue Jul 07, 2015 8:08 pm

Hello,

First of all, thanks for Inkscape.

Then, I would like to know please if there is a way (maybe by console) to create as many PDFs as layers.

I am currently editing labels which are based on an initial layer plus three overlayers.
* --> ** --> ***

I have a tree like that :

Image

And I have to export to PDF all of the final branches.

Based on the example picture, I need lvl3.1, lvl3.2, lvl3.3, lvl3.4, lvl3.5 (lvl1.1, lvl2.1 and lvl2.2 are useless, but it's not a problem, if necessary I can delete the useless exported files). To have the complete lvl3.1, I also need lvl1.1 and lvl2.1 (but not the other layers).

Thanks a lot :)
Last edited by a2lyc on Wed Jul 08, 2015 8:56 pm, edited 1 time in total.

User avatar
Grobe
Posts: 411
Joined: Tue Feb 02, 2010 2:20 am

Re: As many PDFs as layers

Postby Grobe » Wed Jul 08, 2015 8:57 am

Hi.

Do you want to export each layer as a separate pdf?

Then you'll have to make one layer visible at the time and then export to PDF.

I prefer exporting to PDF by File --> Save a Copy [Tab], press P two times.
:lol:

a2lyc
Posts: 2
Joined: Tue Jul 07, 2015 7:35 pm

Re: As many PDFs as layers

Postby a2lyc » Wed Jul 08, 2015 8:55 pm

Hi,

Thanks for your answer, but that's already what I do in order to "export each layer as a separate file" (I edited my topic title...).

I have 185 layers to export! So I would like to find a way to automate this process...

Thanks,

User avatar
Grobe
Posts: 411
Joined: Tue Feb 02, 2010 2:20 am

Re: As many PDFs as layers, export each layer as a separate

Postby Grobe » Thu Jul 09, 2015 7:00 am

That's many layers, dude :o

Try this:
File --> Save a copy --> choose Filetype = JessyInk zipped pdf or png output (*.zip)
:lol:

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: As many PDFs as layers, export each layer as a separate

Postby hulf2012 » Thu Jul 09, 2015 7:46 am

Hello
I haven't tried Grobe answer

But related with that there is an option to save each layer as a separate SVG, and then zip it in a rar file "Layers as a separate SVG tar"

... and if you also learn to use Inkscape in command line mode:
http://tavmjong.free.fr/INKSCAPE/MANUAL ... dLine.html
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.


Return to “Tricks & Tutorials”