FormDiagram.from_polyhedron
-
classmethod
FormDiagram.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
>>>
FormDiagram.from_polyhedron(f)Construct a mesh from a platonic solid.
f (int) – The number of faces.
Should be one of 4, 6, 8, 12, 20.
Mesh – A mesh object.
Examples
>>>