IRRLINE – Irrigation Line Parallel to a Plot Border (Free AutoCAD LISP)

11th August 2026

FREE AUTOCAD LISP

IRRLINE — the irrigation line that follows your plot border, curves included

Select the plot, pick where the line starts and ends, type the offset — and IRRLINE draws the sub-main or lateral parallel to the plot border, following straight runs and curves alike.

Select two touching plots and they merge automatically: the line follows the outer border and ignores the shared edge, so start in one polygon and end in the other. Before accepting, F flips the direction around the border and S switches the side between inside and outside.

IRRLINE free AutoCAD LISP drawing an irrigation line parallel to a plot border

How to use it

  1. Unzip, then load the .lsp with APPLOAD.
  2. Type IRRLINE.
  3. Select the plot polygon – or two that share an edge.
  4. Pick the START and END points, type the offset distance (the last one is remembered).
  5. F to flip, S to switch inside/outside, Enter to accept.

Good to know

Works on Closed polylines – one plot, or two touching plots merged to their outer border
Follows Straight runs AND curved border segments, at a true parallel offset
Options F = flip direction, S = inside/outside, offset distance remembered between runs
Output A polyline on your current layer; the length is reported when done
Command IRRLINE

Take it further — measure and split areas automatically

Divide Area for AutoCAD - product boxDivide Area add-on slicing an AutoCAD shape into equal strips

Divide Area
Split any closed shape into pieces of equal area – by number, by distance, a set area or a free cut.

See Divide Area — $21.90

Area Measure for AutoCAD - product boxArea Measure add-on numbering AutoCAD polygons and inserting a totalled area table

Area Measure
Measure closed shapes in any unit, number them, and get a totalled area table – annotative text supported.

See Area Measure — $21.90

Voronoi Generator for AutoCAD - product boxVoronoi Generator filling a closed AutoCAD polyline with organic cells

Voronoi Generator
Fill any closed polyline with Voronoi cells – exact spacing, edge distance and rounding, live preview.

See Voronoi Generator — $24.90

This tool is part of our free AutoCAD LISP collection — 20+ routines, all free, all tested on real projects.