Script for compution of scattering angle

Feel free to ask any question here
Post Reply
Ingsayyad
Posts: 97
Joined: Fri Oct 25, 2013 9:17 am

Script for compution of scattering angle

Post 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
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Script for compution of scattering angle

Post 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 ...
Daniel, CloudCompare admin
Ingsayyad
Posts: 97
Joined: Fri Oct 25, 2013 9:17 am

Re: Script for compution of scattering angle

Post 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.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Script for compution of scattering angle

Post 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).
Daniel, CloudCompare admin
Post Reply