Page 1 of 1

ASCII export variables - what are they?

Posted: Wed Nov 02, 2022 12:12 pm
by T1230321
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

Re: ASCII export variables - what are they?

Posted: Sat Nov 05, 2022 3:03 pm
by daniel
- 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

Re: ASCII export variables - what are they?

Posted: Sat Nov 05, 2022 3:03 pm
by daniel
And I'm not sure this question should be in the 'Developers' section...

Re: ASCII export variables - what are they?

Posted: Fri Jun 09, 2023 11:28 am
by T1230321
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?

Posted: Thu Aug 03, 2023 8:12 am
by mikesteen
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?

Re: ASCII export variables - what are they?

Posted: Wed Aug 16, 2023 1:51 pm
by daniel
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++ ;).

Re: ASCII export variables - what are they?

Posted: Thu Oct 12, 2023 4:04 pm
by mikesteen
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

Re: ASCII export variables - what are they?

Posted: Fri Oct 13, 2023 9:29 pm
by DA523
Yes, you can edit with MS-Excel or librieCalc
But both are limited to 1 million rows?

Re: ASCII export variables - what are they?

Posted: Sun Oct 15, 2023 9:33 am
by daniel
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).