Mesh.face_flatness
- Mesh.face_flatness(fkey, maxdev=0.02)[source]
Compute the flatness of the mesh face.
- Parameters:
- fkeyint
The identifier of the face.
- maxdevfloat, optional
A maximum value for the allowed deviation from flatness.
- Returns:
- float
The flatness.
Warning
This method only makes sense for quadrilateral faces.
Notes
Flatness is computed as the ratio of the distance between the diagonals of the face to the average edge length. A practical limit on this value realted to manufacturing is 0.02 (2%).