How to turn LiDAR into a 3D-printable STL
LiDAR shows the ground in fine detail: riverbanks, terraces, quarries, old earthworks. TerraPrinter uses it in two ways. It fetches LiDAR terrain by itself where a national survey publishes it, and it turns your own LAS or LAZ point cloud into terrain, right in your browser.
LiDAR the app already uses
For small models, TerraPrinter fetches laser-scanned, bare-earth terrain from these surveys, with no file needed:
- United States: the USGS 3D Elevation Program (3DEP), wherever it has LiDAR.
- Canada: NRCan's HRDEM, where it has been flown.
- Germany: North Rhine-Westphalia, Hesse, Lower Saxony, Mecklenburg-Western Pomerania, Brandenburg and Berlin, Saxony-Anhalt, Saxony, Bavaria and Rhineland-Palatinate.
- Elsewhere in Europe: the Netherlands (AHN), Flanders, England, France (IGN), Switzerland (swissALTI3D), Norway and Czechia.
Bare earth means the buildings and trees have been taken out, so the ground is clean. Buildings and trees then come from OpenStreetMap, on top.
In most other countries (not China, Russia, Mongolia, India, Greenland or Antarctica), small models use GEM-15 instead: a 15 m bare-earth model made from satellite images. It is not LiDAR, and the app calls it Satellite terrain.
When it is used
LiDAR is used when the model is small enough for its detail to show: when one point of the printed surface covers less than 20 m of ground. On a 200 mm print that means areas up to about 8 km across, and on a 100 mm print about 4.4 km.
The chip at the bottom of the map tells you before you build. Laser terrain 2 m means LiDAR on a 2 m grid. Click the chip to see how big the area can grow and keep it. After you build, the Terrain chip in the model window names the survey, such as LiDAR (USGS), 2 m grid.
LiDAR is not used for Large project tiles, which keep one elevation source so their edges match, or with Flat model on.
Try it: build Nob Hill in San Francisco on LiDAR ground.
1. Load your own point cloud
Where the app has no LiDAR, or you have a newer or sharper scan, load your own. Free LAZ downloads come from the USGS, OpenTopography and many national mapping agencies, and drone surveys export LAS or LAZ.
In TerraPrinter, open step 3, Features, click Your own elevation data under Terrain, then Load elevation files. Or drop the files on the map. Pick several tiles at once if your area spans them.
A window, Make a grid from your point cloud, shows how many points there are and asks two things. Your answer is used for every file you picked together.
- Keep: Bare ground, the land itself without buildings and trees, or Everything, with roofs and tree tops as part of the surface.
- Grid size: Automatic picks a size from how dense the points are, between 0.5 and 5 m. Or choose 0.5, 1, 2 or 5 m. Finer grids show more detail but take longer.
Click Make the grid. The points are turned into a height grid in your browser. Only the grid is kept, on this device, and nothing is uploaded.
2. How the points become ground
- Bare ground averages the points classed as ground and water. If the file has no ground class, the lowest point in each spot is used, and the row says so.
- Everything keeps the highest point in each spot, so roofs and tree tops form the surface.
- Points classed as noise, and withheld points, are always left out. Single spikes far above or below their neighbours, such as birds or wires, are removed.
- Gaps up to about 60 m across, such as under buildings in a bare-ground grid, are filled from the ground around them.
With Everything, the map's own buildings and trees would print on top of the scanned ones. Click Turn off the map's buildings and trees in the row; it appears while they are on.
Point cloud limits
- LAS versions 1.0 to 1.4 with point formats 0 to 10, and LAZ.
- A LAZ file can be up to 1.5 GB. Split bigger ones into tiles, or save them as LAS, which is read in pieces.
- Each file becomes a grid of at most 16 million cells. For a very large cloud, the grid size grows to fit.
- The map grid is read from the file. UTM zones and common national grids are built in, and others work when the file describes them in full. If the app can't place a cloud on the map, or it uses the old NAD27 datum, reproject it to UTM (for example with PDAL, LAStools or CloudCompare) and load it again.
- Heights in feet or US survey feet are read from the file when it says. You can change the unit in the row.
3. Generate and check
Press Generate 3D Model. The Terrain chip in the model window shows Your own elevation data and its grid size, and the row says how much of the model your data shaped. Outside the scan, the model eases into the normal elevation over about 120 m.
If the scan's heights sit well above or below the map's, which happens with GPS heights from a drone, the row says so. Tick Match its heights to the map and generate again. More on map grids and height references is in GeoTIFF and DEM to STL.
Getting the detail onto the print
LiDAR has more detail than a print can hold. On a 200 mm print, the printed surface has about 400 points along the longer side of the area, so 1 m data shows in full only on areas up to about 400 m across. A 2 km area prints in steps of about 5 m, which is still much crisper than 30 m data.
- Pick a tight area: a quarry, a hill fort, a golf course, a bend in a river.
- Keep Vertical exaggeration low, 1–1.5×, on steep ground. Raise it on flat land, where banks and terraces are only a metre or two high; see choosing vertical exaggeration.
- Print with thin layers, 0.12–0.16 mm, so low banks don't vanish into the layer steps; see print settings for terrain models.