Europe

3D print the Bex–Villars–Bretaye railway

The Bex–Villars–Bretaye railway from Bex to Col de Bretaye on one print: a 7.1 by 9.3 km terrain relief with the 16.6 km (10.3 mi) line added as a route, from 411 m up to 1,808 m.

Print this line Free, in your browser. Exports a slicer-ready 3MF.
Shaded relief around the Bex–Villars–Bretaye railway with the line drawn over it, north at the top
16.6 km of line · up to 1,808 m The line as OpenStreetMap maps it, over the terrain the print is made of. Dashes are tunnels. © OpenStreetMap contributors
Opened
1898
Wikidata
Length
17.1 km (10.6 mi)
Wikidata
Gauge
1000 mm track gauge
Wikidata
Highest point
1,810 m (5,938 ft)
Wikipedia
Mapped length
16.6 km (10.3 mi)
OpenStreetMap
Elevation range
411 to 1,808 m (1,348 to 5,932 ft)
Elevation data
Total climb
1,400 m (4,593 ft)
Elevation data
In tunnels
0.3 km (0.2 mi)
OpenStreetMap

Facts marked Wikidata or Wikipedia are from the line's Wikidata item and English Wikipedia article. The mapped length and tunnels are measured along the OpenStreetMap line (2026-11-22); the elevation range and climb are read from the elevation data the generator prints from, with tunnels and bridges spanned in a straight line, so they can differ from the railway's own figures. The mapped line measures 16.6 km, 3% less than the published 17.1 km. Its highest point in the elevation data is 1,808 m, against 1,810 m published.

Along the line

Elevation profile

Bex16.6 km (10.3 mi)Col de Bretaye 411 m (1,348 ft) – 1,808 m (5,932 ft) Heights from the elevation data the print is made of, with tunnels and bridges spanned in a straight line.

On the print

7.1 by 9.3 km, on a 160 mm print

Terrain mode with the line on it
The print opens in Terrain mode on a 7.1 by 9.3 km rectangle around the line, and the track is added as a route, so it prints as its own part on the terrain with its own color. Change the color or the line in the generator, or print the whole map in one filament.
Tunnels, bridges and stations
The route leaves out the tunnels, so the line stops at each portal and picks up again on the far side. Bridges, viaducts, stations and the track bed are not modeled; the route lies on the terrain.
Height on the print
The 1,397 m of relief along the line stands about 24 mm tall on a 160 mm print, at true scale. Raise the height in the generator for steeper slopes.

Common questions

Is the Bex–Villars–Bretaye railway 3D print free?

Yes. The generator runs in your browser and exports a 3MF file you can open in any common slicer. There is no account or payment.

Does the print show the whole line?

Yes. It opens on a 7.1 by 9.3 km rectangle around the 16.6 km (10.3 mi) line from Bex to Col de Bretaye, so the whole route fits with the land around it.

Is the track on the print?

Yes, as a route: the line from OpenStreetMap prints as its own part on the terrain. Tunnels are left out of it. Stations, bridges and the track bed are not modeled.

Can I get an STL instead of a 3MF?

The generator exports 3MF, which keeps each color as its own part. Any slicer can open it and save an STL if you need one.

Sources: Wikipedia: Bex–Villars–Bretaye railway, Wikidata: Bex–Villars–Bretaye railway, OpenStreetMap: Bex–Villars–Bretaye railway, Elevation: Mapterhorn, Official website

Nearby

More railways near the Bex–Villars–Bretaye railway

All 95 railways

Map data © OpenStreetMap contributors, Overture Maps; elevation Mapterhorn and Mapzen · Credits