face_normals

m3sh.traits.face_normals(mesh)[source]

Face normals estimate.

Estimate face normals by averaging the cross product of consecutive edge vectors around each face.

Parameters:

mesh (Mesh) – Mesh with polygonal faces.

Returns:

Array of face normal vectors.

Return type:

ndarray