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
>>>
Mesh.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
>>>
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2020 compas-dev