I'm trying to export the XYZ values from Raycast Geometry Nodes to a txt or csv. The output socket Hit Position, I know is a vector, but I can't access the coordinates of every hit position. How do I go about this issue?
This is the closest I get to achieve the data I need:
print(bpy.data.node_groups["Lidar"].nodes["Raycast"].outputs[1])

from bpy import context as C dg = C.evaluated_depsgraph_get() ev = C.object.evaluated_get(dg) print("Evaluated Verts:", len(C.object.evaluated_get(dg).data.vertices))
that's what i've tried, can i get the positions of every vertice? thanks for the help
– leocfranz Aug 28 '23 at 19:26coattribute with a position vector. So e.g.print(*(v.co for v in C.object.evaluated_get(dg).data.vertices), sep="\n")– Markus von Broady Aug 28 '23 at 19:35