Page 1 of 1

Using command line to apply a colour scale / Changing histogram font size

Posted: Thu Sep 15, 2022 12:33 am
by tbere9
Hi all,

I have a bunch of STL meshes saved in a BIN file which I need to apply a specific colour scale to. All of the STL meshes have undergone cloud-to-mesh distance computation, so they have a scalar field that shows the error of each STL file relative to a single reference STL.

Is there any way to use command line to apply a single colour scale which I have created to all meshes within the BIN file? Alternatively, would this work if the STLs were saved as separate BIN files which I could recompile later? I tried different variations of this without any luck:
  • CloudCompare -M_EXPORT_FMT BIN -O E:\Scalar_Test\STL_File.bin -SF_COLOR_SCALE E:\Colour_Scale.xml

I was also wondering whether there is any way to change the font size of the histogram axes/axis labels? They're a bit too small at the moment.

Appreciate the help!

Re: Using command line to apply a colour scale / Changing histogram font size

Posted: Fri Sep 16, 2022 9:29 pm
by daniel
I fear that the current -SF_COLOR_SCALE option only works on clouds! And not on meshes...

I updated the latest version of CloudCompare 2.13.alpha online so that it can also work on meshes. Hope this will be sufficient.