quadmesh_planarize
- compas.geometry.quadmesh_planarize(M, kmax=500, maxdev=0.005)[source]
Planarize the faces of a quad mesh.
- Parameters:
- M[sequence[[float, float, float]], sequence[[int, int, int, int]]]
A quad mesh represented by a list of vertices and a list of faces.
- kmaxint, optional
The maximum number of iterations.
- maxdevfloat, optional
The maximum deviation from planar.
- Returns:
- list
The coordinates of the new vertices.