Mesh.quads_to_triangles

Mesh.quads_to_triangles(check_angles=False)[source]

Convert all quadrilateral faces of a mesh to triangles by adding a diagonal edge.

Parameters
  • mesh (Mesh) – A mesh data structure.

  • check_angles (bool, optional) – Flag indicating that the angles of the quads should be checked to choose the best diagonal.

Returns

None – The mesh is modified in place.