mesh_isolines_numpy
- compas.datastructures.mesh_isolines_numpy(mesh, attr_name, N=50)[source]
Compute the isolines of a specified attribute of the vertices of a mesh.
- Parameters
mesh (Mesh) – A mesh object.
attr_name (str) – The name of the vertex attribute.
N (int (50)) – The density of the isolines. Default is
50
.
- Returns
tuple – A tuple of a list of levels and a list of isolines.
The list of levels contains the z-values at each of the isolines. Each isoline is a list of paths, and each path is a list polygons.