Here are some more advanced ideas for LEGO train layouts, while still keeping consistent with the restrictions of track geometry. While none of these ideas are original to myself (with the possible exception of the yard at the bottom), I hope this explanation will inform and inspire you to build better and hassle-free LEGO layouts.
New as of Jan 7 2008: this page is now available in Italian courtesy of ITLUG, the Italian LEGO® Users Group. You can see the Italian translation on the ITLUG Web site. (EDIT 9/15/2008: updated URL)
Note: This page was originally written several years before LEGO switched from powered 9V track to all-plastic track with battery trains. If you are using the all-plastic track you can ignore considerations of short circuits (see the Wye oh Wye? section). Also, the Flex Track piece is not included in this discussion; that makes some track shapes easier to achieve, though trains are more likely to derail on Flex Track than normal track that is assembled according to the principles on this page. The all-plastic Double Crossover track is also not included.
- Changing Two Curves To a Straight
- Wye oh Wye?
- 22½° Diagonal Track
- 45° Diagonal Track
- Diagonal Track with Switches
- The Big Yard
- Track Designer files
LEGO track geometry is very limiting. There are only a handful of available pieces. From left to right, these are: straight, curve, left switch (or point), right switch, and cross track (There is also the newer Flex Track piece, but it is not covered by this document):
Each straight track piece is 16 studs long and 8 wide. The curved pieces produce a 22½° bend, so that 4 of them make a 90° turn. The switches have a different kind of curve in them, and they are meant to be used in conjunction with a curved track to produce parallel tracks. Here are some of the basic track concepts that are valid with LEGO track. Each one preserves perfect alignment with the studs on the large grey baseplate (48×48 studs).
Straight track can go anywhere. But in order for the alignment of tracks to be maintained consistently through curves and switches, it is necessary to adopt some standards. The standard that works best is:
- Adjacent parallel tracks have a pitch of multiples of 16 studs; or put another way, 8 studs between tracks.
This is dictated by the geometry of the LEGO track switch, which creates parallel tracks of this pitch.
- On a 48×48 baseplate, tracks may run down the center of the baseplate or 4 studs in from either edge. This is for symmetry and in order to preserve the previous rule.
- On a 32×32 baseplate, tracks may only run 4 studs in from either edge.
- Horizontal and vertical track segments must begin and end on a baseplate boundary, except for dead-end spurs.
If you follow these rules, you will never have trouble getting your layout to line up.
On first glance you may think this is too limiting, because the following restrictions would seem to be implied by the above rules:
- All curves must be 90°, consisting of 4 curve pieces.
- All switches must have a curve piece on the “spur” end to make the track parallel to the “main” line.
However, there are some additional things you can do with LEGO track geometry that do not violate our rules. This is because in the real world, there is a little bit of slack in the connections, and the studs can still be made to line up with certain alternate configurations.
A crossover is where you have two parallel tracks with a line connecting them. The standard way is to take the switch geometry described above, and create a crossover where the two switches line up with a pair of curved tracks in between. But look at the right hand crossover: it also lines up, only instead of the two curves there is a single straight piece:
How does this work? Well, it turns out that 2 curved track pieces, when positioned at 22½° from horizontal, have the same amount of vertical distance between start and end as a single straight at that angle. Also, the horizontal distance is almost exactly double that of a straight.
But what if you put nothing in between? Then the tracks don’t line up right:
DON’T DO THIS. The areas circled in red are not lined up properly. If you want these tracks to line up elsewhere on your layout you will run into problems. Just add a straight or two curves (or two curves and several straights, to make a parallel track in between). Remember, a switch is NOT the same as a curve!
It’s not just crossovers that let you replace two curves with a straight. Here are some other situations where this trick can help avoid unnecessary zigzagging of your trains.
A standard "S" curve (left) is made with eight curves. But replace the two middle curves with a straight (right) for a smoother shape that uses less space.
A branch line coming off a switch can be given a gentler curve, and take up less real estate, with the same technique.
You can loop back on yourself by replacing 2 curves with a straight.
A crossover requires extra space between the parallel tracks. Here’s one way, using both types of "S" curves,
A wye (named for the letter Y) is one of the most common ways for trains to turn around, and it allows you to connect the loops of your layout in different ways for interesting variations.
Caution: a wye made of powered LEGO (or any DC model train) track will have a short circuit! You will need to electrically isolate the track segments in at least one spot in order to make it work. You can do this by inserting paper between the track pieces before connecting them, and then cutting away the excess. Of course, if you are using plastic track that consideration does not apply.
The wye on the left uses standard LEGO geometry, with 4 curved tracks in each 90° turn. In the one on the right, the double curves (3 sets of them) are replaced by straights. This shrinks the size and produces more reasonable curves.
Another convenient coincidence that comes in handy when designing layouts involves a straight track running at a 22½° angle. If you use 12 straight tracks with a curve at either end, you can still line up your track at both ends while having a more unusual track angle.
This works because of the magic of Pythagorean triples. Like the well-known 3-4-5 triangle, you can make a perfect right triangle using dimensions of 5, 12, and 13. In such a case, the angle is 22.62°, which is close enough to 22½ that it works. Thanks to Jason Railton for pointing this out. But why is it 12, and not 13, you ask? Remember above where you can replace 2 curves with a straight? The 13th straight is replaced by the curves at either end of the 12. Note that a horizontal track of 12 units will line up nicely with the end of the diagonal track.
This trick only works if the begin and end of the turn are parallel. If you want to have the begin and end be perpendicular, you need an extra straight. Here’s why:
There are no Pythagorean triples that produce anything close enough to a 45° angle, but we can use math to derive a result anyway. Trigonometry tells us that the distance traveled horizontally or vertically for each unit of diagonal movement is the sine of 45° (or cosine if you prefer; they’re equal for a 45° angle), or 0.7071. This is also half of the square root of 2 (1.4142). So we need a number that, when multiplied by 0.7071, produces something close enough to an integer that it will work with LEGO track.
The best choice is 17 straights, but you should be able make 10 work also.
Thanks to Larry Pieniazek, David Koudys, and Jeff Van Winden for their postings in a thread about this topic on LUGNET.
Note: this requires that the beginning and end be perpendicular to line up properly. If you need the beginning and end to be parallel, add a right angle turn (four curves) to the above. You can simplify it by replacing two of the curves with a straight, but you will still need to go the “wrong way” with one curve track in order for it to line up:
You can add a switch and curve to each end, or replace the two resulting curves with a straight, just like we did in the earlier crossover:
The result is a pair of switches separated by 14 straights. Put several of these together, and you have a switching yard:
We can also do the same thing with a 45° track:
Here is a big switching yard that uses several of the ideas shown here:
You can also find more ideas by Tim Strutt at his Brickshelf folder.
If you have the Track Designer program on your PC, here are the files for each of these examples (minus the text and arrows and such):