GREAT WALL OF CHINA — Parametric Grasshopper C# Script New Seven Wonders of the World Series — Wonder #1
═══════════════════════════════════════════════════════════════════
GREAT WALL OF CHINA — Parametric Grasshopper C# Script
New Seven Wonders of the World Series — Wonder #1
© 2026 Wickerson Studios — wickersonstudios.com
═══════════════════════════════════════════════════════════════════
PRODUCT TITLE:
Great Wall of China — Parametric Grasshopper C# Script
TAGLINE:
A 2-kilometre section of humanity's greatest fortification — procedurally generated in clean NURBS Brep geometry with 38 progressive levels of detail, 20 material layers, and one-click Rhino baking. The first entry in our New Seven Wonders series.
SHORT DESCRIPTION:
A single Grasshopper C# Script component that procedurally generates a representative 2-kilometre section of the Great Wall of China (Ming dynasty, Badaling/Mutianyu style). The wall follows a sinusoidal mountain ridgeline with realistic elevation changes, 8 watchtowers with hip roofs, a central gatehouse, 4 signal beacon towers, crenellated parapets with individual merlons, internal rammed-earth core, granite foundations, drainage channels, and a full mountain landscape context. Thirty-eight additive LODs scale from a simple wall massing to individual brick coursing, arrow slits, guard shelters, village garrisons, and distant mountain ranges. Twenty material branches provide clean separation for rendering and game engine export. Zero external plugin dependencies.
═══════════════════════════════════════════════════════════════════
FULL DESCRIPTION
═══════════════════════════════════════════════════════════════════
The Great Wall of China is the largest human construction on Earth, stretching over 21,000 kilometres across northern China's mountains, deserts, and grasslands. Built and rebuilt over 2,000 years by successive dynasties, the iconic stone-and-brick sections most people recognise date from the Ming dynasty (1368–1644 AD).
This script recreates a representative section of the wall at the Badaling/Mutianyu level of construction quality — the best-preserved and most photographed stretches. The wall follows a parametric ridgeline that rises and falls across mountain terrain, with watchtowers at regular intervals and a fortified gatehouse at the centre.
Every dimension is driven through the CFG string: wall height, width, tower spacing, crenellation proportions, number of segments, and more.
═══════════════════════════════════════════════════════════════════
WHAT'S INCLUDED
═══════════════════════════════════════════════════════════════════
• GreatWallChina_GH_Script.cs — Complete C# script (~1100 lines)
• GreatWallChina_README.txt — Quick-start guide, LOD reference, CFG parameters
• This product listing
═══════════════════════════════════════════════════════════════════
GEOMETRY FEATURES BY LOD (38 LEVELS)
═══════════════════════════════════════════════════════════════════
WALL STRUCTURE (LOD 1–3)
1 — Curtain wall massing (16 segments following ridgeline)
2 — Granite foundation courses
3 — Rammed earth core fill
WATCHTOWERS & GATEHOUSE (LOD 4–6)
4 — 8 watchtowers along wall
5 — Hip roofs (glazed tile, 5-course pyramid)
6 — Central gatehouse with arch openings + roof
WALKWAY & PARAPETS (LOD 7–10)
7 — Flagstone walkway surface
8 — Outer parapet wall (defensive/north side)
9 — Inner parapet wall (south side, lower)
10 — Individual crenellations/merlons
SIGNAL & DEFENCE (LOD 11, 21, 29, 35)
11 — Signal beacon towers (4) with fire platforms
21 — Arrow slit loopholes in wall face
29 — Cannon embrasures (late Ming)
35 — Parapet shooting gallery openings
ARCHITECTURAL DETAIL (LOD 12–20)
12 — Watchtower windows (3 levels × 4 faces)
13 — Watchtower crenellations (all 4 sides)
14 — Stairways connecting wall to towers
15 — Drainage scupper channels
16 — Lime mortar joint lines (brick coursing)
17 — Individual brick pattern (header/stretcher)
18 — Watchtower interior floor slabs (3 levels)
19 — Iron gate fittings + door studs
20 — Roof ridge ornaments + corner lip beasts
HIGH DETAIL (LOD 22–28, 36–38)
22 — Watchtower gate arches
23 — Elevated stairway individual treads
27 — Watchtower interior spiral staircases
28 — Guard shelter lean-tos on walkway
36 — Signal flag poles on towers
37 — Cross-bracing timbers in wall core
38 — Gatehouse glazed ridge tiles + chiwen ornaments + drip tiles
LANDSCAPE (LOD 24–26, 30–34)
24 — Mountain ridgeline terrain (both sides)
25 — Mountain valley terrain (broader)
26 — Forest cover (sphere clusters)
30 — River/stream in valley
31 — Village structures (garrison)
32 — Context ground plane
33 — Distant mountain range
34 — Gatehouse inscription plaque + guardian lions
═══════════════════════════════════════════════════════════════════
MATERIAL LAYERS (20 Branches)
═══════════════════════════════════════════════════════════════════
Branch 0 — M_Grey_Brick Primary wall brick facing
Branch 1 — M_Limestone_Block Window/arrow slit surrounds, inscription
Branch 2 — M_Granite_Base Foundations, guardian lions
Branch 3 — M_Rammed_Earth Internal core fill
Branch 4 — M_Glazed_Tile_Roof Tower and gatehouse roofs
Branch 5 — M_Cedar_Timber Roof structure, hoist, shelters, flag poles
Branch 6 — M_Iron_Fitting Gate studs, hinges, hardware
Branch 7 — M_Lime_Mortar Joint lines, brick coursing accents
Branch 8 — M_Flagstone_Path Walkway paving
Branch 9 — M_Parapet_Brick Crenellations, merlons, parapets
Branch 10 — M_Stair_Stone Steps, spiral staircases
Branch 11 — M_Beacon_Fire Signal fire, beacons, flags
Branch 12 — M_Drain_Channel Scupper drains
Branch 13 — M_Gate_Arch Arched openings, gate surrounds
Branch 14 — M_Mountain_Terrain Ridgeline, valley terrain
Branch 15 — M_Forest_Cover Tree canopy masses
Branch 16 — M_Context_Ground Ground plane
Branch 17 — M_Water_River Stream/river
Branch 18 — M_Village_Structure Garrison buildings
Branch 19 — M_Distant_Mountain Background mountain range
═══════════════════════════════════════════════════════════════════
KEY PARAMETRIC CONTROLS (CFG String)
═══════════════════════════════════════════════════════════════════
lod Level of detail (1–38)
wallLen Total wall length (default 2000000mm = 2km)
wallW Wall base width (default 6500mm)
wallTopW Walkway width at top (default 5500mm)
wallH Wall height (default 7800mm)
numSegs Number of wall segments (default 16)
numTowers Number of watchtowers (default 8)
towHX Tower half-width X (default 6000mm)
towHY Tower half-width Y (default 5000mm)
towH Tower height (default 12000mm)
towRoofH Tower roof height (default 3500mm)
numBeacons Number of beacon towers (default 4)
beaconR Beacon tower radius (default 3500mm)
beaconH Beacon tower height (default 10000mm)
gateHX Gatehouse half-width X (default 8000mm)
gateHY Gatehouse half-width Y (default 7000mm)
gateH Gatehouse height (default 14000mm)
gateArchH Gate arch height (default 5000mm)
gateArchW Gate arch width (default 4000mm)
parH Parapet height (default 1800mm)
crenW Merlon width (default 600mm)
crenGap Embrasure width (default 500mm)
crenH Merlon height (default 900mm)
segs Cylinder segments (default 24)
tol Boolean tolerance (default 0.1)
Example CFG: "lod=15;numTowers=12;wallLen=3000000;wallH=9000"
═══════════════════════════════════════════════════════════════════
WHAT MAKES THIS SCRIPT UNIQUE
═══════════════════════════════════════════════════════════════════
• Ridgeline elevation system — wall follows a parametric mountain ridge with sinusoidal elevation changes and deterministic noise, creating the iconic climbing/descending silhouette
• 8 watchtowers with full hip roofs — individually generated at each tower position with glazed tile roofing, interior floors, spiral staircases, and crenellated parapets
• Individual crenellations — every merlon individually placed along the full 2km wall length
• Multi-layer wall construction — granite foundation + rammed earth core + grey brick facing, showing authentic Ming construction methods
• Complete military infrastructure — signal beacons with fire platforms, cannon embrasures, arrow slits, guard shelters, and garrison villages
• Mountain landscape context — ridgeline terrain, forested slopes, river valleys, village structures, and distant mountain backdrop
═══════════════════════════════════════════════════════════════════
SERIES CONTEXT
═══════════════════════════════════════════════════════════════════
New Seven Wonders of the World — Parametric Grasshopper C# Scripts:
#1 Great Wall of China ✓ ← THIS SCRIPT
#2 Petra (coming soon)
#3 Christ the Redeemer (coming soon)
#4 Machu Picchu (coming soon)
#5 Chichen Itza (coming soon)
#6 Roman Colosseum (coming soon)
#7 Taj Mahal (coming soon)
Also available: Seven Wonders of the Ancient World (complete set of 7)
═══════════════════════════════════════════════════════════════════
COMPATIBILITY
═══════════════════════════════════════════════════════════════════
• Rhino 6 (.NET 4.5), Rhino 7 (.NET 4.8), Rhino 8 (.NET 4.8)
• Grasshopper built-in C# Script component
• Zero external plugin dependencies — All units: millimetres — Pure NURBS Brep
═══════════════════════════════════════════════════════════════════
SUPPORT
═══════════════════════════════════════════════════════════════════
Questions or issues? Contact us at wickersonstudios.com.
© 2026 Wickerson Studios. All rights reserved.