Block.from_polyhedron

classmethod Block.from_polyhedron(f)

Construct a mesh from a platonic solid.

Parameters:
f{4, 6, 8, 12, 20}

The number of faces.

Returns:
compas.datastructures.Mesh

A mesh object.