Mesh.is_trimesh

Mesh.is_trimesh()

Verify that the mesh consists of only triangles.

Returns

bool – True, if the mesh is a triangle mesh. False, otherwise.