I find online the code for the creation of PointCloud from an object in a scene.
The code is here: Code .
Now I need to save this pointcloud object to a file but when I export the file with blender my object is not in a file and the same with the script:
I have the point obtained by the first link and I want to convert it in obj or any other file that is useful for pointcloud&ie rappresentation.
The error is on the opening file with the second link and it give me only this information: “Failed to open file. Maybe something is wrong with your file.”