Page 1 of 1

Export polyline data length

Posted: Fri Jul 19, 2019 10:48 pm
by galangfahmi
Hi,
I have searched the forum for some help on the subject, but maybe I missed it - in that case I'm sorry!
I have about 100 polylines per point cloud and I would like to extract the information generated in one go, especially the length of each polyline. I tried using point picking which provides coordinates of each point which than I could translate in length, but I was wondering if it is possible to skip this step.
Thank you for the help and thanks for making CC!

Re: Export polyline data length

Posted: Sun Jul 21, 2019 12:34 pm
by daniel
Well, you can save all the polylines at once in a 'poly' file (in which case you'll get each vertex as X Y Z on each line in a file (and each polyline will be separated by a blank line).

Another option, if you have some C++ coding skills, is to duplicate the "Tools > Batch export > Export cloud info" method (or customize it) so that it can handle polylines and export the polylines length (see MainWindow::doActionExportCloudInfo() in mainwindow.cpp).