Polyhedron.from_platonicsolid

classmethod Polyhedron.from_platonicsolid(f)

Construct a polyhedron from one of the platonic solids.

A Platonic solid is a regular, convex polyhedron. It is constructed by congruent regular polygonal faces with the same number of faces meeting at each vertex 1.

Parameters

f ({4, 6, 8, 12, 20})

Returns

compas.geometry.Polyhedron – The constructed polyhedron.

References

1

Wikipedia. Platonic solids. Available at: https://en.wikipedia.org/wiki/Platonic_solid.