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!
Automating a process in CC
Re: Automating a process in CC
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.
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
Re: Automating a process in CC
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?
Is it also possible to use the "scale / multiply" function via console mode?
Re: Automating a process in CC
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
S 0 0 0
0 S 0 0
0 0 S 0
0 0 0 1
Daniel, CloudCompare admin