Batch process mesh to mesh comparison

Feel free to ask any question here
Post Reply
smelillo
Posts: 1
Joined: Thu Jun 05, 2025 3:44 pm

Batch process mesh to mesh comparison

Post by smelillo »

Hello,

We are using the cloud to cloud comparison tool on meshes, with each mesh representing 1 observation. All the meshes are stored in a folder and named with a unique ID. We were loading them in manually and running the tool and everything is working well. (thanks!!)

We would like to generate a vector of distances for all unique pairwise comparisons and have that process automatically rather than manually. Is it possible? How could we go about that? I unfortunately don't code Matlab or Python.
daniel
Site Admin
Posts: 8158
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Batch process mesh to mesh comparison

Post by daniel »

Are you really using the C2C tool? Not the C2M one? (in which case, you only compute the distance between the vertices of one mesh to the vertices of the other mesh, not to its 'surface').

Anyway, you could try to create a 'command line' script (hopefully easier than coding in Python). At least you can easily load 2 meshes, compute the distances and export the result to a .bin file for instance, or extract the vertices on the 'compared' mesh and export them as an ASCII file (to easily read the output distances).

It's not 100% clear to me on what the output 'vector' you are looking to assemble is.
Daniel, CloudCompare admin
Post Reply