ucsd-compfab2

Week 6 example files: terrain and site

Open the .gh files in a Rhino document set to meters. See week 6.

Part 1: surveying a site

File What it does
00_site_from_latlon.gh Paste lat, lon from Google Maps, set a size, set fetch to True: one Python component downloads the USGS 3DEP 1 m elevation grid around that point from OpenTopography (San Diego Supercomputer Center, UC San Diego) and makes a mesh in local meters (site point at 0, 0; Z = elevation). Contour cuts it at any interval. Also downloads a USGS aerial photo (NAIP, about 0.6 m per pixel, public domain) of exactly the same square, colours the mesh with it, and saves it next to the .gh as site_photo_<lat>_<lon>_<size>m.jpg for use as a texture or with Picture. Plus a Google Maps satellite link to the same spot. Needs the internet; uses OpenTopography’s public demo API key (get your own, free, if it stops working).

Part 2 (optional): terrain in Grasshopper. Each of these files carries both terrains below inside it, so it works without opening the .3dm files: the sample is plugged in, and Sun God Lawn is one wire away. You can also plug in the contours from 00_site_from_latlon.gh.

File What it does
01_terrain_from_contours.gh Contours → points → Delaunay mesh. Red triangles are flat: where the mesh guesses between contours. Optional smooth NURBS surface.
02_terrain_sections_slope.gh Vertical site sections laid flat with vertical exaggeration, for plotting. Slope map: flat / walkable (up to 1:12) / steep, with a legend and the share of each.
03_site_model_stacked.gh Stacked laser-cut site model. Interval = material thickness × scale (3.2 mm at 1:1000 = 3.2 m). Layers laid out at true size on 12 × 12 in sheets: CUT outline, ETCH next layer up, labels.

Terrain data

sample_terrain_contours.3dm — synthetic. A made-up gentle lawn, 200 × 200 m, falling about 6 m east to west, with a shallow swale and a low rise; 2 m contours from 116 to 126 m. Not a real place.

campus_contours.3dm — real data, Sun God Lawn, UC San Diego.