Rectangle & Polygon Commands¶
| Command | Description |
|---|---|
| Draw a rectangle by two corner points | |
| Draw a regular polygon (3+ sides) |
RECT Command¶
Creates a rectangle defined by two opposite corner points. The rectangle is drawn as individual line segments.
Prompts¶
| Prompt | Description |
|---|---|
| Specify start point | First corner of the rectangle |
| Input end point | Opposite corner of the rectangle |
How to Use¶
Command: RECT
Specify start point: (click first corner)
Input end point: (click opposite corner)
A live preview shows the rectangle as you move the cursor for the second point.
POLYGON Command¶
Creates an equilateral closed polygon with a specified number of sides. The polygon is drawn as individual line segments.
Prompts¶
| Step | Prompt | Description |
|---|---|---|
| 1 | Number of sides | Enter number of sides (minimum 3) |
| 2 | Specify center point | Center of the polygon |
| 3 | Input radius | Click or type the radius point |
Keywords¶
| Keyword | When available | Description |
|---|---|---|
| Edge | At center point prompt | Switch to edge-based definition |
| CenterMark | At center point and radius prompts | Toggle center mark ON/OFF |
| Inscribed | At radius prompt | Vertices on the reference circle (default) |
| Circumscribed | At radius prompt | Edge midpoints on the reference circle |
Inscribed in Circle¶
All vertices lie on the reference circle. The radius is the distance from center to each vertex.
Command: POLYGON
Number of sides <6>: 6
Specify center point [Edge/CenterMark]: 50,50
Input radius [Inscribed/Circumscribed/CenterMark]: (click point at distance 30)
Circumscribed About Circle¶
All edge midpoints lie on the reference circle. The polygon is larger than inscribed for the same radius.
Command: POLYGON
Number of sides <6>: 6
Specify center point [Edge/CenterMark]: 50,50
Input radius [Inscribed/Circumscribed/CenterMark]: Circumscribed
Input radius [Inscribed/Circumscribed/CenterMark]: (click point at distance 30)
Edge Method¶
Define the polygon by picking two endpoints of one edge.
Command: POLYGON
Number of sides <6>: 5
Specify center point [Edge/CenterMark]: Edge
Specify first endpoint of edge [CenterMark]: 0,0
Specify second endpoint of edge [CenterMark]: 40,0
Center Mark¶
Toggle a center point marker (cross) at the polygon center:
Command: POLYGON
Number of sides <6>: 6
Specify center point [Edge/CenterMark]: CenterMark
Turn center mark [ON/OFF] <OFF>: ON
Specify center point [Edge/CenterMark]: 50,50
Input radius [Inscribed/Circumscribed/CenterMark]: 30
Rotation Control¶
| Radius method | Rotation |
|---|---|
| Click a point | The angle from center to clicked point determines the polygon's rotation |
| Both methods show a live preview as you move the cursor |
Examples¶
Rectangle 100x50¶
Command: RECT
Specify start point: 0,0
Input end point: 100,50
Hexagon (Inscribed, Radius 25)¶
Command: POLYGON
Number of sides <6>: 6
Specify center point [Edge/CenterMark]: 0,0
Input radius [Inscribed/Circumscribed/CenterMark]: 25
Square by Edge (Side Length 50)¶
Command: POLYGON
Number of sides <6>: 4
Specify center point [Edge/CenterMark]: Edge
Specify first endpoint of edge [CenterMark]: 0,0
Specify second endpoint of edge [CenterMark]: 50,0
Pentagon with Center Mark¶
Command: POLYGON
Number of sides <6>: 5
Specify center point [Edge/CenterMark]: CenterMark
Turn center mark [ON/OFF] <OFF>: ON
Specify center point [Edge/CenterMark]: 50,50
Input radius [Inscribed/Circumscribed/CenterMark]: 30
Best Practices¶
| Practice | Benefit |
|---|---|
| Use RECT for quick rectangles | Two-click creation |
| Use Inscribed for bolt patterns | Vertices match hole positions |
| Use Circumscribed for wrench flats | Edges represent flat faces |
| Use Edge when side length is known | No radius calculation needed |
| Enable CenterMark for dimensioning | Reference point at polygon center |
| Click radius point to control rotation | Precise angular orientation |
Quick Reference¶
| Task | Input |
|---|---|
| Rectangle | RECT → two corner points |
| Regular polygon | POLYGON → sides → center → radius |
| Polygon by edge | POLYGON → sides → Edge → two edge points |
| Inscribed/Circumscribed | Type keyword at radius prompt |
| Toggle center mark | Type CenterMark keyword |
See also: Line Command | Circle Command | Point Input