Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Naming feature request #20

Open
xreider opened this issue Sep 28, 2021 · 1 comment
Open

Naming feature request #20

xreider opened this issue Sep 28, 2021 · 1 comment

Comments

@xreider
Copy link

xreider commented Sep 28, 2021

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?

@aalainn
Copy link

aalainn commented Mar 20, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants