Use same Global Shift for all clouds from command line

Feel free to ask any question here
Post Reply
dmercel
Posts: 2
Joined: Fri Dec 15, 2017 12:58 pm

Use same Global Shift for all clouds from command line

Post by dmercel »

Hi There,

I am wondering if it is possible to use the global shift AUTO on all the clouds contained within a file from the command line? I can do it from the main viewer by pressing the 'Apply to All' but there doesn't seem to be a similar function in the command line interface, therefore, the individual clouds get moved to different locations and the 'registration' info gets ruined.

Any help appreciated.
Thanks.
daniel
Site Admin
Posts: 7721
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Use same Global Shift for all clouds from command line

Post by daniel »

Well, the AUTO option was not very smart when one was loading LAS files through the command line (as it was simply using the internal LAS shift as is, without considering the previously loaded clouds shift). I fixed this in the latest 2.10.alpha release (now online).

Can you test it?
Daniel, CloudCompare admin
dmercel
Posts: 2
Joined: Fri Dec 15, 2017 12:58 pm

Re: Use same Global Shift for all clouds from command line

Post by dmercel »

The latest version still creates the same issue unfortunately. It just doesn't use the same offset for all the clouds in the file, so they end up distributed incorrectly.
daniel
Site Admin
Posts: 7721
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Use same Global Shift for all clouds from command line

Post by daniel »

Are you using LAS files only? Can you maybe send me some sample files to reproduce the issue?
Daniel, CloudCompare admin
Post Reply