THE MOST POPULAR AND RICH SERIES OF GRASSHOPPER SCRIPTS║Vol. 4 — The Landscape Machine
╔══════════════════════════════════════════════════════════════════════════════════╗
║ ║
║ THE MOST POPULAR AND RICH SERIES OF GRASSHOPPER SCRIPTS ║
║ ║
║ Vol. 4 — The Landscape Machine ║
║ Three Site Typologies · Pure Landscape + Civil Engineering ║
║ ║
║ NURBS Terrain · RevSurface Trees · Swept Paths · Water Features ║
║ 3 Inputs · 11 Analysis Outputs · 40 Material Layers · 1,871 Lines ║
║ © 2026 Wickerson Studios — www.wickersonstudios.com ║
║ ║
╚══════════════════════════════════════════════════════════════════════════════════╝
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INSTALLATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Open Rhino → launch Grasshopper
2. Params → Special → C# Script component onto canvas
3. Double-click → Select All → paste .cs file → OK
4. Add exactly 3 inputs and 11 outputs (see Socket Table)
5. Runs immediately with nothing wired
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SOCKET TABLE — 3 INPUTS · 11 OUTPUTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INPUTS
┌──────────┬──────────┬───────────────────────────────────────────────────────┐
│ CFG │ Text │ Key=value overrides — wire a Panel │
│ Bake │ Boolean │ Toggle — flip TRUE to bake to Rhino │
│ SiteType │ Integer │ 0=Suburban 1=Rooftop 2=Rural Homestead │
│ │ │ Wire a Number Slider (integer, range 0-2) │
└──────────┴──────────┴───────────────────────────────────────────────────────┘
OUTPUTS — wire each to a Panel
┌──────────────────────┬──────────┬──────────────────────────────────────────┐
│ Geometry │ DataTree │ 40-branch geometry tree │
│ SiteReport │ Text │ Dimensions, soil, climate, character │
│ PlantingPlan │ Text │ Zone list, species, quantities │
│ StormwaterAnalysis │ Text │ Runoff calcs, detention, volumes │
│ WaterBudget │ Text │ Monthly demand vs capture balance │
│ SunStudy │ Text │ Hours of direct sun per zone per season │
│ SoilAmendment │ Text │ Amendment rates, volumes, costs per zone │
│ MaintenanceSchedule │ Text │ Labour hours per month + annual cost │
│ IrrigationSpec │ Text │ Zone GPH, pipe sizing, controller │
│ CostEstimate │ Text │ Line-item landscape construction cost │
│ ConstructionSchedule │ Text │ Phased installation timeline │
└──────────────────────┴──────────┴──────────────────────────────────────────┘
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THREE SITE TYPOLOGIES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SiteType = 0 — SUBURBAN BACKYARD (60 x 120 ft, 0.25 acre)
─────────────────────────────────────────────────────────────────────────────
NURBS graded terrain surface. Cedar privacy fence (6 ft) + gate. Limestone
patio (pavers with joint detail at LOD 3). Cedar deck with board detail +
rim joist framing. Cedar pergola with post-and-beam structure. Inground
swimming pool with coping, water surface, and shell geometry. Border planting
beds (east, west, rear) with corten edging. RevSurface deciduous shade trees
(Bur Oak + Chinkapin Oak) and ornamental magnolia. Shrub masses. Perennial
drifts. Ornamental grasses. Rain garden (bioswale). Garden shed with gable
roof. Compost + raised vegetable beds. Swept stepping stone path. Garden
lighting (path lights + uplights). Drip irrigation main line + laterals.
Patio furniture (LOD 4).
SiteType = 1 — URBAN ROOFTOP GARDEN (80 x 60 ft, 6-story)
─────────────────────────────────────────────────────────────────────────────
Flat terrain at 62 ft elevation. Parapet on all 4 sides. Waterproof membrane
+ growing medium layer. Composite deck pavers with pedestal grid. Fibreglass
container planters (perimeter + island, varying heights). Sedum mat (extensive
green roof, east zone). RevSurface ornamental trees in large containers
(Dogwood + Cherry). Ornamental grasses + perennials in planters. Steel pergola
with shade structure. Polycarbonate wind screen (central). Small recirculating
water feature. Drip irrigation (pressure-regulated). Path lighting + uplights.
Outdoor dining furniture (LOD 4).
SiteType = 2 — RURAL HOMESTEAD (330 x 660 ft = 5 acres)
─────────────────────────────────────────────────────────────────────────────
NURBS graded terrain over 5 acres. Perimeter post-and-rail fence. Gravel
driveway with culvert. Timber barn (48 x 72 ft, gable roof). Chicken coop.
Tool shed. RevSurface fruit tree orchard (5 rows x 8 trees = 40 trees, 20 ft
spacing). Vegetable field with row furrows (LOD 3). Farm pond (80 x 120 ft,
8 ft deep with berm, water surface, native wetland edge planting). Pasture
paddocks (3 rotational zones). Native windbreak (double row evergreen + hardwood).
Bioswale (E-W across site). Cut flower garden + herb spiral + kitchen garden
raised beds. Site lighting (pole lights at barn and entry). Drip irrigation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GEOMETRY METHODS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BuildTerrain() NURBS surface from 8x12 control point grid with slope
and gentle undulation applied per site type
GrowTree() RevSurface trunk (tapered profile) + RevSurface canopy
(oblate for deciduous, conical for evergreen, oblate for fruit)
with Y-scale to flatten canopy for deciduous species
ShrubMass() RevSurface dome scaled by width/depth ratio
SweptPath() Interpolated curve swept with rectangular cross-section
(1.5 ft wide x 0.15 ft deep stepping stone path)
FenceRun() Post-and-rail geometry from any two XY endpoint pairs
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CFG PARAMETER REFERENCE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
lod=1..5 Detail level [default 3]
siteType=0..2 Overrides slider if wired [default 0]
siteW=60 Site width E-W ft [auto by type]
siteD=120 Site depth N-S ft [auto by type]
gradeSlope=0.02 Site slope (rise/run) [default 2%]
patioW=20 Patio width ft [default 20]
patioD=16 Patio depth ft [default 16]
poolW=12 Pool width ft [default 12]
poolD=24 Pool depth ft [default 24]
deckH=1.0 Deck height ft [default 1.0]
fenceH=6.0 Fence height ft [default 6.0]
rainfallIn=35 Annual rainfall inches [default 35 KC]
soilType=0 0=clay 1=loam 2=sandy loam [default 0]
irrigation=1 0=none 1=drip 2=spray [default 1]
rainwaterTank=0 Cistern capacity gallons [default 0]
QUICK EXAMPLES
"lod=4"
"siteType=0;patioW=24;poolW=15;poolD=30" larger pool + patio
"siteType=1;siteW=100;siteD=70" bigger rooftop
"siteType=2;siteW=440;siteD=880;lod=4" 10-acre homestead
"soilType=1;irrigation=2;rainwaterTank=1500" loam, spray, cistern
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
40 MATERIAL LAYERS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
0 Terrain NURBS 1 Lawn 2 Native Meadow 3 Mulch Bed
4 Bare Soil 5 Patio 6 Path 7 Driveway
8 Timber Deck 9 Bed Edging 10 Tree Deciduous 11 Tree Evergreen
12 Tree Fruit 13 Shrub/Hedge 14 Perennial Mass 15 Ornamental Grass
16 Groundcover 17 Climber/Vine 18 Trellis/Pergola 19 Pond Shell
20 Water Surface 21 Rain Garden 22 Bioswale 23 Cistern
24 Fence/Screen 25 Gate/Arbour 26 Garden Light 27 Irrigation Pipe
28 Compost/Veg Bed 29 Garden Shed 30 Seating/Bench 31 Container Planter
32 Roof Membrane 33 Parapet 34 Wind Screen 35 Barn Structure
36 Orchard Grid 37 Vegetable Field 38 Farm Pond 39 Pasture/Grazing
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LICENCE & SUPPORT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
© 2026 Wickerson Studios. Personal and commercial use. No redistribution.
Website: www.wickersonstudios.com
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE MOST POPULAR AND RICH SERIES OF GRASSHOPPER SCRIPTS · Vol. 4
Wickerson Studios · www.wickersonstudios.com
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━