rectangle

This command draws a rectangle in the geometry.

Inline mode usage

rectangle -h
Displays the help file that summarizes the parameters for this command.
rectangle –n <name> -p <x1> <y1> <z1> <width> <depth>
Draws a rectangle with a start point on the corner of the geometry, width and depth.

Interactive mode usage:

Invocation
rectangle
Parameters
  • Coordinate of first corner.
  • Width
  • Depth.

Example

> rectangle
First point [x y z] 0 0 0
Size [width depth] 2 4
> 

Result

Figure 1. Resulting rectangle