This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# Cuboid

 Cuboidis a three-dimensional graphics primitive that represents a unit cube, oriented parallel to the axes. Cuboidspecifies a cuboid by giving the coordinates of opposite corners.
• Each face of the cuboid (rectangular parallelepiped) is effectively a Polygon object, with its front face on the outside.
• You can specify how the faces and edges of the cuboid should be rendered using the same graphics directives as for polygons. »
• Cuboids can be specified as transparent using Opacity directives. »
• The coordinates of the corners of the cuboid can be given using Scaled. »
A unit cuboid:
Two unit cuboids:
Cuboids with different sizes:
Differently styled cuboids:
A unit cuboid:
 Out[1]=

Two unit cuboids:
 Out[1]=

Cuboids with different sizes:
 Out[1]=

Differently styled cuboids:
 Out[1]=
 Scope   (9)
A unit cube:
A cuboid parallel to each axis:
Short form for a unit cube cornered at the origin:
Use Scaled coordinates:
Color directives specify the face colors of cuboids:
FaceForm and EdgeForm can be used to specify the styles of the faces and edges:
Different properties can be specified for the front and back of faces using FaceForm:
Cuboid with different specular exponents:
White cuboid that glows red:
Opacity specifies the face opacity:
 Applications   (4)
A simple 3D bar chart:
Show a sequence of steps in the evolution of a 3D cellular automaton:
Use as a simple way to visualize volumes:
Hyperboloids:
Use Rotate to get all possible cuboids:
Random cuboid collections:
A pyramid with random color cubes: