Command Line C2C_dist Questions
Posted: Mon Apr 13, 2015 4:35 pm
Hello, I am trying to automate comparing meshes using cloudcompare, but I am coming up against a few issues. I was hoping someone here could help.
I have two .ply files with vertices, elements and faces and I want to perform a cloud compare between them.
I have tried the following command:
CloudCompare -o file1.ply -o file2.ply -C2C_dist
but I get the following error:
No point cloud available. Be sure to open or generate one first!
I then remove the element and face data, and then I get the command to run with a cloundcompare dialog and a .bin file is created. However, I would like to just get the mean distance and standard deviation returned in a way that I can write it to a report files.
I also tried sampling the mesh but instead of returning the vertices, randomly selected points from the faces are returned.
So here are my questions:
1. Is there a way to just import the point cloud from a mesh (i.e. import the vertices of a ply file) or do I need to do some preprocessing to remove the elements and faces?
2. Is there a way to return the mean distance and standard deviation as values using C2C_dist instead of printing that information to the console?
Thanks,
Geoff
I have two .ply files with vertices, elements and faces and I want to perform a cloud compare between them.
I have tried the following command:
CloudCompare -o file1.ply -o file2.ply -C2C_dist
but I get the following error:
No point cloud available. Be sure to open or generate one first!
I then remove the element and face data, and then I get the command to run with a cloundcompare dialog and a .bin file is created. However, I would like to just get the mean distance and standard deviation returned in a way that I can write it to a report files.
I also tried sampling the mesh but instead of returning the vertices, randomly selected points from the faces are returned.
So here are my questions:
1. Is there a way to just import the point cloud from a mesh (i.e. import the vertices of a ply file) or do I need to do some preprocessing to remove the elements and faces?
2. Is there a way to return the mean distance and standard deviation as values using C2C_dist instead of printing that information to the console?
Thanks,
Geoff