Automating a process in CC

Feel free to ask any question here
Post Reply
OTH_TM
Posts: 2
Joined: Thu Jan 25, 2018 9:28 am

Automating a process in CC

Post by OTH_TM »

Hi all,

I'm using CloudCompare to scale and compare a point cloud to a CAD .stl file and apply a particular color scale to the point could. I'm wondering if it is possible to automate this process? So that I can pre set all the parameters and the programm will process the point cloud/mesh distance and output a colored point cloud?

Thank you!
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Automating a process in CC

Post by daniel »

You can use the command line tool to do this (http://www.cloudcompare.org/doc/wiki/in ... _line_mode).

You can call the distances computation tool, and (with the latest 2.10.alpha version) you can load a color scale from a XML file (saved with the 'Color Scale Manager') and apply it to the active scalar field.

See the C2C_DIST or C2M_DIST and the SF_COLOR_SCALE options.
Daniel, CloudCompare admin
OTH_TM
Posts: 2
Joined: Thu Jan 25, 2018 9:28 am

Re: Automating a process in CC

Post by OTH_TM »

Thank you! That's greate this is what i was looking for.

Is it also possible to use the "scale / multiply" function via console mode?
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Automating a process in CC

Post by daniel »

Not directly, but you can use the 'APPLY_TRANS' option to apply a 4x4 matrix with the scale on the 3 first values of the diagonal :
S 0 0 0
0 S 0 0
0 0 S 0
0 0 0 1
Daniel, CloudCompare admin
Post Reply