Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 581 Bytes

factory.Octahedron.rst

File metadata and controls

37 lines (26 loc) · 581 Bytes

Octahedron

k3d.platonic.Octahedron

- Cube - Dodecahedron - Icosahedron - Tetrahedron

Example

import k3d
from k3d import platonic

plot = k3d.plot()

octa_1 = platonic.Octahedron()
octa_2 = platonic.Octahedron(origin=[5, -2, 3], size=0.5)

plot += octa_1.mesh
plot += octa_2.mesh

plot.display()