result of [Edit]->[Mesh]->[Surface between 2 polylines]

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
olli
Posts: 1
Joined: Thu Jul 29, 2021 9:55 am

result of [Edit]->[Mesh]->[Surface between 2 polylines]

Post by olli »

Hi,
we did a laserscan (and sonar multibeam) of a keywall in a harbour area. I want to colorize the wall against a vertical surface. This is to see if there are any bendings in the keywall. The vertical surface cannot be a simple plane but must be following a given polyline. So i generated two polylines with the same horizontal coordinates but different z values.
view1.png
view1.png (384.46 KiB) Viewed 94 times
2polyline_1.gif
2polyline_1.gif (1.23 MiB) Viewed 94 times
Now i use the tool [Edit]->[Mesh]->[Surface between 2 polylines] to generate the surface. Within the following promt i decided to use the best fit plane. The surface is generated.
surface.gif
surface.gif (1.47 MiB) Viewed 94 times
The result of the surface is fine on the wider areas biut there are several small notches in the polyline where the surface is not generated in the way I was expecting it.
surface2.png
surface2.png (20.64 KiB) Viewed 94 times
surface3.gif
surface3.gif (865.87 KiB) Viewed 94 times
The two polylines are attached.
So is there a way to change the behavior of the gerneration of the surface so that i will follow the line?
(Using 2.14 alpha Dec 1 2024)
Kind regards, Olli
Attachments
Asset_Keywall_Kronprinzenkai.zip
(3.48 KiB) Downloaded 7 times
daniel
Site Admin
Posts: 7750
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: result of [Edit]->[Mesh]->[Surface between 2 polylines]

Post by daniel »

Sadly this tool relies on 2.5D triangulation, so it's not able to properly manage these small corners (which are 'overlapping' the wall when projected in the global orientation chosen by the tool).

What you are looking for is more an 'extrusion' tool. That's very easy to code, but sadly that's not present in CloudCompare!

You could create an OFF mesh file easily though: see https://segeval.cs.princeton.edu/public/off_format.html

It would start with:
OFF
352 350 0

Then you list all the points from the 2 polylines (you can simply concatenate the content of the 2 .poly files).

And the last part is the trickiest, but you can probably generate it with Excel. You have to create 2 triangles for a set of 4 vertices (2 consecutive vertices that face each other in each poyline):
- 1st triangle will be described as "3 i i+1 N+i"
- 2nd triangle will be described as "3 i+1 N+i+1 N+i"

(where 'i' is the vertex index between 0 and 174, and N=176, the number of points in each polyline)
Daniel, CloudCompare admin
Post Reply