tets_from_vertices_faces

compas_fea.utilities.tets_from_vertices_faces(vertices, faces, volume=None)[source]

Generate tetrahedron points and elements with MeshPy (TetGen).

Parameters
  • vertices (list) – List of lists of vertex co-ordinates for the input surface mesh.

  • faces (list) – List of lists of face indices for the input surface mesh.

  • volume (float) – Volume constraint for each tetrahedron element.

Returns

  • list – Points of the tetrahedrons.

  • list – Indices of points for each tetrahedron element.