OpenSCAD train track library

by srepmub, published

OpenSCAD train track library by srepmub Jan 19, 2013

Featured Thing!

9 Share
Download All Files

Thing Apps Enabled

Open in Customizer Order This Printed View All Apps


Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag

Thing Statistics

20894Views 6639Downloads Found in Construction Toys


Parametric OpenSCAD library to generate (BRIO-compatible?) train track parts.
Update 1: modified brick 4 so it better slices.
Update 2: added parametric connector (thing 15165 is too large).
Update 3: improved splitter, add some basic blocks, filter everything through netfabb, use more descriptive names, add some recent photos


Use included STL files, or modify the top and bottom of the OpenSCAD code to suit your needs. So far I only printed three parts myself, so let me know if there are any problems. And if you create an interesting new part using this lib, please send me the code or upload it as a new thing.

More from Construction Toys

view more

All Apps

Customizer is the easiest way to take great 3D printable designs and make them your own. Make your OpenSCAD designs infinitely more valuable by empowering the community to customize them.

App Info Launch App
Customizer Thing App

3D Print your file with 3D Hubs, the world’s largest online marketplace for 3D printing services.

App Info Launch App

Auto-magically prepare your 3D models for 3D printing. A cloud based 3D models Preparing and Healing solution for 3D Printing, MakePrintable provides features for model repairing, wall thickness...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Print through a distributed network of 3D printing enthusiasts from across the US, at a fraction of the cost of the competitors. We want to change the world for the better through technology, an...

App Info Launch App

Quickly Scale, Mirror or Cut your 3D Models

App Info Launch App

3D Print a wide range of designs with Treatstock. Easy to use tools to get the perfect result. The global 3D printing network that connects you with high-quality and fast working print services nea...

App Info Launch App

These are great. So far, I have printed one short straight section and a connector. The connector needed a bit of sanding to fit properly, so I might take a shot at a modified version. Sharing the OpenSCAD files as well as the STLs is fantastic- thank you for that!

I really enjoy printing (and remixing) your excellent library, my 2 years old son thanks you a lot for it. Me too :-))

thanks for the feedback, and the nice remixes!!

This is brilliant!

OMG so cool any chance u can show the hole thing and how big it is

Hi srepmub, This is excellent! Any chance that you could upload the "support" as an STL? Thanks!

Part 4 printed oddly for me, instead of the tracks crossing each other they had large amounts of material around the intersections, blocking the tracks.

thanks again, and sorry for being slow to react. I'm not sure exactly what caused the problem, but I could reproduce it here. after a bit of refactoring of the code for part 4, it now slices and prints fine (slic3r 0.9.8). so I updated the scad file and the stl for part 4, and also uploaded a photo of the printed part.

btw I hope you always check your gcode (for example by using repetierHost) before printing something..?

thanks for mentioning. I'm currently on vacation but was planning to print this part myself when I come back.. which slicer did you use?

You did a phenomenal job on the SCAD files! No shortcuts here: You have every little bevel and detail that the commercial tracks do, constants for everything, and enough functions to make any kind of track!

I had one problem:
I had to change the connector hole to be perfectly round or some of my tracks would not fit. I have a mix of a few different brands of tracks. Thing 15165 didn't fit either until I did this. It all worked out when I removed these 2 lines from module connector():

I also modified brick_6 to support making short curved+straight tracks, which is the holy grail of my track track setup! I'll post a derivative with pictures shortly.


thanks a lot for the compliments and feedback. I'm looking forward to see what you come up with!

Good material! Thanks!

I think there's an error with this thing. I can't find the file for the baby.