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)[source]

Remove 2 valent nodes from a mesh or form diagram

Parameters
  • mesh (Mesh) – Mesh to perform operations

  • cls (class, optional) – Class to return the mesh, by default Mesh

Returns

mesh – Mesh without nodes