I create a empty mesh and create many points in PointCloud and want to write a addon to export them, how to get them by python? i find the point cloud type doc, but don't get the api to get them:
PointCloud(ID)
base classes — bpy_struct, ID
https://docs.blender.org/api/current/bpy.types.PointCloud.html
Asked
Active
Viewed 114 times
0
willFederer
- 25
- 1

obj.datawill point to a curve or mesh data (splines or polygons/vertices). You can try this method which is a bit hacky to transform the Points to vertices which can be parsed easily (although it may take a while if you have millions of points) see https://blender.stackexchange.com/questions/227129/get-point-coordinates-generated-with-geometry-nodes – Gorgious Dec 19 '22 at 13:09