mymesh.converter.faces2surface#

mymesh.converter.faces2surface(Faces, return_ids=False)[source]#

Identify surface elements, i.e. faces that aren’t shared between two elements

Parameters:
  • Faces (list) – Nodal connectivity of mesh faces (as obtained by solid2faces)

  • return_ids (bool, optional) – If True, will return the face ids that correspond to each surface, i.e. SurfConn = Faces[ids]. By default, False.

Returns:

Nodal connectivity of the surface mesh.

Return type:

SurfConn