Primitives

Basic shapes that form the building blocks of your models.

3D Primitives

rhai
sphere(0.5)
rhai
cube(1.0)
rhai
box3(1.0, 0.5, 0.3)
rhai
cylinder(0.3, 1.0)
rhai
torus(0.5, 0.1)

Additional Shapes

Use rounded_box, octahedron, hex_prism, tri_prism, pyramid, link, the extrusion helpers, and revolve helpers when a primitive gives you a better starting point than building from generic boxes and spheres.