AUTOCAD • DRAWING AND EDITING FUNDAMENTALS

Offset

Create parallel copies of lines, arcs, circles, and polylines at a precise specified distance.

Historical Context & Motivation

Before the advent of computer-aided design, engineers and architects relied on parallel rulers, rolling straightedges, and manual measurement to produce parallel lines on drafting boards. The task of drawing a wall thickness, a road shoulder, or a pipe clearance demanded repeated measurement and careful hand-eye coordination — a process that was both tedious and error-prone. The Offset command in AutoCAD was conceived to automate precisely this operation, allowing a drafter to select any existing geometry and generate a parallel duplicate at an exact distance with a single action. Its development mirrors the broader evolution of CAD from simple digital drafting boards to intelligent parametric modeling environments.

1982
AutoCAD 1.0 Released
Autodesk ships the first commercial version of AutoCAD, offering basic line, arc, and circle primitives along with rudimentary editing commands. The OFFSET command is not yet present; users must manually copy and trim geometry.
1984
OFFSET Introduced
AutoCAD Release 2.1 introduces the OFFSET command as a native editing tool, enabling parallel geometry creation for lines, arcs, circles, and 2D polylines. This dramatically accelerates wall-section and road-profile drafting workflows.
1997
Polyline Offset Refinements
AutoCAD Release 14 improves offset handling for complex polylines with mixed arc-and-line segments, resolving earlier corner-trimming and self-intersection bugs that had frustrated users working on irregular boundaries.
2010
Through-Point & Layer Options
AutoCAD 2011 adds 'Through' point offset mode, OFFSETGAPTYPE system variable for handling gap closure strategies, and an option to place offset results on the current layer rather than the source object's layer.
2020+
Cloud & Parametric Integration
Modern releases integrate the OFFSET command with parametric constraints and AutoCAD web/mobile apps, allowing offset distances to be driven by dimensional parameters and executed on any device.

The central question that the Offset command addresses is deceptively simple yet computationally rich: given an arbitrary planar curve — a line, an arc, a spline, or a composite polyline — how can software construct a geometrically faithful parallel curve at an exact specified distance? This question underpins workflows ranging from architectural wall layouts to PCB trace clearance design, and its answer touches on concepts from computational geometry that are directly relevant to a computer science curriculum.

Core Principles & Definitions

The Offset command creates a new object that is a parallel duplicate of a selected source object, positioned at a uniform perpendicular distance from every point on the original. Unlike the Copy command, which produces a congruent replica at a translation vector, Offset preserves the parallelism constraint: a line offsets to a line, a circle offsets to a concentric circle, and a polyline offsets to a similarly shaped polyline with adjusted vertex positions. Understanding the command requires grasping several foundational ideas.

1

Offset Distance

The perpendicular distance between the original object and the new parallel copy. This value can be typed numerically or derived from a 'Through' point selected on screen.
2

Side Selection

After specifying the distance and selecting the source object, the user clicks on the side where the offset copy should appear. The click position determines the direction of the perpendicular offset.
3

Equidistant Curve (Parallel Curve)

The mathematical concept underlying Offset: every point on the new curve is at the same normal distance from the nearest point on the original. For lines this is trivial; for arcs and splines, the radius or curvature changes accordingly.
4

Supported Object Types

Lines, arcs, circles, ellipses, 2D polylines, and splines can be offset. 3D objects, text, blocks, and hatch patterns cannot be offset directly.
5

OFFSETGAPTYPE

A system variable (values 0, 1, or 2) that controls how AutoCAD handles gaps at polyline corners when offset produces a self-intersecting or diverging result: extend, fillet, or chamfer the segments.
KEY TAKEAWAY
Think of Offset like the lane-painting machine on a highway. The machine doesn't simply copy and shift a stripe sideways — it follows the road's curvature so that every point on the new stripe is exactly one lane-width away from the original stripe, even through curves and transitions. In the same way, AutoCAD's Offset walks along the source geometry's normal vectors, depositing a new curve at a constant perpendicular distance.

Visual Explanation

The following diagram illustrates how the Offset command behaves on three fundamental geometry types: a straight line, a circle, and a polyline with mixed segments. Notice how the offset distance is measured perpendicularly from the source object to the resulting copy in every case. For the circle, offsetting inward decreases the radius and offsetting outward increases it by exactly the offset distance. For the polyline, each segment offsets independently and AutoCAD resolves the corner intersections.

Three offset scenarios: a line produces a parallel line at distance d; a circle produces concentric circles at radii r ± d; and a polyline offsets each segment independently with corners resolved by the OFFSETGAPTYPE setting.

In the diagram above, observe that a line's offset produces a perfectly parallel segment of the same length. A circle's offset is trivially a concentric circle whose radius is increased or decreased by the offset distance — a fact that follows directly from the definition of a circle as a constant-radius locus. The polyline case is the most computationally interesting: each straight or arc segment offsets independently, and the resulting segments may no longer meet at their original vertices. AutoCAD extends or trims them at corners, using the strategy governed by OFFSETGAPTYPE (0 = extend, 1 = fillet, 2 = chamfer). Understanding this behavior is essential when offsetting complex boundaries such as floor plans or roadway alignments.

Mathematical Framework

The Offset command is an implementation of the mathematical concept of an equidistant curve (also called a parallel curve or offset curve). Given a planar curve C(t) parameterized by t, the offset curve Cd(t) at distance d is obtained by translating each point along its unit normal vector. The mathematical treatment differs by geometry type, but a unified formula governs all cases.

GENERAL OFFSET CURVE
C_d(t) = C(t) + d · n̂(t)
where C(t) is the original curve parameterized by t, d is the offset distance (positive for one side, negative for the other), and n̂(t) is the unit normal vector at parameter t.
LINE OFFSET
P_offset = P_original + d · n̂
For a line defined by direction vector v̂, the unit normal n̂ is constant along the line: n̂ = (−v̂_y, v̂_x). The offset is simply a uniform translation, producing a parallel line at perpendicular distance d.
CIRCLE OFFSET
r_offset = r ± d
A circle of radius r offset by distance d produces a concentric circle of radius r + d (outward) or r − d (inward). If d ≥ r for an inward offset, the resulting radius would be zero or negative, and AutoCAD rejects the operation.
ARC OFFSET
r_arc_offset = r_arc ± d, θ_start and θ_end preserved
An arc is treated as a partial circle. The offset arc shares the same center and subtended angles but has an adjusted radius. The start and end angles remain identical, so the arc's angular span is unchanged while its arc length scales proportionally.

From a computational geometry perspective, the offset of a composite polyline is the most challenging case. Each segment — whether a line or an arc — is offset independently using the appropriate formula above, producing a set of new segments that may not intersect at the original vertex positions. AutoCAD must then compute the intersection or extension of adjacent offset segments to form a valid closed or open polyline. At convex corners the offset segments diverge and must be extended (or filleted) to meet; at concave corners they may self-intersect and require trimming. This segment-by-segment offset-then-connect algorithm runs in O(n) time for a polyline of n segments, making it efficient even for complex building outlines with hundreds of vertices.

Offset Modes, Options & System Variables

AutoCAD's Offset command exposes several modes and system variables that give the user fine-grained control over behavior. Understanding these options is important for efficient drafting and for scripting Offset operations in AutoLISP or .NET plug-ins. The diagram below classifies the primary modes and the system variable that governs corner handling for polyline offsets.

The two primary invocation modes (Distance and Through) alongside the three OFFSETGAPTYPE strategies for polyline corner handling. Value 0 extends segments to a sharp intersection, value 1 inserts a fillet arc, and value 2 inserts a chamfer line segment.
Key OFFSET-related system variables and options
System VariableValuesEffect
OFFSETDISTAny positive real number, or −1 for 'Through'Stores the last-used offset distance. Setting it to −1 activates Through mode by default.
OFFSETGAPTYPE0, 1, or 2Controls gap closure at polyline corners: 0 = extend, 1 = fillet, 2 = chamfer.
OFFSETERASE0 (No) or 1 (Yes)When set to 1, the source object is erased after the offset copy is created.
Layer optionCurrent or SourceDetermines whether the offset result is placed on the current active layer or inherits the source object's layer.

Worked Example — Offsetting a Floor Plan Wall

Suppose you have drawn the outer boundary of a rectangular room as a closed polyline measuring 12 m × 8 m. You need to create the inner wall face by offsetting this polyline inward by 0.3 m (a standard 300 mm masonry wall thickness). The resulting inner polyline will represent the interior surface of the walls. We will walk through the complete command sequence and verify the resulting dimensions.

Creating Inner Wall Face via Offset
1
Step 1 — Invoke the OFFSET CommandType OFFSET at the command prompt and press Enter. AutoCAD responds: "Specify offset distance or [Through/Erase/Layer]:" This is where you specify the perpendicular wall thickness.
2
Step 2 — Enter the Offset DistanceType 0.3 and press Enter. AutoCAD stores this as the active offset distance and prompts: "Select object to offset or [Exit/Undo]:"
Offset distance set to 0.3 m
3
Step 3 — Select the Source PolylineClick on any edge of the 12 m × 8 m rectangular polyline. It highlights, and AutoCAD prompts: "Specify point on side to offset or [Exit/Multiple/Undo]:"
4
Step 4 — Click the Inward SideClick anywhere inside the rectangle. AutoCAD generates a new closed polyline inset by 0.3 m from each edge. The new rectangle's dimensions are (12 − 2 × 0.3) m × (8 − 2 × 0.3) m because each opposite side pair shrinks by the offset distance on both ends.
Inner polyline dimensions: 11.4 m × 7.4 m
5
Step 5 — Verify with LIST CommandSelect the new inner polyline and run the LIST command to confirm its vertex coordinates. The four corners should be at (0.3, 0.3), (11.7, 0.3), (11.7, 7.7), and (0.3, 7.7) — assuming the outer rectangle starts at the origin. The perimeter of the inner polyline is 2 × (11.4 + 7.4) = 37.6 m, compared to the outer perimeter of 2 × (12 + 8) = 40 m.
Inner perimeter = 37.6 m; Wall area = (12 × 8) − (11.4 × 7.4) = 96 − 84.36 = 11.64 m²
💡 Automation Tip
In AutoLISP, you can script the offset operation with (command "OFFSET" 0.3 (entlast) '(6 4) "") where '(6 4) is any interior point. This is valuable for batch processing hundreds of parcels or floor plans in a project directory.

Strengths, Limitations & Comparisons

Offset is one of AutoCAD's most frequently used editing commands, but it is not universally applicable. Understanding when to use Offset versus alternatives like Copy, Array, or parametric constraints helps a drafter choose the most efficient tool for each situation. The table below compares Offset against its closest functional relatives in AutoCAD.

OFFSET vs. COPY vs. ARRAY — functional comparison
CriterionOFFSETCOPYARRAY (Path/Rectangular)
Geometry relationshipParallel / equidistantCongruent (identical shape, translated)Congruent, repeated at intervals
Resulting shapeMay differ (e.g., circle → larger circle)Always identical to sourceAlways identical to source
Use caseWall thicknesses, contour lines, buffer zonesDuplicating objects to new positionsRepeating patterns (bolts, columns, tiles)
Supports curved geometryYes — adjusts radius/curvatureYes — copies unchangedYes — copies unchanged
LimitationCannot offset 3D solids, text, blocks, or hatchesNo parallelism constraint; manual positioningNo parallelism; count-based, not distance-based
WHEN TO CHOOSE OFFSET
Use Offset whenever you need the new geometry to be a constant perpendicular distance from the original — like creating a buffer zone around a lake on a GIS map, or defining PCB trace clearances. If you simply need a duplicate at an arbitrary position (not equidistant from every point), use Copy instead. If you need many identical copies at regular intervals, ARRAY is the right tool. The mental test is: does every point on the new object need to be exactly 'd' away from the nearest point on the source? If yes, Offset is the correct command.

Connection to Advanced CAD & Computational Geometry

AutoCAD's Offset command implements a relatively straightforward case of the general Minkowski sum operation from computational geometry. When you offset a 2D polygon outward by distance d, you are effectively computing the Minkowski sum of the polygon with a disk of radius d. This connection is deeply relevant to robotics (configuration-space obstacles), CNC toolpath generation (tool-radius compensation), and geographic information systems (buffer operations around spatial features). As you advance to parametric modeling in tools like Autodesk Inventor, Fusion 360, or SolidWorks, the offset concept evolves into the Shell command that offsets 3D surfaces to create hollow bodies with uniform wall thickness.

2D Offset vs. 3D Shell and advanced computational geometry concepts
Concept2D Offset (AutoCAD)3D / Advanced Equivalent
OperationOffset a 2D curve by distance d along the normalShell a 3D solid inward/outward by thickness t
InputLines, arcs, circles, polylines, splines3D solid bodies (B-rep surfaces)
Corner handlingOFFSETGAPTYPE: extend / fillet / chamferKernel-level blend or intersection logic
Algorithmic complexityO(n) for polyline of n segmentsO(n log n) or higher due to surface self-intersection detection
CS applicationGIS buffer zones, 2D path planningCNC toolpath compensation, 3D printing wall generation, robot configuration space

If you pursue computational geometry or CAD kernel development, you will encounter the offset (or parallel curve) problem repeatedly. CGAL, the Computational Geometry Algorithms Library, provides robust offset implementations that handle degenerate cases — self-intersecting offsets, cusps, and topological changes — that AutoCAD's simpler approach does not fully expose to the user. Understanding how AutoCAD's Offset command works is an excellent gateway to these deeper algorithmic challenges.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain why offsetting a circle inward by a distance equal to or greater than its radius is impossible. What geometric principle prevents this?
PROBLEM 2BASIC CALCULATION
A circle with a radius of 15 units is offset outward by 4 units. What is the radius of the new circle, and what is the ratio of the new circumference to the original circumference?
PROBLEM 3INTERMEDIATE
You have drawn an L-shaped open polyline consisting of a horizontal line segment from (0, 0) to (10, 0) and a vertical segment from (10, 0) to (10, 6). You offset this polyline by 2 units to the left side (the side that contains the point (5, 3)). Describe the resulting geometry — specifically, how is the corner at (10, 0) handled when OFFSETGAPTYPE is set to 0 (Extend), and how would the result differ if OFFSETGAPTYPE were set to 1 (Fillet)?
PROBLEM 4APPLIED
You are designing a running track in AutoCAD. The inner lane boundary is a polyline consisting of two straight segments (100 m each) connected by two semicircular arcs of radius 36.5 m at each end. Each lane is 1.22 m wide. Using the OFFSET command, how would you generate the outer boundaries of lanes 1 through 4? For lane 3's outer boundary, what are the radii of the semicircular arcs, and what is the total length of one lap?
PROBLEM 5CRITICAL THINKING
Consider a closed convex polygon with n vertices offset outward by distance d. Prove (or argue convincingly) that the area of the offset polygon equals the original area plus the original perimeter times d, plus πd². How does this formula relate to the Minkowski sum interpretation of the offset operation? Under what conditions does this formula fail?

Offset — Key Concepts Review

The Offset command creates a parallel equidistant copy of lines, arcs, circles, and polylines at a specified perpendicular distance. Invoked via Distance mode (explicit numeric distance) or Through mode (click a point the offset must pass through), the command applies the formula Cd(t) = C(t) + d · n̂(t) to each point on the source curve. For polylines, the OFFSETGAPTYPE system variable (values 0, 1, 2) controls whether corners are handled by extension, filleting, or chamfering.

Offset is distinct from Copy (which creates congruent duplicates without parallelism) and Array (which creates repeated copies at intervals). Mathematically, a polygon offset is equivalent to a Minkowski sum with a disk, connecting this AutoCAD drafting tool to broader computational geometry concepts in robotics, CNC toolpath planning, and GIS buffer analysis. The 3D generalization is the Shell command in parametric solid modelers.

Varsity Tutors • AutoCAD • Offset