Help converting csd files to polylines

Feel free to ask any question here
Post Reply
bets15
Posts: 1
Joined: Sun Oct 21, 2018 2:35 am

Help converting csd files to polylines

Post by bets15 »

I am struggling and trying to create a mesh with just a few contour lines to no avail.

I have 36 separate layers I just opened in CloudCompare and each one of them is composed of a series of coordinate points from separate Excel spreadsheet files. These are contour lines that I am trying to convert to a mesh through the "Tools --> Projection --> Contour plot (polylines) to mesh" method. That option in grayed out on CC no matter what I select or try and I have a feeling that it may be because the different layers that I have selected as the "contour" are not polylines but rather just a series of individual coordinate points. How do I turn the contour "lines" from csd files I already have into polylines?

If this should not prevent me from using this tool, could someone explain to me why that option is always blurred out and suggest what I should try to remedy the situation? I have also attempted to use "Edit --> Mesh --> Delauney 2.5D" but that is grayed out too and I cannot select that either

Please help me!!
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Help converting csd files to polylines

Post by daniel »

Contour lines are actually 'polylines' (a specific kind of entity). If you import a CSV file, then it's imported as a point cloud (not a polyline).

To read a polyline instead of a cloud, it's not too hard: you have to change your CSV file to a POLY file. It's basically just one 3D point (vertex) per line:

Code: Select all

X0 Y0 Z0
X1 Y1 Z1
X2 Y2 Z2
...
(and use the '.poly' extension for the file)
Daniel, CloudCompare admin
Post Reply