• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
blog.draftsperson.net

blog.draftsperson.net

the art of technical drawing

blog.draftsperson.net

HELIX3D LISP: Draw a Rising Helix as a 3D Polyline

August 6, 2026

HELIX3D draws a helix that climbs as it turns, as an ordinary 3D polyline.

What SpiralPath does

Why, when AutoCAD has had a HELIX command since 2007 that asks for much the same numbers? Because HELIX makes a HELIX object — a spline underneath — and there are things you cannot usefully do with one. You cannot offset it, you cannot get at its vertices, and exploding it gives a spline rather than segments.

A polyline you can offset, trim, edit vertex by vertex, and hand to a machine as a toolpath. That is the whole reason to keep this.

How to use it

  1. Load the routine with APPLOAD, or put it on your support file search path.
  2. Type HELIX3D.
  3. Pick the start point and give the radius, the rise per turn and the number of turns.
  4. For a flat spiral, use SPIRAL in ShopShapes instead — it already draws one as a polyline.

How it works

The helix is generated point by point and written as a 3D polyline, starting where you told it to.

π comes from AutoLISP, not from a typed constant. Typing it by hand as 3.141596235 — where the real value is 3.141592653, so the fifth and sixth decimals are wrong — is enough that a spiral of any length drifts off where it should be and never quite closes. AutoLISP has pi built in.

The error handler is installed and the old one saved properly. A routine that finishes by setting the session error handler from a variable that was never given a value sets it to nil — and after running it once, every later error in any routine reports as a bare AutoCAD message with no cleanup at all.

Notes and limits

  • The result is a real polyline, editable and offsettable, unlike a HELIX object.
  • For a flat spiral use SPIRAL in ShopShapes — there is no sense having two.
  • More segments means a smoother helix and a heavier object; pick to suit what it is for.
  • One undo group covers the helix.

Download and details

NameSpiralPath — a rising helix as an ordinary 3D polyline
DownloadSpiralPath.lsp — 6.2 KB, plain AutoLISP source. Downloads directly; no zip to unpack.
TypeAutoCAD AutoLISP routine
CommandHELIX3D
Requiresnothing beyond a CAD platform with AutoLISP.
Source size6.2 KB, 161 lines
Error handlingYes — a *error* handler restores every system variable it changed, on cancel as well as on error.
UndoThe whole operation is wrapped in a single undo group, so one U reverses all of it.
CompatibilityAutoCAD (any release with AutoLISP), BricsCAD, ZWCAD, GstarCAD, ProgeCAD and other IntelliCAD-based platforms. AutoCAD LT needs a LISP enabler. No .NET, no ObjectARX, no installer.
AuthorYZ, August 2026
LicenceFree to use, supplied “as is” with no warranty.

References

  • SPIRALSTAIR LISP — a spiral stair built as 3D surfaces
  • POLY3D LISP — lifting a flat polyline into 3D
  • More free AutoLISP routines on this site
  • Wisey’s Steel Shapes — free structural steel section drawing program

Filed Under: AutoLISP Routines

Primary Sidebar

Subscribe to our Youtube Channel

Post CAD drafting jobs on Freelancer.com. and get some free money to do this.

Categories

  • American Steel Industry (4)
  • AutoCAD Articles & Reference (30)
  • AutoCAD Bugs & Problems (19)
  • AutoCAD Tips (29)
  • AutoCAD Tutorials (54)
  • AutoLISP Routines (328)
  • AutoLISP Tutorials (15)
  • CAD Standards (7)
  • Civil 3D (7)
  • Civil Drafting (4)
  • Dimensions (2)
  • Drafting Funnies (71)
  • Drafting History (9)
  • Drafting Standards (84)
  • Electrical Drafting (2)
  • General IT reference (7)
  • Geometry (15)
  • GIS (2)
  • Hatch Patterns (12)
  • Office Life Hacks (3)
  • PT (1)
  • Revit Tutorials (54)
  • Steel Detailing (14)
  • Structural Drafting (26)
  • Technical Dictionary (61)
  • Useful Website Links (19)

Footer

Free downloads

  • Free AutoLISP routines
  • Free hatch patterns
  • SHX fonts & text styles
  • Numbering LISP collection
  • ISO 3098B font

Reference charts

  • AWS weld symbols chart
  • Steel detailing chart
  • Hole & slot sizes
  • Bolt edge distance
  • ANSI & ARCH paper sizes
  • How to fold an A1 drawing

Useful links

  • CAD blocks (DWG)
  • Revit families
  • structuraldrafter.com
  • cad-corner.com
  • About
  • Privacy policy

Provided for free with no warranty · Log in