profile extraction / export

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
dgr54
Posts: 3
Joined: Thu Apr 06, 2017 2:08 pm

profile extraction / export

Post by dgr54 »

Hey all =)

i've recently extracted some profiles form a point cloud.
Easy as pie (congrats!)...
but i struggled with the export of the data !
I would like to import the profiles in another program which asks for 2D data ( XXX/ZZZ )
Export into a *.dxf file results in a properly scaled dataset ( see right image, AutoCAD w/ ortho view on the side of data )
Export into a *.csv file results into a somewhat warped dataset ( LEFT image, excel ..quick and dirty..)
the Z data if correct only the Curvilinear abscissa seems to be warped.
What do i miss ?

Cheers
Attachments
test.png
test.png (32.49 KiB) Viewed 7203 times
Last edited by dgr54 on Mon Apr 10, 2017 10:50 am, edited 1 time in total.
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: profile extraction / export

Post by daniel »

Are the profiles purely horizontal? Because I know some CAD software don't handle 3D polylines by default. So if your profiles were not horizontal, you would only see the 2D projection...

I think there was a similar post a few days ago (see viewtopic.php?f=10&t=2388&p=9387#p9389).
Daniel, CloudCompare admin
dgr54
Posts: 3
Joined: Thu Apr 06, 2017 2:08 pm

Re: profile extraction / export

Post by dgr54 »

Hey =)
thanks for looking into the issue!
AutoCad displays the data correctly, so no issues there. The problem must lay within the *.csv export.
I've reimported the data into CC and below you can see the result:
right image -- > original data
left image --> warped reimported csv file
I'll attach the files for better comparison.
cheers
Attachments
test2.png
test2.png (29.97 KiB) Viewed 7044 times
CC.zip
(21.25 KiB) Downloaded 237 times
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: profile extraction / export

Post by daniel »

Huh, how did you exported the polyline to CSV by the way?

Have you used the 'Height profile (*.csv)' filter? Because this 'height profile' is actually: the curvilinear abscissa in the first column, and the corresponding height in the second column. So definitely not a 2D / 3D export of the polyline ;)
Daniel, CloudCompare admin
dgr54
Posts: 3
Joined: Thu Apr 06, 2017 2:08 pm

Re: profile extraction / export

Post by dgr54 »

Ohh ... :-/
yup, was using the "Height profile" export, it just sounded to tempting..
That explains the issue.
But is there another option for my 2 dimensional needs ?

Thanks again for looking into this.

cheers
=)
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: profile extraction / export

Post by daniel »

Well, if you were happy with the CSV export, you can simply export the polyline 'vertices' (which is a point cloud entity below the polyline entity in the DB tree) as an ASCII/text file. You can even configure it to look like a CSV file with the ASCII export parameters dialog.
Daniel, CloudCompare admin
Post Reply