Icosahedron#

class k3d.platonic.Icosahedron(origin=[0, 0, 0], size=1)[source]#

Bases: k3d.platonic.PlatonicSolid

Create a icosahedron solid.

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()