Link Search Menu Expand Document

Dodecahedron

Draw a Dodecahedron primitive mesh geometry. Dodecahedron is 12-sided polyhedron shape.

Additional Python properties are available in the Dodecahedron API Reference.

from arena import *

scene = Scene(host="arenaxr.org", scene="example")

@scene.run_once
def make_dod():
    dod = Dodecahedron(
        object_id="dod",
        position=(0, 2, -3),
        scale=(1, 1, 1),
        material=Material(color=(30, 255, 80)),
    )
    scene.add_object(dod)

scene.run_tasks()