Flex track

Draw a curve of your own radius instead of picking one out of the box.

Sectional track gives you the radii the manufacturer chose. Flexible track is a length of rail you bend to whatever shape the plan needs — and in the planner you draw that shape directly rather than picking a piece off a list.

Does your track system have it?

#

Flex is a real product with a real part number, so the tool follows the catalogue. If the system you're building in sells flexible track, the Flex Track tool (F) is live in the left rail and a Flex tab appears in the catalogue dock. If it doesn't, the tool sits greyed out and says so on hover.

Two systems carry flex today — Hornby OO Setrack and Jouef HO. More arrive as the catalogue grows; nothing in the app needs to change for them to light up.

Drawing a run, point by point

#

The Flex tool works like the Pen tool in a drawing app.

  1. Press F, or click the flex piece in the catalogue's Flex tab.
  2. Click where the run starts. On an open track end, the run leaves it tangentially — it continues the track you already laid instead of meeting it at an angle. On bare baseboard it picks its own direction from where you click next.
  3. Click to drop points. The rail follows a smooth curve through every point and on out to the pointer, so you see the next bend before you commit it. It leaves the start with the curvature of the track there — dead straight off a straight, at that curve's radius off a sectional curve — and builds up into the bend gradually.
  4. Finish with Enter, Esc or a double-click: the run is laid up to your last point, and the bit following the pointer is dropped. Or click another open track end to close onto it — the run arrives with that end's angle and curvature, so both joints are smooth.

Over an open track end, or over a point you've dropped, the crosshair turns to a plain arrow and that point lights up — a ring round the track end, a point drawn larger with a light ring — so you can see which one the pointer is on before you click.

While you draw, Backspace (or Ctrl+Z) takes back the last point, and a right-click throws the whole drawing away. Once it's laid, one Ctrl+Z takes the whole drawing back off — however many pieces it came to.

The status bar along the bottom of the editor keeps count while you draw: how much rail the shape uses, how many pieces that is, and the tightest radius in it. It sits down there, rather than by the pointer, so nothing covers the track you're drawing or the track beside it; on a wide window it also reminds you of the keys. Because the curve eases in and out, that tightest point is a little tighter than a plain arc to the same spot would be — the price of not kicking the train sideways.

Or in one drag

#

Press where the run starts, drag, and release: the shape solves from the start to the pointer as you go, and is laid when you let go. It's the quickest way to lay a single curve. If you ask for a bend too tight to ease — a hard hook right next to the start — the status bar says Laid as plain arcs, and the run is laid the old way so you can still place it. Esc or a right-click abandons the drag.

Runs longer than one piece

#

A drawn shape is a length of rail, not a piece count. Flex comes in lengths — 914 mm for Jouef, 970 mm for Hornby — so when the rail you're drawing reaches a whole length, the planner cuts it there, just as you would on the bench: a bar across the rail marks the joint, and the next length starts from its end. The cut lands mid-curve with matching angle and curvature on both sides, so the pieces meet with no kink, and the bill of materials counts the real number of packets to buy.

While you're drawing, a length is only cut when you click past it: the pieces behind your last click are laid and stay put, and only the length you're working on follows the pointer. A run that came out as three pieces is three lines on the shopping list, not one impossible 2.5-metre piece of rail.

Laying a whole length and bending it

#

You can also start from a straight length, as it comes out of the packet, and bend it:

  1. Drag the flex piece from the catalogue's Flex tab onto the board. It drops as a straight, full length, snapping onto track like any piece.
  2. Switch to the Select tool (V) and click it. Its ends show as dots.
  3. Click the rail to add a grip there — a + shows under the pointer where one would go. Nothing moves.
  4. Drag the grip to bend the piece.

A grip is a point on the rail, like the place you'd hold it with your fingers, so it keeps its distance along the rail as you drag it: the drag bends the rail more or less round it, and the grip goes to the spot at that distance nearest the pointer — pull it straight out sideways and it comes slightly back towards the end that holds still, because the rail can only reach so far. If the piece has other grips, they stay where they are on the board, so the rail between two grips can get a little longer or shorter, as a real rail slides through a loose hold.

Flex doesn't stretch, so the piece keeps its length as it bends: a free end draws in along the track to pay for the bend, and runs back out if you straighten it again — what a real length of flex does when you push it on the bench. When both ends are free, it's the end further from the grip that moves, since the long side has the rail to give. Pull a grip further than the piece can reach and it stops, with Out of rail in the status bar; lift the grip off again (Delete) and the rail springs back at the same length.

An end that's joined to other track holds — its heading and curvature too — so the bend comes from the other end. With both ends joined there's nothing to give, and the length follows the shape instead, up to one whole length.

Shaping a piece with points

#

Switch to the Select tool (V) and click a flex piece. Dots appear on the rail — one at each end, and one wherever two parts of the piece meet. It works like the pen tool in a drawing app:

  • Drag a dot and the planner threads a smooth curve through all of them. A dot between the ends stays the same distance along the rail and bends the piece at the length it is, as above.
  • Click the rail (or double-click it) to add a dot there. Nothing moves until you drag it.
  • Click a dot to pick it: a direction handle appears. Drag either arm to fix which way the rail runs through that point; a fixed point shows as a square. Double-click the dot to free it again.
  • Alt-click a dot, or pick it and press Delete, to remove it. The ends stay.

Over a dot or a direction handle's arm the pointer turns to a hand, and the one it's on lights up, a little larger with a light ring — so when two dots sit close together you can see which one a press will take. It stays lit while you drag it. An undo or redo that adds or takes away a dot un-picks, so the handle never lands on a different dot.

Moving the whole piece works as for any track: drag it, or turn it with the rotate handle. While it moves, its dots step out of the way, and they come back on the piece where it lands.

One length of flex can hold as many bends as you like — an S, a meander, a curve that tightens then opens out — as long as it all fits in the piece's length. While you drag, the status bar shows how much of the length you're using and the tightest radius anywhere in the shape.

Why the curve eases in

#

A train running off straight track straight into a constant curve takes the whole sideways kick at once. That's where derailments happen. Real railways — and good model track — ease in instead: straight, then a transition curve (an Euler spiral) whose curvature builds up gradually, then the curve.

The planner does that for you. The curve it threads through your dots never jumps in curvature, anywhere, including where the flex meets other track: joined to a straight, it leaves at zero curvature and builds up from there; joined to a sectional curve, it carries that curve's radius on before changing it. A loose end runs out straight, the way a length of flex does when you let go of it.

The one consequence to know: because the curvature is always changing, a shaped flex piece doesn't have a single radius — the inspector reports its tightest point instead.

Dragging the ends

#

Dragging an end dot moves that end: it lets go of whatever it was joined to, and drops onto another open track end to join there — matching that track's angle and curvature as it lands. The other end stays exactly where it was. The piece gets longer or shorter as the end moves, like a length you'd cut to fit — up to one whole length, where the end stops and the status bar says One whole length. Reshaping never adds pieces: a shape that no longer fits one length of flex isn't quietly turned into two.

When a set of points asks for a bend tighter than the planner can thread smoothly — typically a point dragged hard to one side right next to a joint — the preview turns red and the status bar says Too tight to bend smoothly here, and letting go leaves the piece as it was.

Keeping curves wide enough for your trains

#

A beginner's first flex curve is often tighter than their locomotive will go round — and the validator only says so afterwards. So while you draw or bend flex, the planner holds every curve to the minimum radius of the train you're building for: the reference train in the Validation panel, or the strictest of your own trains when you validate against your collection — or the rail's own bend limit, if that's stricter.

Ask for a tighter bend and the end of the run (or the grip you're dragging) stops on the tightest curve allowed, and slides along it as you move the pointer on — wherever the pointer is, close to your last click or far from it. A dashed line runs out to the pointer, and the status bar shows Held at R 360 mm — point at it to see which train that's for. If no curve that wide leads towards the pointer at all (it's tucked in tight behind points clicked close together, say), nothing is drawn past your last click and the dashed line turns red. Closing onto a track end that can only be reached with a tighter curve is refused, since that end can't move. The status bar also shows the radius being held to, Min R 360 mm.

A piece that's already tighter (one laid before, or one joined to tighter sectional track) can still be worked on: it just can't be made any tighter.

"I know what I'm doing"

#

For the rare curve you want tighter on purpose — a hidden siding only a shunter uses, say — tick I know what I'm doing at the right of the status bar. Ticked, curves are free: no minimum radius, not even the rail's own bend limit. The drawing still turns red and the status bar says Tighter than R 360 mm while you draw, and once the track is laid the validation checks flag it just the same. The tick-box turns amber as a reminder, and the planner remembers it on this device. It's off until you tick it.

It frees placement too: with it ticked, flex can be drawn over other track, and any piece can be dropped or moved on top of another (see placing track). What it doesn't change: track only joins track of the same type, and a piece of flex is still only as long as a piece of flex.

Reading a piece back

#

Select a flex piece and the inspector shows what it actually is:

  • Rail used — arc length, not the straight-line distance. A bend eats more rail than the gap it spans.
  • Tightest radius — the sharpest curve in that piece, or straight.
  • Shape — the piece written out, e.g. Smooth curve · 803 mm · 3 points. A piece laid before easing, or one too tight to ease, reads as plain arcs instead, e.g. R 1094 mm · 47.9°.

When the planner pushes back

#

The preview turns red when something is wrong. One of those is a refusal — release and nothing is laid:

  • It would land on track. A run can't be drawn over a piece it isn't joining, or back over its own path: at one level that needs a crossing piece, and track simply can't sit on track. The hint at the bottom of the canvas names which it is. Track on a different deck is fine — that's a bridge, and the clearance check has the say on how much headroom is left. With I know what I'm doing ticked the run is laid anyway, the status bar says what it overlaps, and once it's laid the Validation list flags it as overlapping track.

The other two are advice. The run still lays; you're told what you're accepting:

  • Tighter than the rail takes. Each system publishes a minimum radius for its flexible track; bend past it and the rail kinks rather than curving. Normally you can't get there; with I know what I'm doing ticked, you're warned. This is a property of the rail itself — separate from whether your locomotive will take the curve, which the validation checks answer against the trains you're building for.
  • A join that can't close square. For a small number of awkward angles — two track ends facing each other across a narrow V, say — no pair of arcs both reaches the end and arrives at the right angle. The planner lays the run to the right place and records the angle it missed by, the same way it treats any strained join, rather than refusing to close the loop.

Not yet

#
  • Cutting a piece short. Every flex placement currently budgets a full uncut length. If a run only uses 600 mm of a 970 mm piece, that's one piece bought with the rest as offcut — which is honest, but it means the planner can't yet help you use the offcuts up.
  • Typing exact numbers. You shape a piece by dragging points, not by entering "R 600" into a field.
  • Shaping a whole run at once. Once a drawing is laid, points belong to one piece; a run of several pieces is reshaped piece by piece. Each piece still joins its neighbours smoothly, because its joined ends match their curvature.
  • Refusing a loop that closes inside two pieces. While you draw, each piece of a run is compared with the others, skipping its neighbours because they're joined end to end. A circle tight enough to close within two lengths of flex therefore isn't refused as you draw it — but that needs a radius under about 310 mm in OO, which is already below what the rail bends to, so you'd be warned about the radius. Once it's laid, the Validation list flags it as overlapping track.
  • Bending vertically. Flex is laid flat. Use ramps and helixes to climb.