Mesh.face_center

Mesh.face_center(fkey)[source]

Compute the location of the center of mass of a face.

Parameters

fkey (int) – The identifier of the face.

Returns

list[float] – The coordinates of the center of mass.