Apply a SF to a mesh on the cmd line

Feel free to ask any question here
Post Reply
James2
Posts: 2
Joined: Thu Apr 07, 2022 7:56 am

Apply a SF to a mesh on the cmd line

Post by James2 »

On the command line...
I have 2 meshes and sample a point cloud for each
I can then calculate the C2C_dist between them and get a scalar field

How do I then apply this scalar field to the original mesh?

Thanks
James2
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Apply a SF to a mesh on the cmd line

Post by daniel »

Well, if you wish to have the distance values on the mesh in the end, you will have to compute the C2M distances instead (i.e. the distances between the vertices of the second mesh and the first mesh).

Currently, there's no way to call the 'Edit > Scalar fields > Interpolate from entity' tool via the command line.
Daniel, CloudCompare admin
James2
Posts: 2
Joined: Thu Apr 07, 2022 7:56 am

Re: Apply a SF to a mesh on the cmd line

Post by James2 »

Thanks for the reply Daniel and many thanks for your work on Cloud Compare.
Regards
James2
Post Reply