Page 1 of 1

Script for compution of scattering angle

Posted: Fri Nov 06, 2015 9:18 am
by Ingsayyad
Is it possible to automate the whole process for >10 clouds by using script. If yes how
I never run script.
Compute normal (options)
bestfit plane
radius 0.05
+ (0,0,0)
Create sensors
TLS/GBL (by defalut settings)
Compute Scattering angle
conver 2 degree
Export all Scans as text file with default name in given directory

When nothing possible.. minimum how can I batch process the creation of Scattering angle... At the moment I can click on single ID

Re: Script for compution of scattering angle

Posted: Fri Nov 06, 2015 8:11 pm
by daniel
Sadly most of the parts of your process can't be called via the command line mode (you can mainly do best plane fitting ;). What is the 'radius 0.05' by the way?

Anyway a typical command line looks like:
CloudCompare -O MyPath/MyFile.extension -BEST_FIT_PLANE -APPLY_TRANS transformation.txt ...

Re: Script for compution of scattering angle

Posted: Sat Nov 07, 2015 12:07 pm
by Ingsayyad
When nothing possible.. minimum how can I batch process the creation of Scattering angle... At the moment I can click on single ID.
Any Idea??????

Can you just type command for Applying Transformation to test.bin and save as test_trans.bin


'

Code: Select all

C:\Program Files\CloudCompare>CloudCompare -o C:\CloudComparetest\test.bin..........................
What should I type. I can't find such command there

http://www.danielgm.net/cc/doc/wiki/ind ... ommandLine

How can I find more commands.

Re: Script for compution of scattering angle

Posted: Sat Nov 07, 2015 1:19 pm
by daniel
The transformation matrix must be in a separate text file (let's call it transformation.txt):
C:\Program Files\CloudCompare>CloudCompare -o C:\CloudComparetest\test.bin -APPLY_TRANS transformation.txt
The output filename will be automatically generated by CC. You can change this behaviour in a limited way (see the -NO_TIMESTAMP for instance).