GstarCAD command

POLYGON command

Create precise regular polygons with equal sides using inscribed, circumscribed or edge-based construction methods.

Command
POLYGON
Alias
POL
Tool group
Draw
Level
Beginner

What does POLYGON do?

POLYGON creates a closed regular polygon with equal-length sides. The resulting shape is a single closed polyline rather than a collection of separate line objects. GstarCAD can create polygons with between 3 and 1024 sides, making the command useful for triangles, squares, hexagons and other precise geometric shapes.

How to use the command

  1. Type POLYGON or its shortcut POL, then press Enter.
  2. Enter the required number of sides.
  3. Specify the centre point of the polygon, or choose Edge to define one side directly.
  4. Choose Inscribed in circle or Circumscribed about circle.
  5. Specify the required radius.
  6. GstarCAD creates the polygon as a single closed polyline.
Command: POL ↵
Enter number of sides <4>: 6 ↵
Specify center of polygon or [Edge]: 0,0 ↵
Enter an option [Inscribed in circle/Circumscribed about circle] <I>: I ↵
Specify radius of circle: 1000 ↵

Key POLYGON options

The construction method determines whether the specified radius reaches the polygon vertices, its sides or whether a side is defined directly.

Inscribed in circle
Creates a polygon whose vertices lie on an imaginary circle. The specified radius is measured from the polygon centre to a vertex.
Circumscribed about circle
Creates a polygon whose sides are tangent to an imaginary circle. The radius is measured from the centre to the midpoint of a side.
Edge
Creates the polygon by specifying the two endpoints of one side instead of defining a centre point and radius.
Number of sides
Sets the number of equal sides in the polygon, from 3 up to 1024.

Practical example: draw a regular hexagon

Suppose you need a regular hexagonal profile centred at 0,0 with its vertices 1000 mm from the centre. Start POLYGON, enter 6 for the number of sides and specify 0,0 as the centre. Choose Inscribed in circle and enter a radius of 1000. GstarCAD creates a precise six-sided closed polyline with every vertex positioned on the imaginary circle.

Tip

Use Inscribed when a known radius must reach the polygon vertices. Use Circumscribed when the known distance is from the centre to the sides. Choose Edge when the length and position of one polygon side are already known.

All commands Updated 29 September 2026
Continue learning
View all commands

Ready to switch to GstarCAD?

Get personalized advice on licensing, migration, and deployment for your business.

Contact us Buy now

No obligation — reply within 24h

Your Cart

Subtotal

Price does not include local taxes or duties.

Proceed to Checkout

Cookie preferences

Choose which cookies you want to allow. Essential and payment cookies cannot be disabled as they are required for the site to function.

Essential

Required

Core functionality including authentication, shopping cart, and language preferences.

Payment

Required

Required for processing payments securely through Stripe and PayPal.

Analytics

Help us understand how visitors interact with our site to improve the experience.

Marketing

Used to deliver relevant advertisements and measure campaign performance.

Functional

Order attribution and traffic source tracking to help us understand how customers find our store.