discretise_faces

compas_fea.utilities.discretise_faces(vertices, faces, target, min_angle=15, factor=3)[source]

Make discretised triangles from input coarse triangles data.

Parameters
  • vertices (list) – Co-ordinates of coarse vertices.

  • faces (list) – Vertex indices of each face of the coarse triangles.

  • target (float) – Target edge length of each triangle.

  • min_angle (float) – Minimum internal angle of triangles.

  • factor (float) – Factor on the maximum area of each triangle.

Returns

  • list – Vertices of the discretised trianlges.

  • list – Vertex numbers of the discretised trianlges.

Notes

  • An experimental script.