Feature: write shapefile fields to mesh attributes for access from Geometry/Shader Nodes#804
Open
SerLinkzero wants to merge 2 commits intodomlysz:masterfrom
Open
Feature: write shapefile fields to mesh attributes for access from Geometry/Shader Nodes#804SerLinkzero wants to merge 2 commits intodomlysz:masterfrom
SerLinkzero wants to merge 2 commits intodomlysz:masterfrom
Conversation
in separate object mode
|
Question, how did you use geometry nodes, I've tried but alway crash blender.Thank you |
Author
Is the crashes related to this PR, i.e. crashing only on the branched plugin, but not in the master? If so, it would be helpful if you could provide more detailed information, such as a sample of the shapefile, and the steps to reproduce the issue, etc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 Attributenode) and Shader Nodes (withAttributenode), 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-30will be converted to2023.4958904109589041. This allow users to create time-based animation easier.NULLto 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