I have some data with cartesian coordinates + some attributes (e.g. size, rotation, and/or color) outside blender and want to use that as basis for geometry nodes. For example, I want to use the vertices as instances for cubes or spheres and use additional attributes to scale/rotate/etc the instances accordingly.
Is it currently possible to read in the data from a file (e.g. csv, ply, etc.) into geometry nodes maybe by using the import functions or by using the python API with a small script?
At the moment I save the data into a .ply-file with properties x, y, z, red, green, blue, so I have the points. However, using the red, green, and blue property seems useless without using faces and I end up with the vertices which I can instance, but not transform.
Maybe it would also be possible to import the data in two steps.
- One x-y-z file with the actual vertices
- Additional information given in another file with x-y-z information, but with the meaning of attr1, attr2, attr3.
- using this additonal geometry for the actual object (e.g. distance from the origin for size) and
- removing the geometry from the final result again (which I don't know at the moment how to do; probably something with join geometry first, then at the end with point separate and some condition evaluated before)
- This seems a bit complicated though.