Mesh.from_polyhedron

classmethod Mesh.from_polyhedron(f)[source]

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.