Save to several (bin) files

To post any request/idea for new functionalities
Post Reply
rainero
Posts: 5
Joined: Thu Dec 04, 2014 3:08 pm

Save to several (bin) files

Post by rainero »

Hello,
i would like to save all my loaded clouds to separated files. At The moment, when i select all clouds, i can only save to one combined file. In order to save to single files, i have to select just one cloud and save it. This is very exhausting, when handling 100+ Clouds. Is there a chance you can implement a checkbox in the save dialog to save to several files. Alternatively i would be happy if i could split the combined bin file, usinge the Commandline.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Save to several (bin) files

Post by daniel »

There's no such option because we can't modify the save dialog (it's the system default dialog ;).

So indeed it could be added as an option to the command line mode.

Alternatively CC can already save multiple clouds to multiple ASCII files (you'll need either a rather old version - 2.5.4 - or the latest beta: http://www.cloudcompare.org/release/Clo ... bin_x64.7z as this functionality has been mistakenly deactivated in the latest releases ;).
Daniel, CloudCompare admin
rainero
Posts: 5
Joined: Thu Dec 04, 2014 3:08 pm

Re: Save to several (bin) files

Post by rainero »

Thank you for the fast reply. The feature for saving multiple ascii files in nice, but it leads to another problem for me. :)
After saving the clouds im using a matlab script with command line to measure the C2C distance between my fist cloud and all the others. With bin files, it works fully automated. By opening ascii files it leads for every cloud to an import tool for telling the programm which separator to choose and what the cells meaning is. Is there a command for the commandline where i can tell the programm how to handle a ascii cloudfile.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Save to several (bin) files

Post by daniel »

Ah! Not yet. In command line mode, the dialog should only appear if CC can't automatically guess the right format.

What is the internal organization of your ASCII files? (columns, separator, etc.)
Daniel, CloudCompare admin
rainero
Posts: 5
Joined: Thu Dec 04, 2014 3:08 pm

Re: Save to several (bin) files

Post by rainero »

I use a comma as separator and the standard order of cloudcompare for the columns.
"X,Y,Z,R,G,B,Scalar"
The Import Tool suggests all vlaues and the separator correct. So i just have to confirm the settings and click okay.... 100 Times :)
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Save to several (bin) files

Post by daniel »

Oh yes but if there's more than 5 columns, CC can't be 'absolutely' sure.

And isn't there an 'Apply all' button on the dialog? What version are you using?
Daniel, CloudCompare admin
rainero
Posts: 5
Joined: Thu Dec 04, 2014 3:08 pm

Re: Save to several (bin) files

Post by rainero »

Ah okay, so if i delete the RGB values, as i dont need them, it should work....
I tried the commandline with CC 2.6.0 and as i call it several times (only 2 clouds at the time), it askes me several times about the format (regardless of 'Apply All').
I try again on monday with deleting RGB values. Thank you very much for your help!
rainero
Posts: 5
Joined: Thu Dec 04, 2014 3:08 pm

Re: Save to several (bin) files

Post by rainero »

Deleting the RGB values and using the Beta worked. I am now able to automate my full process. :)

Big Thanks to daniel!
Post Reply