Icosahedron#
- class k3d.platonic.Icosahedron(origin: List[float] | ndarray = [0, 0, 0], size: float = 1)[source]#
Bases:
PlatonicSolidCreate a icosahedron solid.
See also
Example#
import k3d
from k3d import platonic
plot = k3d.plot()
ico_1 = platonic.Icosahedron()
ico_2 = platonic.Icosahedron(origin=[5, -2, 3], size=0.5)
plot += ico_1.mesh
plot += ico_2.mesh
plot.display()