The following github project has both a script and add-on that will dynamically read a .csv file and extend designated mesh(es) with Custom Properties.
This helps automate data ‘enrichment’ of 3D assets that will be used with data visualization.
Example workflow:
- Build Blender 3D asset where sub-components have individual materials designated for visualization.
- Add Custom Properties (from a .csv file) for the sub-components that represent data that will be dynamically visualized at run-time.
- Export the Blender 3D asset with glTF exporter. The data in the Custom Properties will be in the ‘extras’ section of the glTF file and accessible by a visualization program.
- Import glTF file into visualization program.