Page 1 of 1
Adding HEADER to ASCII files during export
Posted: Wed May 20, 2015 6:12 pm
by vojtek
Hi
Is there an option to include HEADER in ASCII files (pts, etc.) while processing files using Command Line version of CC?
I know I can specify that option in GUI version...
Could not find any info on that neither in manual nor in forum :(
Kind regards
Wojtek
Re: Adding HEADER to ASCII files during export
Posted: Sat May 23, 2015 8:17 am
by daniel
Okay, I've added two new options to the command line mode (after C_EXPORT_FMT):
* 'ADD_HEADER' to add a header with each column's name
* 'ADD_PTS_COUNT' to add the number of points at the beginning of the saved file
You'll find the beta version here:
http://www.cloudcompare.org/release/Clo ... in_x64.zip
Re: Adding HEADER to ASCII files during export
Posted: Wed May 27, 2015 6:26 pm
by vojtek
thx
I'll give it a try
Re: Adding HEADER to ASCII files during export
Posted: Wed Oct 28, 2015 9:47 am
by sumi76
Hi there,
I'm trying to export a point cloud on the command line:
CloudCompare -C_EXPORT_FMT ASC -PREC 3 -EXT txt -O mycloud.bin -NO_TIMESTAMP -SAVE_CLOUDS
This works, however when I add -ADD_HEADER, CC just hangs.
Was this behaviour reported before?
Using CC 2.6.2 64bit on Win7.
Thanks in advance!
Re: Adding HEADER to ASCII files during export
Posted: Thu Oct 29, 2015 8:03 pm
by daniel
Must be a bug ;)
I'll check this ASAP.
Re: Adding HEADER to ASCII files during export
Posted: Sat Oct 31, 2015 8:03 am
by daniel
Okay I've fixed the bug (there was an infinite loop!).
The fixed beta version is here:
http://www.cloudcompare.org/release
Thanks for the feedback!