Print the world

How it works

How a place becomes a model

You frame a place on the globe and, about a second later, you get a solid you can print: an island with a sea that fits around it, or a mountain lifted out of its range. This page shows every step, on real places, with the site's own code.

3D render of the Elba model: the island lifted above its sea piece, which has an island-shaped hole.
Elba, 150 mm wide: the island (peach) lifted out of its sea piece (indigo). Rendered from the actual files the site makes.

How these pictures were made

Every figure here comes from the site's real code running on real elevation data, not from a simplified re-drawing. Five places were used: Elba, the La Maddalena archipelago, Stromboli, Etna and the Matterhorn. Each was sampled at the site's Draft detail (256 × 256 points), so the little squares you see are the same squares the site works with. The exact procedure, every number and every check are in the working notes.

1

Where the heights come from

The heights are measured by public bodies: space agencies, national mapping offices, regions and universities. Some measured them with radar from satellites, others with lasers from aircraft. Print the world reads them through Mapterhorn, an open project that gathers more than 150 of these datasets and serves them as map tiles anyone can use.

Underneath everything is Copernicus GLO-30, a 30 m model of the whole planet made from the German TanDEM-X radar satellites between 2011 and 2015 and released by the European Union and ESA. Where a country or region has published something finer, Mapterhorn uses that instead. Its rule is simple: the finest dataset wins, gaps are filled from the next best, and the seams between them are blended.

Datasets under each of the five frames used on this page
PlaceFinest dataFrom
Elba10 mTINITALY 1.1, Istituto Nazionale di Geofisica e Vulcanologia (INGV)
La Maddalena1 mRegione Autonoma della Sardegna, 2013 survey
Stromboli, Etna2 mRegione Siciliana, ATA 2012–2013 survey
Matterhorn0.5 mswissALTI3D, Federal Office of Topography swisstopo; Regione Autonoma Valle d'Aosta, 2 m
Everywhere30 mCopernicus GLO-30, DLR and Airbus, provided by the EU and ESA

On the site, the panel Where the heights come from lists these sources live for whatever you frame, and every model comes with a credits file naming them.

2

A grid of heights

The frame is a square on the map. The site lays an even grid of points over it, 256 × 256 on Draft, 400 × 400 on Fine, 600 × 600 on Finest, and reads a height in metres for each point. To do that it fetches the map tiles that cover the frame, at the most detailed zoom that keeps the count at 64 tiles or fewer, and reads each point's height from the four nearest tile pixels.

Left: Elba in its 42 km frame. Right: a detail on the coast showing the grid of points, dark above 1 metre, pale at sea.
Elba, framed at 42 km. On Draft the points are 165 m apart; on Finest they would be 70 m apart. The data underneath (TINITALY) is finer still, at 10 m.

A detail that matters. Map tiles at lower zooms are made by averaging, and Mapterhorn rounds heights to whole metres at those zooms (half metres at zoom 12). At the zooms used here, a coastline is therefore drawn from heights that come in steps of 1 m or 0.5 m, right where the 1 m sea-level threshold sits.

3

A softened copy

Real data is noisy: one odd pixel makes a fake islet, a rock cuts a bay in two. So before deciding where the coast goes, the site makes a softened copy of the heights. Each point becomes a weighted average of itself and its neighbours up to two points away; the point itself counts most, and the weights fall off like a bell curve.

The 5 by 5 table of averaging weights, and the same piece of coast at La Maddalena with raw heights giving 11 pieces of land and softened heights giving 5.
Left: the weights, in percent. The centre point counts 16%, the corners 0.3%. Right: the same corner of La Maddalena, cut at 1 m from raw heights (11 separate pieces of land) and from softened heights (5).

The softened copy only decides where the outline goes. The heights that end up in the print are always the real ones.

4

Land or sea, square by square

Four neighbouring points make a little square. On an island, a square counts as land only if all four of its corners are more than 1 m above sea level in the softened copy. Asking for all four corners, not just one, keeps the coastline clean instead of ragged.

A 5 by 5 patch of real softened heights at La Maddalena. Squares are peach where all four corners exceed 1 metre, blue otherwise.
Real numbers from the La Maddalena coast. The right-hand square of the second row has corners at 1.6, 0.7, 4.6 and 2.0 m: one corner is below 1 m, so it stays sea.

5

Cleaning: lakes, crumbs, pinches

Three clean-ups turn a correct map into something a printer can actually make.

Lakes are filled

Any water that doesn't connect to the edge of the frame can't be sea: it's a lake, a salt pan or a hollow. It becomes land, so the island has no holes punched through it.

Before and after: a small patch of enclosed water inside La Maddalena becomes land.
Six squares of enclosed water at La Maddalena, filled.

Crumbs are dropped

Pieces of land smaller than 24 squares, or smaller than 2% of the largest piece, are removed. In plastic they'd be specks that break off or never stick to the bed.

The La Maddalena archipelago. Seven pieces of land are kept; eight small ones, marked in red, are dropped.
La Maddalena: 7 pieces kept, 8 crumbs (311 squares) dropped. Here 2% of the largest piece is 110 squares.

Pinches are cut

When two land squares touch only at a corner, like squares on a chessboard, one of them is removed. Otherwise the file would contain two solids joined at a single point, which slicers reject as broken.

Diagram: two land squares touching at one corner, and the same with one removed.
A diagram, not real data: at Draft detail none of the five places had a pinch to remove.

6

Island or mountain

If some of the frame is sea, the model is an island. If it's all land, there's no coast to cut along, so the site looks for a mountain to lift out.

It finds the highest point near the centre of the frame and tries cutting the land at a height: first low, then higher, one step at a time, until the outline closes around the summit's piece of land without touching the frame. To help it close, the cut rises with distance from the centre of the frame: flat at first, then sloping up, so valleys running out to the edge get sealed off. It tries a gentle slope first and steeper ones only if needed.

Left: the Matterhorn frame with 17 thin outlines that touched the edge and the 18th, thick, that closed. Right: a west to east profile through the summit with three cut levels, flat in the middle and rising outside.
Matterhorn, framed at 11 km. Cuts start at 2,011 m and rise in 54 m steps; the 18th, at 2,929 m, is the first that closes. The dashed circle marks the flat middle of the cut.
3D render of the Etna model: a broad round cone.
Etna closes on the first try, at 233 m: a lone volcano is the easy case.
3D render of the Matterhorn model: a narrow strip with the peak in the middle.
The Matterhorn sits in a range, so the outline only closes high up, and the model comes out as a narrow strip.

If no cut works, you get a plain square tile instead.

7

Making the solid

The kept squares become a closed shape made of triangles:

A true-scale cross-section through the Elba model: a peach profile rising to about 12 millimetres on a 3 millimetre base, between two strips of sea piece.
A slice through the Elba model at true scale. Even stretched three times, a whole island is only 13 mm tall on a 150 mm tile.

How much to stretch

On Auto, the stretch depends on how steep the place is: the highest relief divided by the model's width on the ground. Steep places stay true; flat ones are stretched up to three times. The steps come from the sister project Isole di Pietra.

Step chart of relief stretch against steepness, with the five places marked.
Stromboli (steepness 0.19) prints true; Etna and the Matterhorn get 1.2×; Elba and La Maddalena, flat by comparison, get 3×.

8

The sea piece and the gap

An island model comes with a second file: a flat plate the size of the whole frame and the thickness of the base, with an island-shaped hole through it. Print it in another colour and the island drops in.

To make it fit without forcing, the island's walls are pulled in by 0.11 mm and the hole's edges are pushed out by 0.11 mm, leaving a 0.22 mm gap all round. That's in line with the 0.15–0.2 mm clearance fab labs usually recommend for parts that slot together.

Side view at the coast, drawn to scale: the island wall and the sea piece separated by a 0.22 millimetre gap; grid squares are 0.59 millimetres.
At 150 mm wide one grid square is 0.59 mm, so the gap is about a third of a square. Measured on the real Elba files, the narrowest and the typical gap are both 0.220 mm, and the two pieces never overlap.
3D render of the La Maddalena model: seven islands set into an indigo sea plate.
La Maddalena assembled: seven islands, one sea piece.

9

The check

A printable file has to be sealed, with no gaps and no overlaps. Every triangle edge must be shared by exactly one other triangle. All the files below pass.

The five models at 150 mm, Draft detail, Auto relief, 3 mm base
PlaceShapeReliefTallestTrianglesSealed
Elbaisland + sea3×13.2 mm41,140 + 2,360yes, both
La Maddalenaisland + sea3×8.4 mm78,644 + 5,232yes, both
Stromboliisland + sea1×25.9 mm93,300 + 2,200yes, both
Etnamountain1.2×27.3 mm115,952yes
Matterhornmountain1.2×33.1 mm43,488yes
3D render of the Stromboli model: a steep volcanic cone in its sea piece.
Stromboli at true scale: steep enough that it needs no stretching at all.

10

What it doesn't do yet

Take it with you

The same explanation, in two more formats, and everything needed to check it or build on it. Written by Claude Opus 5.5, prompted by Fabio Venni.

Sources

Data

Further reading