AUTOCAD • DRAWING AND EDITING FUNDAMENTALS

Polygons & Splines — Create and edit polygons and splines (intro-to-standard)

Master the creation of regular polygons and smooth freeform spline curves in AutoCAD's 2D drafting environment.

Historical Context & Motivation

Before the advent of computer-aided design, engineers and architects relied on T-squares, compasses, and French curves to draft geometric shapes and smooth curves on paper. Creating a precise regular polygon — a hexagonal bolt head, an octagonal pavilion floor plan — demanded meticulous compass-and-straightedge constructions, while producing a fair spline required bending a thin strip of wood or metal (the physical spline) through a series of weighted pins called ducks. Both tasks were time-consuming and error-prone when iterated, which made them prime candidates for automation once interactive graphics hardware matured in the 1970s and 1980s.

1963
Sketchpad
Ivan Sutherland's Sketchpad thesis at MIT demonstrated real-time constraint-based drawing on a CRT, establishing the conceptual foundation for interactive geometric primitives including polygons.
1972
B-Spline Formalization
Carl de Boor and Maurice Cox independently published stable recursive algorithms for evaluating B-spline curves, giving CAD systems a robust mathematical basis for smooth freeform geometry.
1982
AutoCAD Release 1
Autodesk shipped AutoCAD 1.0 for the IBM PC, including the POLYGON command. For the first time, microcomputer users could generate regular polygons parametrically on affordable hardware.
1997
NURBS Splines in AutoCAD
AutoCAD Release 14 replaced legacy fit-curve polylines with true NURBS-based SPLINE objects, providing curvature continuity and precise control-point editing aligned with industry-standard surface modeling.
2010+
Modern Spline Editing
AutoCAD 2011 introduced fit-point and control-vertex spline creation modes along with enhanced grip editing, offering workflows comparable to dedicated surface-modeling packages.

The overarching question that these tools answer is deceptively simple: how can a designer specify complex curved and multi-sided geometry quickly, precisely, and in a format that downstream processes — CNC machining, finite-element analysis, 3-D printing — can consume without ambiguity? Understanding the POLYGON and SPLINE commands in AutoCAD is the first step toward answering that question at a professional level.

Core Principles & Definitions

At their cores, polygons and splines address two complementary geometric needs. A polygon is a closed planar figure composed of equal-length straight segments meeting at equal interior angles — a regular n-gon. A spline is a piecewise polynomial curve that passes through or approximates a set of defining points with guaranteed smoothness at the junctions. Both are stored internally as lightweight parametric descriptions rather than discrete point clouds, which keeps file sizes small and precision high.

1

Inscribed vs. Circumscribed

AutoCAD polygons can be inscribed within a circle (vertices on the circle) or circumscribed about a circle (edge midpoints on the circle). The choice determines the effective size of the polygon relative to the specified radius.
2

Fit Points vs. Control Vertices

Splines can be defined by fit points (the curve interpolates each point exactly) or by control vertices (the curve is attracted toward each vertex but does not necessarily pass through it). Control-vertex mode grants finer shape control at the cost of less intuitive initial placement.
3

Degree and Continuity

The degree of a spline (commonly 3 for cubic) governs its smoothness order. A degree-d curve provides Cd−1 continuity at internal knots, meaning curvature and tangent direction change smoothly rather than abruptly.
4

Parametric Representation

Both polygons and splines are defined parametrically. The polygon stores its center, radius, number of sides, and orientation angle; the spline stores knot vectors, control points, and weights. Editing any parameter regenerates the entity in real time.
5

Object Snaps & Grips

AutoCAD exposes specialized grip points on polygons (vertices, edge midpoints, center) and splines (fit points or CVs, tangent handles). These grips allow direct manipulation without re-entering the creation command.
KEY TAKEAWAY
Think of a polygon as a cookie cutter with perfectly equal sides — you only need to specify the number of sides and the size, and the shape is fully determined. A spline is more like a flexible drafting ruler: you pin it at key locations and it bends smoothly between them, with the mathematics ensuring there are no kinks. In AutoCAD, both are compact recipes rather than raw geometry — change a single parameter and the entire shape updates.

Visual Explanation — Polygon Construction

Left: an inscribed hexagon with vertices touching the construction circle. Right: a circumscribed hexagon whose edge midpoints (pink dots) touch the circle. Note that for the same radius R, the circumscribed polygon is larger.

When you invoke the POLYGON command (alias POL), AutoCAD prompts for the number of sides, a center point, and whether the polygon should be inscribed in or circumscribed about a circle of a given radius. As the diagram shows, the inscribed option places each vertex on the circle, while the circumscribed option ensures that each edge is tangent to the circle at its midpoint. Internally, AutoCAD stores the result as a closed lightweight polyline, which means you can later explode it into individual line segments or use PEDIT to modify vertices.

Mathematical Framework

Polygon Geometry

INTERIOR ANGLE
θ = (n − 2) × 180° / n
where n is the number of sides. For a hexagon (n = 6), θ = 120°.
VERTEX COORDINATES (INSCRIBED)
Vₖ = ( cx + R × cos(2πk/n + α), cy + R × sin(2πk/n + α) ) for k = 0, 1, …, n−1
(cx, cy) is the center, R is the inscribed radius, and α is the rotation offset. AutoCAD's default sets the first vertex directly above the center (α = π/2).

Spline Mathematics — NURBS Curves

AutoCAD's SPLINE command produces Non-Uniform Rational B-Spline (NURBS) curves. A NURBS curve of degree d is evaluated from a set of n + 1 control points P₀ … Pₙ, associated weights w₀ … wₙ, and a non-decreasing knot vector U = {u₀, u₁, …, u_{n+d+1}}. The curve is defined by the rational basis function formula below.

NURBS CURVE EQUATION
C(u) = Σᵢ₌₀ⁿ Nᵢ,d(u) × wᵢ × Pᵢ / Σᵢ₌₀ⁿ Nᵢ,d(u) × wᵢ
Nᵢ,d(u) are the B-spline basis functions computed via the Cox–de Boor recursion. Weights wᵢ allow representation of conic sections (circles, ellipses) exactly. When all weights equal 1, the curve reduces to a non-rational B-spline.
COX–DE BOOR RECURSION
Nᵢ,₀(u) = { 1 if uᵢ ≤ u < uᵢ₊₁ , 0 otherwise } Nᵢ,d(u) = ((u − uᵢ)/(uᵢ₊d − uᵢ)) × Nᵢ,d₋₁(u) + ((uᵢ₊d₊₁ − u)/(uᵢ₊d₊₁ − uᵢ₊₁)) × Nᵢ₊₁,d₋₁(u)
This recursion builds basis functions of increasing degree from piecewise-constant (degree 0) up to the desired degree d. The recursion ensures local support: each basis function is non-zero over at most d + 1 knot spans, which is why moving one control point only affects a local portion of the curve.

Fit-Point vs. Control-Vertex Spline Modes

In Fit Point mode (left), the spline interpolates every specified point exactly. In Control Vertex mode (right), the curve follows the control polygon (dashed) but only passes through the first and last vertices for a clamped knot vector. Moving a single CV reshapes only the nearby portion of the curve thanks to the local support property of B-spline basis functions.
Comparison of AutoCAD spline creation modes
FeatureFit Point ModeControl Vertex Mode
Curve passes through defining points?Yes — exact interpolationOnly first and last (clamped)
Grip editing granularityMove a fit point; AutoCAD recalculates the underlying CVsDirect CV manipulation; more predictable local reshaping
Degree controlDefault degree 3; can increase via Properties paletteDegree chosen at creation; 1 (linear) through 10 supported
Best use caseTracing survey data, road centerlines, or known point setsFreeform styling, aerodynamic profiles, industrial design
ConversionCan convert to CV mode (Properties → Spline Method)Can convert to fit-point mode if compatible

Choosing between the two modes depends on the design intent. If you have a set of surveyed points and need the curve to honor each one — for instance, a topographic contour — fit-point mode is the natural choice. If you are sculpting a shape and care more about curvature aesthetics than exact point passage, control-vertex mode gives you more predictable, localized control. AutoCAD allows switching between the two representations after creation using the Properties palette or the SPLINEDIT command.

Worked Example — Polygon & Spline Workflow

Consider the task of drawing a regular octagonal flange plate with a smooth cam-profile cutout. We will create the octagon with the POLYGON command and the cam profile with the SPLINE command, then edit both.

Creating and Editing a Polygon & Spline in AutoCAD
1
Step 1 — Draw the Octagonal FlangeType POLYGON (or POL) and press Enter. At the prompt "Enter number of sides," type 8. Specify the center point, e.g., 0,0. Choose Inscribed in circle and enter a radius of 50 units.
An inscribed regular octagon centered at the origin with circumradius 50 appears on screen.
2
Step 2 — Verify GeometrySelect the polygon, open the Properties palette (Ctrl+1), and confirm: closed polyline, 8 vertices, total perimeter ≈ 8 × 2 × 50 × sin(π/8) ≈ 306.15 units. Each interior angle should be (8 − 2) × 180° / 8 = 135°.
Interior angle = 135°, side length ≈ 38.27 units.
3
Step 3 — Create a Spline Cam Profile (Fit-Point Mode)Type SPLINE and press Enter. At the first prompt, choose Fit (the default in most versions). Click five points inside the octagon that trace a cam lobe, for example: (−20,0), (−10,25), (10,30), (25,5), (15,−20). Press Enter to finish the spline.
A smooth cubic spline (degree 3) interpolates all five points.
4
Step 4 — Edit the Spline with GripsSelect the spline. Blue grip squares appear at each fit point. Click the grip at (10,30) and drag it to (10,35) to enlarge the lobe. Press Escape to deselect. To add a fit point, type SPLINEDIT, select the spline, choose Fit data → Add, and click a location between two existing fit points.
The spline reshapes smoothly through the new point configuration.
5
Step 5 — Convert to Control-Vertex Mode (Optional)Select the spline, open the Properties palette, and change Spline Method from Fit to CV. The grips switch from fit points (circles) to control vertices (squares). Now you can pull individual CVs for fine curvature adjustments without globally recalculating the curve.
Spline is now in CV mode with direct local control over shape.

Strengths, Limitations & Practical Comparison

Polygon vs. Spline — key differences
CriterionPolygon (POL)Spline (SPL)
Geometry typeClosed lightweight polyline with equal-length segmentsOpen or closed NURBS curve
SmoothnessC⁰ continuity at vertices (tangent breaks)Up to C^(d−1) continuity (no visible kinks for d ≥ 3)
Parametric flexibilityFixed to n equal sides; only center, radius, orientation adjustableArbitrary shape via any number of points; degree adjustable
File size impactMinimal — stored as a polyline with n verticesSlightly larger — stores knot vector, CVs, weights
Downstream compatibilityUniversally supported by all DXF/DWG consumersRequires NURBS-aware parser; older plotters may tessellate
Typical applicationsBolt heads, nut profiles, tile patterns, structural columnsRoad alignments, ship hulls, turbine blades, topographic contours
KEY TAKEAWAY
Polygons and splines serve complementary roles analogous to integers and real numbers in mathematics: polygons give you exact, discrete, highly constrained shapes that are trivial to manufacture, while splines give you the continuous, infinitely flexible geometry needed to model the organic and aerodynamic forms encountered in real-world engineering. Knowing when to reach for each tool — and how to convert between representations — is a hallmark of CAD literacy.

Connection to Advanced CAD & Surface Modeling

The polygon and spline primitives introduced here are the 2-D precursors to far more powerful 3-D constructs. Understanding NURBS curves is essential because NURBS surfaces — used extensively in Autodesk Alias, CATIA, and Rhino — are essentially tensor products of two NURBS curves. Similarly, the regular polygon is the cross-section of prisms and prismatic extrusions, and AutoCAD's EXTRUDE and REVOLVE commands can sweep a 2-D polygon or spline profile into a solid body.

From 2-D basics to advanced 3-D workflows
Introductory ConceptAdvanced Extension
2-D POLYGON3-D prismatic solids via EXTRUDE; parametric polygon families in Dynamo/Grasshopper
2-D SPLINE (fit-point)Surface patches via LOFT/SWEEP; interpolating-spline surface networks in Alias
2-D SPLINE (CV)NURBS surface editing with CV lattices; G2/G3 continuity analysis in Class-A surfacing
SPLINEDITSurface trimming, blending, and stitching; T-spline topology editing

For computer science students interested in computational geometry, the algorithms behind spline evaluation — the Cox–de Boor recursion, knot insertion via the Oslo algorithm, and degree elevation — are rich topics that intersect numerical analysis, approximation theory, and computer graphics. Understanding these fundamentals now will smooth the path into courses on geometric modeling, shader programming, and CAD kernel development.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain the difference between an inscribed and a circumscribed polygon in AutoCAD. If both use the same radius value R and the same number of sides n, which polygon will have the larger perimeter, and why?
PROBLEM 2BASIC CALCULATION
You create a regular hexagon inscribed in a circle of radius 40 units using the POLYGON command. Calculate the side length and the total perimeter of the hexagon.
PROBLEM 3INTERMEDIATE
A designer needs a spline of degree 3 (cubic) defined by 6 control vertices with a clamped (open) uniform knot vector. How many knots must the knot vector contain, and what does 'clamped' mean in terms of the multiplicity of the first and last knot values?
PROBLEM 4APPLIED
You are drafting a road centerline in AutoCAD. You have 12 survey points that the road must pass through exactly, and you need the curve to exhibit tangent continuity for smooth vehicle travel. Should you use fit-point mode or control-vertex mode for the SPLINE command? Justify your choice and describe how you would later adjust the curve if one survey point is corrected by the surveyor.
PROBLEM 5CRITICAL THINKING
AutoCAD stores a POLYGON as a closed lightweight polyline, not as a dedicated polygon entity. Discuss the computational and data-model trade-offs of this design decision. Under what circumstances might a dedicated polygon entity type be advantageous, and why do you think Autodesk chose the polyline representation?

Lesson Summary

This lesson introduced two fundamental AutoCAD primitives for 2-D drafting. The POLYGON command creates regular n-sided figures by specifying a center, a radius, and whether the polygon is inscribed in or circumscribed about a circle. The result is stored as a closed lightweight polyline, editable via grips or PEDIT. The vertex coordinates follow the formula Vₖ = (cx + R cos(2πk/n + α), cy + R sin(2πk/n + α)), and each interior angle equals (n − 2) × 180° / n.

The SPLINE command produces NURBS curves in two modes: fit-point mode for exact interpolation through specified points, and control-vertex mode for localized shape sculpting via an approximating control polygon. The underlying mathematics — the Cox–de Boor recursion and the NURBS rational basis formulation — guarantee smoothness up to C^(d−1) continuity for a degree-d curve. Editing is performed through SPLINEDIT or grip manipulation, and mode conversion is available via the Properties palette. Together, polygons and splines equip the drafter with both the rigid regularity and the freeform fluidity required for professional 2-D geometry.

Varsity Tutors • AutoCAD • Polygons & Splines — Create and edit polygons and splines (intro-to-standard)