01 / 22

Polygons & Splines
in AutoCAD

Master how to create and edit regular polygons and smooth spline curves to build precise, professional drawings.

AutoCAD Drafting Fundamentals

What Is a Polygon in AutoCAD?

A polygon in AutoCAD is a closed, regular shape with \( n \) equal-length sides and \( n \) equal interior angles. AutoCAD supports polygons with 3 to 1024 sides. Each polygon is created as a single polyline object, making it easy to select and edit as one entity.

\( n = 3 \) \( n = 4 \) \( n = 5 \) \( n = 6 \) Regular polygons: all sides and angles equal

What Is a Spline in AutoCAD?

A spline is a smooth, free-form curve that passes through or near a set of control points. AutoCAD uses NURBS (Non-Uniform Rational B-Splines) to generate mathematically precise curves that can model organic shapes, contours, and complex profiles.

P1 P2 P3 P4 P5 P6 P7 Spline: smooth curve through fit points

Why Polygons & Splines Matter

★ Precision
Polygons let you place exact geometric shapes with computed side lengths and angles, essential for mechanical and architectural drafting.
★ Flexibility
Splines model organic contours, terrain profiles, and complex curves that straight-line tools cannot represent.
★ Efficiency
Both are single objects in AutoCAD. One polygon replaces drawing each side individually. One spline replaces dozens of arcs.

The POLYGON Command

AutoCAD's POLYGON command creates a regular polygon by specifying the number of sides, a center point, and whether the shape is inscribed in or circumscribed about a circle of a given radius.

Inscribed Vertices touch the circle Circumscribed Side midpoints touch the circle \( r \) \( r \)

The SPLINE Command

The SPLINE command offers two creation methods: Fit Points (curve passes through each point) and Control Vertices (CV mode, where points shape the curve from outside). The default degree is 3 (cubic spline).

Fit Points Method Curve passes through points Control Vertices (CV) Curve is pulled toward CVs

Polygon vs. Spline

Polygon Spline
Shape Straight sides, closed Smooth curve, open or closed
Geometry Equal sides & angles Free-form, NURBS-based
Object Type Lightweight polyline Spline entity
Editing PEDIT, grips on vertices SPLINEDIT, fit/CV grips
Use Case Bolts, nuts, tiles, regular patterns Contours, profiles, organics
Min Input \( n \) sides + center + radius \( d + 1 \) points (degree \( d \))

Inscribed vs. Circumscribed

Inscribed (I)
The polygon fits inside the circle. Each vertex touches the circle. The radius you enter equals the distance from center to vertex.
Circumscribed (C)
The polygon wraps around the circle. Each side midpoint touches the circle. The radius equals the apothem (center to side).

How to Create a Polygon

1
Launch the command: Type POLYGON or use Draw > Polygon from the ribbon.
2
Enter number of sides: Type the desired value (e.g., 6 for a hexagon).
3
Specify center point: Click or type coordinates (e.g., 5,5).
4
Choose Inscribed or Circumscribed: Type I or C and press Enter.
5
Enter the radius: Type the radius value or click a point to define it visually.
Command: POLYGON
Number of sides: 6
Center of polygon: 5,5
Inscribed/Circumscribed: I
Radius of circle: 3

How to Create a Spline

1
Launch the command: Type SPLINE or select it from the Draw panel.
2
Choose method: Select Fit (default) or type CV for Control Vertices.
3
Pick points: Click successive points. The curve updates in real-time.
4
Finish: Press Enter to end (open spline) or type Close for a closed loop.
5
Optional tangency: Specify start/end tangent directions for precise control.
Command: SPLINE
Method [Fit/CV]: Fit
First point: 1,2
Next point: 4,6
Next point: 8,3
Next point: [Enter to finish]

Example 1: Hexagonal Bolt Head

Draw a hexagonal bolt head with an across-flats distance of 19 mm. Since "across flats" measures the distance between opposite sides, use Circumscribed mode with radius \( r = \frac{19}{2} = 9.5 \) mm.

19 mm Across flats (between parallel sides) \( r = 9.5 \) Circumscribed hexagon: apothem = 9.5 mm

Example 2: Terrain Contour

Model a terrain contour line at elevation 100 m using surveyed points. Use the SPLINE Fit method to create a smooth curve through all data points.

100m Spline through 9 surveyed elevation points

Example 3: Closed Spline Cam Profile

Design a cam profile by creating a closed spline. Place control vertices around a center point, then close the spline to form a smooth, looping shape.

Closed spline: smooth cam profile with 9 CVs Type "Close" at the last point to complete the loop

Editing Polygons

Since a polygon is a polyline, you can edit it with all polyline tools. Here are the key techniques:

★ Grips
Click the polygon, then drag any blue grip to move a vertex. Hold Ctrl to add a vertex.
★ PEDIT
Use PEDIT to convert, join, or change the width of the polygon's segments.
★ Properties
Open the Properties palette to change vertex coordinates, layer, or linetype directly.

Editing Splines

Use SPLINEDIT to refine splines after creation. It offers a rich set of sub-options:

1
Add fit points: Insert new points along the curve to refine its shape.
2
Delete fit points: Remove unnecessary points to simplify the curve.
3
Move fit points: Drag existing fit points or CVs to reshape the curve.
4
Close/Open: Toggle between an open spline and a closed loop.
5
Fit tolerance: Set how closely the curve must pass to each fit point (0 = exact).
Command: SPLINEDIT
Select spline: [click spline]
Option [Fit data/Close/...]: Fit data
Option [Add/Delete/Move/...]: Add

Common Mistakes to Avoid

✕ Wrong I/C Mode
Choosing Inscribed when you need Circumscribed gives incorrect "across flats" dimensions on bolt heads and fittings.
✕ Too Few Spline Points
Using only 2-3 points for a complex curve produces a stiff, inaccurate shape. Add more fit points for smooth, realistic contours.
✕ Editing Polygon Vertices
Dragging individual vertices of a polygon destroys its regularity. Recreate the polygon instead if you need a different size.
✕ Ignoring Spline Degree
Leaving the degree at 3 when you need a smoother (\( d = 5 \)) or simpler (\( d = 2 \)) curve gives suboptimal results.

Summary: Commands at a Glance

Feature POLYGON SPLINE
Command POLYGON SPLINE
Shortcut POL SPL
Edit Command PEDIT SPLINEDIT
Sides/Points 3 to 1024 sides \( d + 1 \) minimum
Modes Inscribed / Circumscribed Fit / Control Vertices
Result Closed polyline NURBS spline
Typical Use Hardware, tiles, patterns Contours, profiles, organics

Question 1 of 5

When creating a hexagonal bolt head where the "across flats" distance must be exactly 24 mm, which POLYGON mode and radius should you use?

Question 2 of 5

What is the minimum number of points required to create a cubic spline (degree 3) using the Control Vertices method?

Question 3 of 5

A polygon created with the POLYGON command is stored as what type of AutoCAD object?

Question 4 of 5

You need to modify a spline by adding a new point between two existing fit points. Which command and option should you use?

Question 5 of 5

Which statement correctly describes the difference between Fit Points and Control Vertices when creating a spline?