Feature: write shapefile fields to mesh attributes for access from Geometry/Shader Nodes #804
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR add a feature to write attributes from shapefiles to mesh points, edges or faces, depending on the feature type.
This feature will allow access to the attributes from Geometry Nodes (with
Named Attribute
node) and Shader Nodes (withAttribute
node), and facilitates data-based motion graphics and visualization.Due to the limitation of mesh attribute data types, only float or integer fields will be written.
The PR also includes two utility options:
2023-06-30
will be converted to2023.4958904109589041
. This allow users to create time-based animation easier.NULL
to a user-specified no-data value. Since mesh attributes in Blender cannot be null, this allow users to specify an unlikely value in the dataset and remove features accordingly.The attached video shows an example where the features are animated and stylized with a date field written to the faces.
2023-08-06.00-03-26.mp4