Tutorial series · 5 parts

3D-printed maps with Python

Turn elevation data and map layers into objects you can hold. The series starts by converting a DEM into a printable STL, then adds a GPS route to the terrain, splits a model into colours for multi-material printers, builds a city model from OpenStreetMap and LiDAR, and finally tiles a large landscape into pieces that fit an ordinary print bed.

Level
Intermediate to Advanced
Parts
5, all published
Reading time
About 44 minutes

Start with part 1: From DEM to 3D-printable STL with Python and NumPy

The parts, in order

  1. Part 1 Intermediate 6 min read

    From DEM to 3D-printable STL with Python and NumPy

    Stream a Copernicus 30 m DEM of the Edale valley, reproject it to British National Grid, scale it to a 150 mm print and write a watertight binary STL using only NumPy, with checks that prove the mesh is printable.

  2. Part 2 Intermediate 9 min read

    Emboss a GPX route on 3D-printed terrain with Python: raised, engraved or two-colour inlay

    Turn a GPX track into a printable terrain model: the Pennine Way from Edale to Crowden, draped on Environment Agency LiDAR, with the route raised, engraved, or printed as a separate colour inlay. Every STL is proved watertight before it is written.

  3. Part 3 Advanced 10 min read

    Multi-colour 3D-printed terrain with Python: one STL per colour for AMS and MMU printers

    Split a 3D-printed model of Yr Wyddfa (Snowdon) into four watertight colour parts (water, woodland, open ground and high ground) from Copernicus GLO-30 and ESA WorldCover, remove specks too small to print, and write STLs and a 3MF for a Bambu Lab AMS or Prusa MMU.

  4. Part 4 Advanced 10 min read

    3D print a city model with Python: OpenStreetMap buildings on Environment Agency LiDAR

    Build a printable model of central Durham from OpenStreetMap footprints and LiDAR heights. Give every building a roof height, or shape the roofs from the surface model, remove detail too thin to print, and prove the city and its two-colour parts are watertight.

  5. Part 5 Advanced 9 min read

    Tiling a large 3D-printed terrain model: jigsaw joints and dowel pins in Python

    Split a 45 × 30 km model of the central Lake District into six interlocking 150 mm tiles from Copernicus GLO-30, with jigsaw knobs and a 0.2 mm printing clearance or straight edges and filament dowels, and prove every tile is watertight and fits its neighbours.

All tutorial series