UNITSPAN measures between two points and shows the result simultaneously in decimal, fractional, engineering, architectural and metric notation — and does the same for the X and Y components and the bearing. What UnitSpan does DIST answers in whatever format UNITS happens to be set to. That is fine until you are reading an architectural drawing while filling … [Read more...] about UNITSPAN LISP: One Measurement, Every Unit Format
AutoLISP Routines
HILBERT LISP: Turtle Graphics and Space-Filling Curves
A turtle that walks and turns, and two curves drawn with it. HILBERT draws the Hilbert curve — a single line that visits every square of a grid without crossing itself. KOCH draws the Koch snowflake — a triangle with a smaller triangle raised on the middle third of every edge, over and over. What TurtleDraw does Both are drawn as a single polyline, … [Read more...] about HILBERT LISP: Turtle Graphics and Space-Filling Curves
TRUSSFRAME LISP: Parametric Timber Roof Trusses
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 spansFink the common "W". The most widely used … [Read more...] about TRUSSFRAME LISP: Parametric Timber Roof Trusses
FRACTREE LISP: Branching Trees and Plants in AutoCAD
Grows a branching structure from a trunk you draw — a tree in elevation for a landscape drawing, or the same machinery turned to other uses: a wiring diagram, a decision tree, a river system. What TreeGrow does FRACTREE every branch splits the same way every time, so the … [Read more...] about FRACTREE LISP: Branching Trees and Plants in AutoCAD
HANOI LISP: Tower of Hanoi Built and Solved in 3D
HANOI builds the puzzle as real geometry — a base, three posts and a stack of discs — and HANOISOLVE solves it in front of you, one move at a time. What TowerHanoi does The rules, unchanged since Lucas set the puzzle in 1883: 1. Only one disc moves at a time.2. No disc may rest on a smaller one. The legend has monks moving sixty-four … [Read more...] about HANOI LISP: Tower of Hanoi Built and Solved in 3D
TIMELOG LISP: Record Drawing Time to a File
A stopwatch for drawing time. Start it against a project and an activity, stop it when you move on, and each spell is written to a file with who, what, when and how long. For billing, for job costing, or simply for finding out where the week actually went. What TimeLog does LOGFILE choose where entries are written, and open itLOGSTART start the … [Read more...] about TIMELOG LISP: Record Drawing Time to a File