Dodecahedron#
- class k3d.platonic.Dodecahedron(origin=[0, 0, 0], size=1)[source]#
Bases:
k3d.platonic.PlatonicSolid
Create a dodecahedron solid.
See also
Example#
import k3d
from k3d import platonic
plot = k3d.plot()
dodec_1 = platonic.Dodecahedron()
dodec_2 = platonic.Dodecahedron(origin=[5, -2, 3], size=0.5)
plot += dodec_1.mesh
plot += dodec_2.mesh
plot.display()
K3D panel
Controls
Full screen
cameraAutoFit
gridAutoFit
gridVisible
fpsMeter
Mode
Camera
Manipulate mode
FOV
voxelColor
lighting
time
fps
Clipping planes
Objects
Mesh #1
color
flat_shading
opacity
visible
wireframe
Mesh #2
color
flat_shading
opacity
visible
wireframe
Info
Js version: