Lisp Programs

Many computer aided drafting programs can run lisp files. Lisp is a programing language used to create macros.
These Lisp programs are used to automate drafting procedures. Following are a collection of Lisp programs that
are helpful for irrigation and landscape designers.

These are provided "as is" for your use. Please open them in a text editor and review the code and
any copyright information within before using them. You assume full responsibility for use and any damages that
may result. The Lisp language is powerful and Lisp files can contain viruses, trojans, and other malicious code
intended to damage your computer, delete files, etc.. Fortunately Lisp also is a non-compiled language, so you
can see the entire code by opening the Lisp file.

Click on the Lisp file title below to download. Files are stored in zip format, you will need to unzip them
once they are downloaded if your browser doesn't automatically unzip them for you.

DESCRIPTION

Counts the blocks in a drawing. After loading CountBlocks.lsp type "countbw" to run. Requests
the block name to count, then a selection set. Returns the quantity to the command history window. Contributed
by John Bickerton.

DESCRIPTION

Creates a loop on a line representin where one pipe crosses another. Uses a global variable named TestSize to
determine the radius of the loop. You may need to edit the lisp file if you don't use that variable. After loading
Jumpover.lsp type "jo" to run. Asks for first pipe, then second pipe, then click on side you
don't want the loop on. Contributed by John Bickerton.

DESCRIPTION

Returns the total length of all lines selected. Used for measuring pipe quantities. After loading TotalLength.lsp
type "length" to run. Requests that you select lines to measure. Returns the total length to
the command history window. Contributed by John Bickerton.

DESCRIPTION

S_Lisp creates a set of simple drafting commands for use in the design of sprinkler irrigation systems.
These tools provide quick placement of sprinkler symbols such as sprinkler heads, valves, etc. The program also
provides a system of layer controls to help keep everything on the correct layers. At present, this is a very simple
program consisting of beginner level Lisp. It does not provide any actual design assistance. It will not design
a sprinkler system for you. You must provide the talent and knowledge!

S_Lisp 1.0 was written for and tested on IntelliCAD. It may need minor
modifications for use with other CAD programs, hack away!

S_Lisp is Freeware. This is a cooperative project. The price of using this program is that you help develop
it and share any improvements to it that you make.

Contributed and written by Jess Stryker.

USE AT YOUR OWN RISK!
No guarantees, no tech support, you're on your own! But the price is right!

To run S_Lisp, you simply load and run S_Lisp.lsp as you would any other Lisp routine. See your CAD system
user manual.

REQUIRED LAYERS

The following layers must also be created before using the program. S_Lisp should create them for you
if they aren't present in your drawing.

L_IRRG_TEXT - All irrigation related text goes on this layer.

L_IRRG_SLVE - Pipe sleeves go on this layer.

L_IRRG_MISC - Most equipment symbols go on this layer.

L_IRRG_MAIN - Mainline goes on this layer.

L_IRRG_LATL - Laterals go on this layer.

L_IRRG_SIZE - Pipe size notations go on this layer.

L_IRRG_HEAD - Sprinkler head symbols go on this layer.

L_IRRG_COVR - The sprinkler coverage arcs are on this layer.

L_IRRG_DRIP - Drip tubes go on this layer.

L_IRRG_3REV - For revision "clouds“ or “bubbles“ and related notations.

L_IRRG_2REV - For revision “clouds“ or “bubbles“ and related notations.

L_IRRG_1REV - For revision “clouds“ or “bubbles“ and related notations.

LEGEND & SYMBOL BLOCKS

The companion sprinkler legend “SprinklerXX.dwg“ must be loaded into the drawing prior to using most of the
S_Lisp commands. “XX“ in the legend name represents the english unit scale the symbols in the legend were created
to be used at. If you use 20 scale symbols in a 30 scale drawing they will be small and hard to read. If you use
them in a 10 scale drawing they will be large and look silly.

Example-- Sprinkler20.dwg is designed for a scale of 1“=20'.
Currently only a 20 scale symbol set is provided. If you modify the legend and symbols for a different scale, please
share your efforts! Send a copy to Jess Stryker attached to an email, and it will be added to the program for everyone's
use.

The legend is important because it contains the blocks used by the commands for sprinkler equipment. If the
legend is not loaded into the drawing, the commands will hang.

COMMANDS

S_Lisp creates the following new commands when you run it. You only need to run it once at the start of each
sprinkler design session.

irroff - Turns off (hides) the irrigation layers. Sets current layer to 0.

irrigationoff - Turns off (hides) the irrigation layers. Sets current layer to 0.

irron - Turns on (displays) the irrigation layers. Sets current layer to L_IRRG_MISC.

irrigationon - Turns on (displays) the irrigation layers. Sets current layer to L_IRRG_MISC.

arcoff - Turns off (hides) the sprinkler head arc patterns.

offarc - Turns off (hides) the sprinkler head arc patterns.

arcon - Turns on (displays) the sprinkler head arc patterns.

onarc - Turns on (displays) the sprinkler head arc patterns.

irrtext - Changes to the L_IRRG_TEXT layer an executes the text command using default text size and
rotation.

main - Changes to the L_IRRG_MAIN layer.

lateral - Changes to the L_IRRG_LATL layer.

sleeve - Changes to the L_IRRG_SLVE layer.

drip - Changes to the L_IRRG_DRIP layer.

The following commands place symbols in the drawing. Point and click to select the symbol location. "Repeating"
means command repeats until you press ESC.

SYMBOL COLLECTION

This is a collection of symbols for use on landscape and irrigation plans.

None yet!

DETAILS

This is a collection of irrigation related installation details. Details are in DXF file format. Please submit
your details for inclusion here!

You agree to use these details at your own risk. By the act of using any of these details you release
everyone but yourself from all liability, of all types, in relationship to use of the detail. You are strongly
urged to review the details and modify them to fit the requirements of your specific project. You alone decide
whether the detail is appropriate for your specific use and situation. This sharing of knowledge and resources
will not work if you act like an idiot and try to blame others for your errors in judgement!