BaseMesh.from_polyhedron
-
classmethod
BaseMesh.
from_polyhedron
(f)[source] 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
>>>
BaseMesh.
from_polyhedron
(f)[source]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
>>>