Hi,
I am very new to CloudCompare ,and I want to konw how to export properties such as Box center and Box dimensions
How to export properties such as Box center and Box dimensions
Re: How to export properties such as Box center and Box dimensions
By default you can only copy and paste those values from the entity properties (click on the corresponding section the use the 'CTRL+C' shortcut).
An other method ''Tools > Sandbox > Export cloud(s) info' saves in a CSV file some info on the selected clouds (name, number of points, gravity center). It's easy to modify the code to output other properties (if you can compile the project yourself).
An other method ''Tools > Sandbox > Export cloud(s) info' saves in a CSV file some info on the selected clouds (name, number of points, gravity center). It's easy to modify the code to output other properties (if you can compile the project yourself).
Daniel, CloudCompare admin
Re: How to export properties such as Box center and Box dimensions
Hello,
This might interest me a lot, is there anyway to get this .csv from the command line already or not?
This might interest me a lot, is there anyway to get this .csv from the command line already or not?
Re: How to export properties such as Box center and Box dimensions
No, not from the command line right now.
Daniel, CloudCompare admin
Re: How to export properties such as Box center and Box dimensions
Because I'm very new to CloudCompare and I can't compile the project myself, will you improve this function in the future?
Re: How to export properties such as Box center and Box dimensions
Well, we can add this to the TODO list but this will clearly not be a priority... If you can find the help of a developer it could hasten things up.
Daniel, CloudCompare admin
Re: How to export properties such as Box center and Box dimensions
Hello Daniel,
I am interested in save in a .csv file only the Box center and Box dimension of several files.
You commented that It's easy to modify the code to output other properties. How can I do that?
Thank you in advance,
Jvz
I am interested in save in a .csv file only the Box center and Box dimension of several files.
You commented that It's easy to modify the code to output other properties. How can I do that?
Thank you in advance,
Jvz
Re: How to export properties such as Box center and Box dimensions
Yes, it basically consists in 'hacking' the code of the 'Tools > Batch export > Export cloud info' method.
You can find it in the big 'mainwindow.cpp' file, and the method is called MainWindow::doActionExportCloudInfo.
The current versions saves various pieces of info, but you should be able to comment a lot of lines. And to get the bounding-box extents, just call the 'getBoundingBox' method of each 'cloud' instance.
You can find it in the big 'mainwindow.cpp' file, and the method is called MainWindow::doActionExportCloudInfo.
The current versions saves various pieces of info, but you should be able to comment a lot of lines. And to get the bounding-box extents, just call the 'getBoundingBox' method of each 'cloud' instance.
Daniel, CloudCompare admin
Re: How to export properties such as Box center and Box dimensions
Hi,
I wanted to do the same, export the Box center and Box Dimension properties along with the given label. Has there been any progress regarding that. Or anyone maybe hacked the code and compiled the project which can be used by others. Any sources and links will be appreciated.
Kind Regards
Pranjal Biswas
I wanted to do the same, export the Box center and Box Dimension properties along with the given label. Has there been any progress regarding that. Or anyone maybe hacked the code and compiled the project which can be used by others. Any sources and links will be appreciated.
Kind Regards
Pranjal Biswas