Cell.quads_to_triangles

Cell.quads_to_triangles(check_angles=False)

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

Parameters
  • mesh (compas.datastructures.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.