Hi everyone,
I want to save/export a scan in ASCII format.
Can someone tell me what the export options refer to in the pop-up window?
Thanks
ASCII export variables - what are they?
ASCII export variables - what are they?
- Attachments
-
- Export question.png (158.31 KiB) Viewed 36307 times
Re: ASCII export variables - what are they?
- coordinates precision: number of digits for coordinate values (X, Y, Z)
- scalar precision: number of digits for scalar field values (distance, intensity, etc.)
- separator: separator character between the above values (use a comma to create a CSV file for instance)
- order: order of the values (columns)
- header option: to add a description header (starts with '//' and then you'll find the name of each column)
- number of points: simply the total number of points on the first line (that's expected if you want to create a valid 'PTS' file for some other tools)
- colors:
* use float values (between 0 and 1) instead of integer (between 0 and 255) for R, G and B components
* save the alpha (transparency) component as well
- scalar precision: number of digits for scalar field values (distance, intensity, etc.)
- separator: separator character between the above values (use a comma to create a CSV file for instance)
- order: order of the values (columns)
- header option: to add a description header (starts with '//' and then you'll find the name of each column)
- number of points: simply the total number of points on the first line (that's expected if you want to create a valid 'PTS' file for some other tools)
- colors:
* use float values (between 0 and 1) instead of integer (between 0 and 255) for R, G and B components
* save the alpha (transparency) component as well
Daniel, CloudCompare admin
Re: ASCII export variables - what are they?
And I'm not sure this question should be in the 'Developers' section...
Daniel, CloudCompare admin
Re: ASCII export variables - what are they?
Sorry for the incredibly late reply! Thank you for your help on this topic. Apologies if I posted it in the wrong place - I wasn't aware of the different subsections on the forum. Thanks again
Re: ASCII export variables - what are they?
Hello Daniel and thank you for the work you perform.
Forgive me for the question, but is it possible to save an ascii file in the following order: Point coordinates, Normal, SF?
If it is not possible how can it be solved?
Forgive me for the question, but is it possible to save an ascii file in the following order: Point coordinates, Normal, SF?
If it is not possible how can it be solved?
Re: ASCII export variables - what are they?
The 2 orders available are 'point, color, SFs, normal' or 'point, SFs, color, normal'.
So no it's not possible ;). And the only choice you have is to add a 3rd option in the existing code (shouldn't be too hard, but you need to code in C++ ;).
So no it's not possible ;). And the only choice you have is to add a 3rd option in the existing code (shouldn't be too hard, but you need to code in C++ ;).
Daniel, CloudCompare admin
Re: ASCII export variables - what are they?
Hi Daniel, really sorry only now I saw the reply.
What if I reversed the columns of normals with the columns of scalars on Excel? That seems to work
What if I reversed the columns of normals with the columns of scalars on Excel? That seems to work
Re: ASCII export variables - what are they?
Yes, you can edit with MS-Excel or librieCalc
But both are limited to 1 million rows?
But both are limited to 1 million rows?
Re: ASCII export variables - what are they?
Maybe Notepad++ can help also (it handles much larger files, but it might not handle properly with the 'columns' if the characters are not properly aligned in the file - or there's a specific feature I don't know, this tool is pretty powerful after all).
Daniel, CloudCompare admin