command line mode, optional settings

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
bencuilcagh
Posts: 1
Joined: Fri Apr 10, 2015 8:12 pm

command line mode, optional settings

Post by bencuilcagh »

Hi Daniel,

I am using CloudCompare 2.6.1 on Windows 8.1 (64 bit version), and I am experimenting with the command line mode. It is not clear to me how the optional settings are applied to commands. I can open an ASCII file with XYZ data with the following command:
CloudCompare.exe -O testdata.xyz
This imports the data, but I am advised by the console that the entity has very big coordinates and to apply a global shift (the data are UTM coordinates). So I try to specify a global shift to the data, and it seems that the optional setting should follow the command (following the Bundler import example):
CloudCompare.exe -O testdata.xyz -GLOBAL_SHIFT AUTO
however this give an error "Unknown or misplaced command: '-GLOBAL_SHIFT'"
There is a similar problem if I try to apply the SKIP option:
CloudCompare.exe -O testdata.xyz -SKIP 1
"Unknown or misplaced command: '-SKIP'"

However, I have found that applying the option before the command argument works:
CloudCompare.exe -O -GLOBAL_SHIFT AUTO testdata.xyz
CloudCompare.exe -O -SKIP 1 testdata.xyz

Could you please clarify how to apply optional settings to commands?

thanks,
Ben

PS thanks for CloudCompare, it is excellent software!
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: command line mode, optional settings

Post by daniel »

Indeed you are right, this behavior is not consistent... I just don't know which one is the standard one ;). I guess we should keep the original 'Bundler-like' way.

We'll have to fix this!
Daniel, CloudCompare admin
Post Reply