Skip to content
Tutorials Center
My learning

Topics

Lesson 30 of 38 ยท 3D Modelling

AutoCAD 3D Solids: Primitives, Extrude, Revolve, Sweep, Loft

Build 3D solids in AutoCAD: primitives like BOX and CYLINDER, plus EXTRUDE, REVOLVE, SWEEP, LOFT, POLYSOLID and PRESSPULL, with closed-profile rules and volume checks.

Solids are 3D objects with volume: AutoCAD knows what is inside them, so it can compute mass, cut them, combine them and detect collisions. Most solids come from two ideas: start from a ready-made primitive (box, cylinder, sphere), or take a 2D profile and give it depth with EXTRUDE, REVOLVE, SWEEP or LOFT.

AutoCAD cannot run on this site. Commands are described as they behave in the program, and the runnable examples are clearly labelled JavaScript stand-ins for the volume maths.

Solid primitives

From the Home > Modeling panel (or typed commands):

Command Prompts (typical)
BOX Corner, then opposite corner and height, or Cube/Length
WEDGE Like BOX; slopes down along the length
CYLINDER (CYL) Center, radius or diameter, height
CONE Center, base radius, height (or top radius for a frustum)
SPHERE Center, radius
PYRAMID Base center, radius, height, number of sides (SIDES)
TORUS Center, ring radius, tube radius
POLYSOLID Draws a wall-like solid along a path: height, width, justification

Each primitive has grips (blue triangles on faces) that resize it. Use Z direction UCS to rotate where it faces, and use Center or 2Point for flexible placement. Primitives are stored as parametric-like shapes until they are edited with Boolean or solid-edit tools.

EXTRUDE

EXTRUDE (EXT) takes a closed 2D object and pulls it along Z, or along a Path. Select closed objects: polylines, circles, ellipses, rectangles, regions, closed splines. Open objects produce a surface unless you set MOde to Solid and the profile is closed. Useful options:

  • Direction or Path: extrude along a line or curve.
  • Taper angle (T): a positive taper shrinks the profile as it goes up, ideal for draft angles and chamfers.
  • Expression: type a formula for the height.
  • MOde (MO): Solid or Surface.

When your profile is made of separate lines that meet end to end, join them first with PEDIT > Join (or JOIN) or pick Select all after REGION. If an extrusion makes a surface instead of a solid, the profile was not closed.

JS Stand-in: volume of an extruded polygon with taper-free height

Press Run (or Ctrl + Enter) to see the console output here.

No output.

REVOLVE

REVOLVE (REV) spins a closed profile around an axis. Pick the profile, then the axis start point and end point (or Object, X, Y, Z), and an angle (360 by default). Good for shafts, bottles, bowls, wheels and rings. The profile must lie wholly on one side of the axis, and not cross it.

By the theorem of Pappus, the volume of a revolved profile equals its area times the distance travelled by its centroid, V = A x 2 x pi x r_centroid for a full turn. This gives a quick sanity check.

JS Stand-in: volume of a revolved rectangle (a ring)

Press Run (or Ctrl + Enter) to see the console output here.

No output.

SWEEP

SWEEP drags a profile along a path: a pipe along a curve, a handrail along a stair, a frame section along a polyline. Pick the profile (closed gives a solid), press Enter, pick the path. Options: Alignment (keep the profile perpendicular to the path or not), Base point, Scale (profile grows or shrinks along the path), Twist (rotate along the path). The path should lie in a plane different from the profile, and should not have sharp bends tighter than the profile (the solid would intersect itself).

LOFT

LOFT builds a solid through several cross sections (two or more closed profiles, ordered): a boat hull, a bottle with a changing neck, a transition piece from a circle to a rectangle. After picking the profiles in order, choose an option:

  • Guides (curves that the loft follows),
  • Path (a single curve that controls the shape),
  • Cross sections only (opens a dialog to set smoothness: Ruled, Smooth Fit, Normal To, Draft angles).

The order and starting points matter: if the loft twists, check where each profile starts (the seam) and the direction of the profile.

PRESSPULL and POLYSOLID

PRESSPULL (PRESS) pushes or pulls a bounded area or face of an existing solid in or out by a given distance, a direct way to add bosses and make pockets. POLYSOLID (type POLYSOLID) is perfect for quick walls: set Height and Width, click the points like a polyline, and choose Arc for curved walls. You can convert an existing line or arc into a polysolid with the Object option.

Choosing the right command

flowchart TD
  A["Need a solid"] --> B{"Standard shape?"}
  B -- "yes" --> C["Primitive: BOX, CYLINDER, SPHERE..."]
  B -- "no" --> D{"Constant section?"}
  D -- "straight" --> E["EXTRUDE"]
  D -- "around an axis" --> F["REVOLVE"]
  D -- "along a curve" --> G["SWEEP"]
  D -- "changes between sections" --> H["LOFT"]

Match the command to the way the shape is generated.

Common mistakes

  • Profiles with tiny gaps or overlaps: join them or use REGION first.
  • Revolving a profile that crosses the axis.
  • Sweeping along a path that bends too sharply.
  • Lofting profiles in the wrong order (the loft twists).
  • Using DELOBJ default settings and being surprised when the original profile disappears; set DELOBJ to 0 to keep it.
  • Drawing a solid in the wrong UCS and discovering the extrusion points sideways.
  • Using FACETRES or ISOLINES of extreme values: they slow the display without changing the geometry.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. EXTRUDE creates a surface instead of a solid. What is the likely cause?

    Only closed profiles produce solids; open ones create surfaces.
  2. 2. Which command is best for a pipe following a curved path?

    SWEEP drags a profile along a path.
  3. 3. A taper angle on EXTRUDE does what?

    A taper angle slopes the side faces, as for a draft angle on moulded parts.
  4. 4. In which order should LOFT cross sections be picked?

    The solid is built through the sections in pick order, so a wrong order produces twisting.

Summary

  • Solids come from primitives (BOX, CYLINDER, SPHERE...) or from closed 2D profiles.
  • EXTRUDE pulls straight or along a path (with optional taper), REVOLVE spins around an axis, SWEEP follows a path, LOFT blends sections.
  • PRESSPULL and POLYSOLID give quick edits and walls.
  • Close and join profiles before using them, place the UCS first, and check volumes.

Next: Boolean operations and solid editing