Mesh.from_polyhedron

classmethod Mesh.from_polyhedron(f)

Construct a mesh from a platonic solid.

Parameters

f (int) – The number of faces. Should be one of 4, 6, 8, 12, 20.

Returns

Mesh – A mesh object.

Examples

>>>