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

import string attributes. #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

simonbroggi
Copy link
Owner

unfortunately there doesn't seem to be a way to use them with GeoNodes yet

unfortunately there doesn't seem to be a way to use them with GeoNodes yet
@HannahFantasia
Copy link

Hi there! what would be the reason why this PR isn't committed?

@simonbroggi
Copy link
Owner Author

Hi there! what would be the reason why this PR isn't committed?

It didn't seem useful to have attributes of type string on a mesh since there's is no way of using them with geometry nodes, as far as I know. How would you use such attributes?

@HannahFantasia
Copy link

To my knowledge, with the string to curve node, you can make interesting node graphs regarding that. If you have the string on the same coordinate as the float or integer that is supposed to be visualised.

@simonbroggi
Copy link
Owner Author

To my knowledge, with the string to curve node, you can make interesting node graphs regarding that. If you have the string on the same coordinate as the float or integer that is supposed to be visualised.

Yes, true, that's why I implemented it.
But I didn't find a way to actually get the data from the generated geometry.
There's no type String in the "Named Attribute" Node.
That's why I don't think it would be possible to get the string data in geometry nodes.

2024-02-25 15_27_36-_ (Unsaved) - Blender 4 0

@HannahFantasia
Copy link

Right, I looked into it and it seems that according to an individual, it means that currently it can only hold 256 long character strings in it. Which is considered a limitation. I doubt it will ever be upgraded to something more. Quite unfortunate it seems for now.

@simonbroggi
Copy link
Owner Author

simonbroggi commented Feb 26, 2024

Strings with a maximum length of 256 would probably be enough to label things in info graphics.
But as long as there's no way to access the strings with a node there's no way to use it I guess..
In case you find out some way to access the data I'd be happy update the plugin to allow importing strings.

@levaleureux
Copy link

I agree with @simonbroggi juste for labeling things it's very usefull and allow the possibility to create data driven map.
You can for example put name of town...
see this example can be extend https://www.youtube.com/watch?v=8964q07wzys and automate the naming of object.

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

Successfully merging this pull request may close these issues.

3 participants