tag:support.nodebox.net,2012-11-01:/discussions/nodebox-2-3/5865-svg-import-with-individual-layersNodeBox: Discussion 2016-12-19T16:17:29Ztag:support.nodebox.net,2012-11-01:Comment/414746162016-12-13T13:39:57Z2016-12-13T13:39:59ZSVG import, with individual layers<div><p>Is it possible to import an SVG, and have layers in separate
parts (not grouped)?</p>
<p>So for ex, I could rotate a specific layer of the SVG, not the
whole thing?</p></div>alexandretag:support.nodebox.net,2012-11-01:Comment/414746162016-12-18T21:33:37Z2016-12-18T21:33:37ZSVG import, with individual layers<div><p>Ungroup the svg and you can slice any part of it and let it
behave independently.</p></div>lucasnijstag:support.nodebox.net,2012-11-01:Comment/414746162016-12-18T21:38:35Z2016-12-18T21:38:35ZSVG import, with individual layers<div><p>I did ungroup in Illustrator/exported as SVG/mported into
nodebox</p>
<p>but it's became "one piece" on nodebox</p>
<p>Attached example file</p></div>alexandretag:support.nodebox.net,2012-11-01:Comment/414746162016-12-19T01:42:19Z2016-12-19T01:42:19ZSVG import, with individual layers<div><p>Alexandre,</p>
<p>If you attach your Import SVG node to an Ungroup node, NodeBox
will resolve the svg into its parts.</p>
<p>It's all or nothing, though, so in this case ungrouping your svg
results in a list of 41 individual shapes (10 for each plate plus
the 1 for the gray rectangle).</p>
<p>If you know the structure of your svg, you can slice the
resulting list into subsections and group those subsections to form
layers, which you can then rotate or reposition or do with as you
please.</p>
<p>I am attaching a very simple network which does this. It imports
your svg, ungroups it, and then forms the top two plates into two
separate objects. I rotate the white plate by 90 degrees, leave the
dark plate as it was, then recombine them.</p>
<p>Please let me know if you found this helpful.</p>
<p>John</p></div>johntag:support.nodebox.net,2012-11-01:Comment/414746162016-12-19T16:17:24Z2016-12-19T16:17:24ZSVG import, with individual layers<div><p>Hey Jonh, thanks so much! This is exactly what I wanted to
do!</p>
<p>Ideally, the "layer slicing" would be same as layer structure
defined in Illustrator. Is there a node that does that, instead of
manually doing it?</p>
<p>What is missing is the imported text (attached original SVG). Is
there a way to have it imported (as text, not outlined/vector)?</p>
<p>best!</p></div>alexandre