Contour plot to mesh

From CloudCompareWiki
Jump to navigation Jump to search

Menu

This tool is accessible via the 'Tools > Projection > Contour plot (polylines) to mesh' menu.

Description

This tool can convert a set of polylines (ideally a set of contour lines) to a mesh. Contrarily to a standard 2.5D Delaunay triangulation, this method will force the contour lines as edges for the output triangles.

Procedure

Select several polylines or a group of polylines then call this method.

CloudCompare will ask the user the 'projection dimension' (i.e. the dimension orthogonal to the contour lines):

'Contour plot to mesh' dialog

CloudCompare will eventually generate the mesh.

'Contour plot to mesh' result


Warning: if the contour lines are crossing (in 2D) then holes may appear in the resulting mesh.