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()
xx
yy
zz
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
zz
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
1.9-1.9
0.9-0.9
0.10.1
yy
0.7-0.7
0.30.3
1.31.3
2.32.3
3.33.3
4.34.3
xx
K3D panel
Full screen
cameraAutoFit
gridAutoFit
gridVisible
fpsMeter
Mode
View
Camera
Trackball
FOV
voxelColor
lighting
color
flat_shading
opacity
visible
wireframe
color
flat_shading
opacity
visible
wireframe
Js version: