Finding open ends and gaps in your layout plan
Expanding
Benjamin | TrackDrawer.com · published 25 November 2026
Open end, gap and closure error: the difference
Three situations look alike, but each needs something different:
- An open end is a connection point with no neighbour. Sometimes that is intended, at the end of a siding or for an extension that comes later. Often it is a forgotten piece, or a turnout route that leads nowhere.
- A gap is an open end lying close to another open end. On the layout the train stalls or derails there.
- A closure error is a gap where the two ends almost line up already: a few millimetres or a few degrees out. You might push it shut, but then the track is under tension.
TrackDrawer draws that line with fixed figures. If two ends lie within 1 mm and 0.5 degrees of each other, that counts as a normal joint: that much a rail joiner absorbs. If they are further apart but within 25 mm and 10 degrees, it is a closure error and you get a notice with the distance and the angle. Further apart still, they are simply two open ends, without a separate notice.
| Distance between two ends | Angle | What TrackDrawer shows |
|---|---|---|
| up to 1 mm | up to 0.5° | joined, no notice |
| up to 25 mm | up to 10° | closure error, red points and a notice |
| more than 25 mm or more than 10° | two orange open ends |
That last row matters: a 3 cm gap gives no closure error, only two open ends. If you only look at the notices, you miss it. So always look at the open end count as well.
What counts as an open end, and what does not
Every track piece has connection points: a straight or a curve has two, an ordinary turnout three. Every connection point without a neighbour is open. A buffer stop end piece has only one connection point, like the 24977 on Märklin C track. That piece closes off a siding neatly and does not count as an open end. A siding that simply stops with a straight piece does. Where a siding makes sense and how to finish it off is covered in sidings and buffer stops.
Watch out for turnouts. If you only use the straight route of a turnout, the diverging route stays open. On a drawn plan you spot that at once; on the baseboard sometimes only when a train takes the wrong route and runs off the end.
How to look for them on a plan
- Count the open ends. A closed oval or a dog bone without sidings has none. With sidings you have exactly as many as there are sidings without a buffer stop. If the number is off, there is a forgotten end somewhere.
- Walk the plan. Follow the track from a fixed point and check at every turnout that both routes arrive somewhere.
- Measure every gap. Under a millimetre it closes in practice. If it is a few millimetres, see your layout will not close. If it is centimetres, a piece is missing or the wrong piece is in place.
- Look for overlap. Two pieces in the same place can hide a gap. A plan can look closed while one piece is laid twice and another is missing elsewhere.
How it works in TrackDrawer
- Orange points. Every open end in the editor has an orange point with a soft halo, so you see it even when zoomed out to the whole plan. The two ends of a closure error turn red.
- The status line. Below the drawing area you see how many open ends your plan has, next to the number of errors and warnings.
- The notices panel. At the top it shows how many free connection points and joints the plan has. Below that, every closure error is listed as "track lies under tension", with millimetres and degrees. Tap a notice and the pieces involved are selected. With no errors you read "Everything lies without tension."
- Two tracks overlap. If two pieces lie on top of each other, you get a separate error for it.
- The tolerance. The table panel holds the tolerance in millimetres and in degrees, 1 mm and 0.5 degrees by default. Raising it makes a gap disappear on screen, but not on the baseboard. Leave it as it is unless your track demonstrably has more play.
Closing a gap with your own track
Select a piece with an open end and tap "Close gap". Then tap the orange point the track should reach. The gap closer only looks at track you still have spare: your stock minus what the plan already uses. From that it builds a row of up to six straight and curved pieces that arrives at the second point within the tolerance. The shortest run wins: first the fewest pieces, then the shortest length. If you have chosen rolling stock with a minimum radius, it uses no tighter curve.
When fixed pieces give no answer, it falls back on a single length of flexible track, provided your stock contains some. With no result at all, a notice tells you that no combination from your stock can close the gap. Look for the cause a few pieces back: there is often a curve of the wrong radius or a straight that is just too short or too long.
If you want a plan that closes from the start, let the Auto-designer lay one out from the track you already have. It checks every proposal for closing and collisions.
From screen to baseboard
A plan that closes on screen does not automatically close on the baseboard. A board that is not flat or a joiner that does not grip still makes a gap. Print the plan 1:1, lay the track loose on the paper and check that every end falls into place before you fix anything down. How that goes step by step is covered in laying track: from plan to baseboard.
Plans in the Railfolio marked "Closes perfectly" have been checked: no open ends and no gaps.
Frequently asked questions
Is an open end always a mistake?
No. A siding without a buffer stop or a connection for a later extension is a deliberate choice. What matters is that you know why each open end is there.
Why do I see a gap but no notice?
Because the two ends are more than 25 mm or more than 10 degrees apart. TrackDrawer then treats them as two separate open ends, not as one closure error. The open end count still shows them.