Mesh.to_polygons

Mesh.to_polygons()[source]

Convert the mesh to a collection of polygons.

Returns:
list[list[list[float]]]

A list of polygons defined each as a list of points.