Block.to_polygons

Block.to_polygons()

Convert the mesh to a collection of polygons.

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

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