Multi-deck layouts

Stack decks at different elevations — ground, mezzanine, top — using a Decks panel that's separate from layers.

The planner can stack decks at different heights so you can plan a layout with a ground-level loop and an elevated subway, an over-and-under figure-8, or a shelf bench with a return loop on a second tier.

Decks vs. layers

#

Two distinct concepts. They look similar in the inspector but mean different things:

DecksLayers
What it meansPhysical Z height of the pieces.Organisational tag for visibility / colour coding.
How many per pieceExactly one.Zero or many.
Effect on the canvasPieces stack at the deck's elevation in 3D.Toggling a layer hides every piece tagged with it.
Typical namesGround, Mezzanine, Top, Hidden staging.Mainline, Yard, WIP, Scenic, To-do.

Both surfaces are accordions in the inspector's Organise tab. The Decks panel has a mm input next to each row — that's the deck's elevation. The Layers panel has visibility, colour-coding, and multi-membership tags — no elevation field. + New layer asks for the layer's name and colour before making it. Double-click a layer's name to rename it. Click the colour square next to a layer's name to recolour it: pick one of the eight preset colours, or the colour-wheel tile to choose any colour from your system colour picker. With colour coding on, the layer's pieces recolour as you pick.

A single piece can be on the Mezzanine deck and tagged with the Mainline layer. The two are independent.

Working with decks

#

Each layout starts with a single Ground deck at 0 mm. To add a second deck:

  1. Open the Decks accordion in the inspector's Organise tab.
  2. Click + New deck (or New deck in the options bar's deck menu). Give it a name you'll remember ("Mezzanine") and its height above the ground, then Create deck or press Enter. The height starts 100 mm above your highest deck, and the name as the next Deck 2, Deck 3…, so you can keep either.
  3. The new deck becomes the active deck — the orange dot moves to it — so the next piece you place lands at its height.
  4. Click an existing deck row to make it the active deck instead. Double-click a deck's name to rename it.

Editing a deck's elevation moves every piece on that deck in one undo step. So if you start building a Mezzanine deck at 80 mm, then realise you want it at 90 mm, just change the value — the entire deck lifts. Press Ctrl/Cmd+Z to revert both the deck value and every piece's Z in lockstep.

Deleting a deck reassigns its pieces to the layout's first remaining deck (and drops their Z accordingly). The planner refuses to delete the last deck — at least one is always needed for new placements.

Text labels belong to a deck too. A new label is drawn at the active deck's height, moves with its deck when you change the elevation, and moves to the first remaining deck if you delete its own.

Viewing the stack

#

Switch to 3D mode (the 2D / 3D / Split switch at the right of the options bar) to see decks at their real heights. The orthographic 2D mode is still the right place to place pieces — it shows everything top-down regardless of elevation — but only the 3D mode reveals the vertical relationships between decks.

In 3D the grid lies at the active deck's height, so you can see the level new pieces will land on. Make another deck active and the grid moves to it; track on a lower deck shows through it, and track on the active deck or above it hides it. The 2D grid stays on the ground, since height doesn't show from straight above.

Fading and freezing decks

#

Once several decks are stacked, the 2D view gets busy. Two tools keep the deck you're working on readable.

Fading. In 2D, every deck but the active one draws see-through, along with its connector ends, text labels and polarity rails. The active deck stands out on top. Click, drag or right-click a faded piece or label and its deck becomes the active one, so it un-fades and new track lands beside it. Fading is on by default. Turn it off with Fade other decks in 2D in the top-bar deck menu or at the bottom of the Decks panel; the choice is remembered on this device. The 3D view never fades, since there the decks already sit apart at their real heights.

Selecting across decks. A marquee (hold Shift and drag) only picks up pieces on decks drawn solid. With fading on, that's just the active deck, so a stack of decks doesn't get caught all at once. Turn fading off and every deck draws solid, and the marquee picks up pieces on all of them. That's the quick way to clear a whole stretch of the plan that crosses several decks: turn fading off, Shift-drag over the stretch and press Delete. Frozen decks are never picked up, so you can freeze a deck to keep it out of the selection. Clicking and Shift-clicking work on every deck too, and with fading off they leave the active deck as it is.

Freezing. The snowflake at the start of each deck row freezes that deck, as a layer is frozen in AutoCAD. A frozen deck's pieces and labels disappear from the canvas in 2D and 3D, and from the minimap. You can't select, snap to or measure to them, and Select all leaves them out. They're still part of the layout, though: the parts list, stats, validation and the polarity check keep counting them, and new track can't be placed where they sit. Click the snowflake again to thaw the deck.

  • The active deck can't be frozen. Making a frozen deck active (from the Decks panel or the deck menu) thaws it.
  • The deck menu in the options bar shows how many decks are frozen. Picking or adding a deck there leaves the menu open, so you can switch decks and freeze or thaw others in one go. Click outside it or press Escape to close it.
  • Freezing is saved with the layout. It shows on share links and travels in .trackplan files.
  • Freezing isn't an undo step, in the same way as hiding a layer. Undo and redo leave a deck frozen or thawed as it is.
  • Deleting a deck moves its pieces to the first deck that isn't frozen, so they never vanish onto a frozen one.

Cross-deck connections (ramps)

#

The catalogue now ships ramp pieces — straight track that rises along its length. Connector A sits at the lower deck's elevation; connector B is lifted by the piece's rise so it can snap to a piece on a higher deck without any special handling on the user's part.

To use a ramp:

  1. Make sure your decks' elevations agree with a ramp you have in the catalogue. A 50 mm ramp connects decks 50 mm apart; a 30 mm ramp connects decks 30 mm apart.
  2. Switch the active deck to the lower of the two decks you're bridging.
  3. Place the ramp at the edge of the lower deck. Its A end lands at the active deck's elevation; its B end automatically projects 50 mm (or whatever the rise is) above.
  4. Snap a piece from the higher deck to the ramp's B connector — same drag / snap workflow as anywhere else on the layout.

Descending ramps work via rotation: the same piece rotated 180° (with R) descends from B (now at z=0 in placement coords) back down to A. Place the rotated ramp on the upper deck and its (originally-A, now-rotated) end falls to the lower deck.

The Properties accordion on a selected ramp shows length, rise, grade %, and pitch in degrees. Grades over 3% read in orange — a real reference train won't usually pull a long train up that slope, though the planner doesn't block placement.

v1 ships a single proof-of-concept ramp in the Hornby Setrack catalogue (LCDX-RAMP-50, 672 mm long, 50 mm rise, ~7.4% grade). Real-world ramp data (Hornby R658 inclined pier set, Kato riser sets) lands as a follow-up. Curved-rise pieces (helixes) are a separate roadmap item.

Demo pieces are not real products

#

LCDX-RAMP-50 and LCDX-HELIX-R2 are demo pieces — we model them ourselves so multi-deck layouts can be built and validated today, but no manufacturer sells either part. The LCDX- prefix marks a Locodex-authored entry; every real piece carries its manufacturer's own SKU.

The planner flags them in two places: a Demo chip sits beside the SKU on the catalogue card, and selecting one shows a short note in the inspector. They otherwise behave exactly like any other piece — they place, snap, rotate, and validate normally. Just don't treat a shopping list containing one as something you can order; substitute a real incline kit (piers, risers) when you build for real.

Known limitations

#
  • Clearance validation doesn't fully understand ramps yet. A Mezzanine piece sitting directly above the high end of a ramp won't get flagged as a tight-clearance warning, because the ramp's bounding box in the clearance check is currently centred on its lower-deck elevation rather than spanning A→B in Z. Grade-aware validation (the next roadmap item after ramps) closes this gap.
  • 2D top-down view shows ramps as plain straights, identical to a flat piece of the same length. The rise only shows in 3D. A chevron / arrow indicator on the 2D view is a planned polish.

Caveats

#
  • Decks travel in .trackplan files: format v3 made decks a top-level concept and v6 added a deck's frozen state. A file exported now is refused by a planner older than its format (preventing silent data loss). Older .trackplan files still open fine: v2 layer-elevations migrate into derived decks of the same elevation, and files from before v6 open with every deck thawed.
  • Grade validation (warning about steep grades or abrupt transitions) is a separate roadmap item.
  • All elevation is per-deck. Climbing tracks (graded pieces that rise along their length) aren't modeled yet.