• 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

TRUSSFRAME LISP: Parametric Timber Roof Trusses

August 6, 2026

TRUSSFRAME draws a complete roof truss — top chords, bottom chord and the full web pattern — from four numbers and one pick point.

What TrussFrame does

Six standard configurations:

King Post  a single vertical post from bottom chord to peak. Short spans
Fink       the common "W". The most widely used domestic truss, and
           the most material-efficient of the six for medium spans
Howe       verticals in tension, diagonals sloping toward the peak
Pratt      the mirror of Howe - diagonals slope toward the heels,
           which puts them in tension instead of compression
Belgian   a simplified Fink with fewer web members
Fan        webs radiating from the heels toward the peak

How to use it

  1. Load the routine with APPLOAD, or put it on your support file search path.
  2. Type TRUSSFRAME.
  3. Choose the pattern.
  4. Give the span, the rise, and the lumber width and thickness.
  5. Pick the left heel.

How it works

One drawing engine and a small table, not six near-identical routines. Every one of these trusses is the same triangle with a different set of web members inside it.

Four points frame the truss: the two heels, the midspan point on the bottom chord, and the peak directly above it at the given rise.

The rafters and the bottom chord are divided into equal parts. How many differs per truss — a Fink quarters its rafters, a Howe thirds them — and those two divisors are the first two numbers in each table entry.

Every division point gets a short name, and the webs are lists of those names. The Howe pattern reads literally as E A F B P3 C G D H — a single zigzag from the left heel across to the right. Adding a seventh truss type means adding one line to the table, not writing another function.

Lumber thickness is applied as AutoCAD extrusion thickness, so the truss comes out as a 3D object with real depth rather than a flat diagram. THICKNESS is put back afterwards, so the setting does not leak into whatever you draw next.

Lumber width becomes the polyline width, so the chords and webs are drawn at their true scantling rather than as single lines.

Notes and limits

  • Six patterns, one table entry each.
  • The truss has real depth via extrusion thickness.
  • This is geometry, not a design. Member sizes and connections are an engineer’s call.
  • One undo group covers the truss.

Download and details

NameTrussFrame — draw a timber roof truss in six standard web patterns
DownloadTrussFrame.lsp — 12.6 KB, plain AutoLISP source. Downloads directly; no zip to unpack.
TypeAutoCAD AutoLISP routine
CommandTRUSSFRAME
Requiresnothing beyond a CAD platform with AutoLISP.
Source size12.6 KB, 308 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

  • TRUSS LISP — parametric floor truss elevations
  • RAFTER LISP — rafters and cuts for the same roof
  • ROOFPITCH LISP — the pitch triangle behind the numbers
  • 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