freestyle-svg-exporter icon indicating copy to clipboard operation
freestyle-svg-exporter copied to clipboard

Naming feature request

Open xreider opened this issue 3 years ago • 1 comments

I need the SVG exporter can assign names for pathes and collections (or only for collections will be good too). My .blender files has a deep nested collections, I give a name to collections, and when I export it I need SVG to have <g> tags with the attribute data-name with the name I gave. It is like in Adobe Illistrator, I assign the name [car, transport] to a layer or to an object, and <g> or <path> tag has a data-name attribute data-name='[car, transport]'. It works with objects names the same way.

Why I need this feature? I want't to make some kids educational website with illustrated dictionaries. E.g. render some bitmap , and above them put svg transparent pictures with <g> tags with data-name attributes, and these attributes are connected to my JS scripts to fetch information.

I need it extremely soon. How can we come to an agreement?

xreider avatar Sep 28 '21 11:09 xreider

I need this feature as well.

Maybe this Plugin for Blender 2.8 helps you: https://blenderartists.org/t/svg-output-script/566412#post2399829

It assigns names to each 2d-shapes. The only drawback to me is, that it uses the viewport instead the camera-frame to render the output.

aalainn avatar Mar 20 '22 18:03 aalainn