mesh_remove_two_valent_nodes

compas_tno.utilities.mesh_remove_two_valent_nodes(mesh, cls=<class 'compas.datastructures.mesh.mesh.Mesh'>, delete_boundary_face=True)

Remove 2 valent nodes from a mesh or form diagram

Parameters:
meshMesh

Mesh to perform operations

clsclass, optional

Class to return the mesh, by default Mesh

Returns:
mesh

Mesh without nodes