Loads the DEM as a CSV
Picks one in N rows
Draws a contour using svgwrite
Slide 15
Slide 15 text
No content
Slide 16
Slide 16 text
No content
Slide 17
Slide 17 text
2.
3D-printed cities
Slide 18
Slide 18 text
No content
Slide 19
Slide 19 text
No content
Slide 20
Slide 20 text
No content
Slide 21
Slide 21 text
No content
Slide 22
Slide 22 text
(1, 3, 4)
(6, 5, 11)
(3, 7, -2)
Slide 23
Slide 23 text
POINT CLOUD → DIGITAL ELEVATION MAP (DEM)
python-pcl
lastools
Slide 24
Slide 24 text
No content
Slide 25
Slide 25 text
Top surface
Fully sealed 3D model
(with the tile base)
Slide 26
Slide 26 text
No content
Slide 27
Slide 27 text
Loads the DEM
Clips height (top and bottom)
Smooths rough features
Writes out an STL file
Slide 28
Slide 28 text
(1, 3, 4)
(6, 5, 11)
(3, 7, -2)
Slide 29
Slide 29 text
How do you write STL?
struct.pack(
b"
Slide 30
Slide 30 text
Should I have used NumPy? Yes.
Did I use NumPy? Err, no.
Slide 31
Slide 31 text
github.com/andrewgodwin/lidartile
Slide 32
Slide 32 text
No content
Slide 33
Slide 33 text
No content
Slide 34
Slide 34 text
3.
CNC-milled National Parks
Slide 35
Slide 35 text
No content
Slide 36
Slide 36 text
No content
Slide 37
Slide 37 text
Take the US National DEM
Get the outline of the National Park
Use QGIS to cut out a park-only DEM
https://viewer.nationalmap.gov
https://catalog.data.gov/dataset/national-park-boundariesf0a4c
Toolbox > GDAL > Clip By Extent
Slide 38
Slide 38 text
Irregular shapes!
Slide 39
Slide 39 text
No content
Slide 40
Slide 40 text
MAP PROJECTIONS
Slide 41
Slide 41 text
No content
Slide 42
Slide 42 text
Things I Won't Work With
Unicode
Names
Timezones
Currencies
Networks
Addresses
Dioxygen Difluoride
Slide 43
Slide 43 text
Things I Won't Work With
Unicode
Names
Timezones
Currencies
Networks
Addresses
Dioxygen Difluoride
Map Projections
Slide 44
Slide 44 text
No content
Slide 45
Slide 45 text
4.
The Future
Slide 46
Slide 46 text
More US National Parks
I do each one as I visit it. There are… 59.
Slide 47
Slide 47 text
Easier Milling
8 hours per piece. Really.
Slide 48
Slide 48 text
Better STL optimisation
Millions of polygons isn't great.