This command draws a box at the specified coordinates taking a square bounded by width, depth and height.

Inline mode usage

box -h
Displays the help file that summarizes the parameters for this command.
box–n <name> -p <x> <y> <z> <width> <depth> <height>
Draws a box with the specified parameters. The x, y and z parameters refer to the corner of the base of the box.

Interactive mode usage

  • First corner point of the base of the box: x y z.
  • Base size: width depth.
  • Height of the box: height.

The point of the first corner is specified by writing its three Cartesian components, while width and depth specify the dimension of the base.


First corner of base [x y z]: 0 -1 0
Base size [width depth]: 2 1
Height [double]: 3


Figure 1. Resulting box