RECTANG draws a closed rectangular polyline from two corners, and POLYGON draws a regular polygon of 3 to 1,024 sides by centre and radius or by one edge.
Before you start
- Needs a paid licence with 2D drafting.
Steps
To draw a rectangle:
- Click Home > Draw > Rectangle, or type
RECTANG(aliasesREC,RECTANGLE). - At "Specify first corner point", give one corner.
- At "Specify other corner point", give the opposite corner, for example
@1200,600.
To draw a polygon:
- Click the arrow beside Home > Draw > Rectangle and choose Polygon, or type
POLYGON(aliasPOL). - At "Enter number of sides <4>", type the number of sides, or press Enter for the number shown.
- At "Specify center of polygon", give the centre, or type
Efor Edge. - At "Enter an option <I>", choose Inscribed in circle or Circumscribed about circle, or press Enter for the one shown.
- At "Specify radius of circle", type a radius or pick a point.
With Edge:
- At "Specify first endpoint of edge" and "Specify second endpoint of edge", give the two ends of one side. The polygon is built on that side.
Options
| Option | What it does |
|---|---|
| Inscribed in circle | The corners lie on the circle; a picked point is a corner |
| Circumscribed about circle | The middle of each side lies on the circle; a picked point is the middle of a side |
| Edge | Builds the polygon on one side given by its two ends |
| Typed radius | Puts a flat side at the bottom |
Example
A hexagon for an M10 nut, 17 mm across the flats, centred at 0,0: POL, 6, 0,0, C for Circumscribed, 8.5.
Tips and common mistakes
- Both commands make one closed polyline, ready to offset, hatch or extrude.
- The number of sides and the inscribed or circumscribed choice are remembered for next time.
- "Across the flats" sizes are circumscribed radii; "across the corners" sizes are inscribed radii.
Troubleshooting
| Message or symptom | What it means and what to do |
|---|---|
| "Rectangle needs a non-zero width and height." | The corners lie on one horizontal or vertical line. Give corners that make a box. |
| "The number of sides must be a whole number from 3 to 1024." | Type a whole number in that range. |
| "The radius must be greater than zero." | Type a positive radius. |
| "Specify a point other than the centre." | Pick a point away from the centre. |
| "The edge needs two different points." | Give two different edge endpoints. |
Related
- Drawing polylines with arcs and widths
- Drawing points, donuts and helixes
- Entering exact points, distances and angles
Related
- Fitting an object into a space
- Grid, snap, ortho and polar tracking
- Object snaps and object snap tracking
- Entering exact points, distances and angles
- Constraint hints while drawing
- Drawing lines
Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.