Drawing geometric objects  
Drawing rectangles and polygons
 
 Overview 
 
 Operations 
 
 Commands 
 

It is possible to quickly create rectangles and regular polygons. Creating polygons is a simple way to draw equilateral triangles, squares, pentagons, hexagons and so on.

The commands RECTANG and POLYGON provide an efficient method for creating rectangles and regular polygons such as equilateral triangles, squares, pentagons, hexagons and so on. If necessary, it is possible to use EXPLODE to convert the resulting polyline object into lines.

Drawing rectangles

Use the RECTANG command to create closed polylines in a rectangular shape. It is possible to specify the length, the width, the area and the rotation parameters. It is also possible to control the type of corners on the rectangle (fillet, chamfer, or square).

Drawing regular polygons

Use POLYGON to create closed polylines with an equal-length sides number bigger than or equal to 3.

The following illustrations show polygons either inscribed (the sx pentagon) or circumscribed (the dx hexagon) according to the specified radius.

Also see:

Drawing polylines