Track libraries
- Gratuit
- En cours
How the planner delivers track systems as versioned libraries, and how to manage them on the desktop app.
Every track system in the planner — Hornby OO, Kato Unitrack, Märklin C-Track, and the rest — is delivered as its own versioned library, fetched from Locodex's servers rather than baked into the app.
This has two upsides. When we correct a piece's geometry or add a new system, the change reaches you without waiting for an app update. And updates are deltas: only the libraries that actually changed are re-downloaded, never the whole catalogue.
What's in the catalogue
#Track systems are listed by scale, then by brand, with each of a brand's ranges under its name: that's how the catalogue at the bottom of the editor and the Track Libraries manager show them.
HO
#- Atlas: Code 83, Code 100, True-Track
- Bachmann: E-Z Track
- Fleischmann: Modellgleis, Profi-Gleis
- Frateschi: HO track
- Jouef: Modern track, Vintage code 100
- Kato: Unitrack
- Life-Like: Power-Loc
- Lionel: MagLock FasTrack
- Märklin: C-Track, K-Track, M-Track, Modellgleis
- Mehano: HO track
- Micro Engineering: Code 70, Code 83
- Peco: Code 70, Code 83, Setrack, Streamline code 75, Streamline code 100
- Piko: A-Track, A-Track with roadbed
- Roco: Code 100, geoLine, Line code 83
- Tillig: Elite code 83, Luna tram track
- Walthers: DCC-Friendly code 70, code 83 and code 100, Power-Loc, Shinohara code 83 and code 100
- Weinert: mein Gleis
OO
#- Hornby: Dublo 2-rail (no longer sold), Setrack
- Peco: Bullhead code 75, Setrack, Streamline code 75, Streamline code 100
Peco sells Setrack and Streamline as OO/HO, so they appear under both scales, with the same pieces.
N
#- Arnold: N track
- Atlas: Code 55, Code 80, True-Track
- Bachmann: E-Z Track
- British Finescale: Finetrax code 40
- Fleischmann: piccolo, N track (Roco era)
- Ibertren: N track
- Kato: Unitrack, Unitrack turntables, Unitram
- Life-Like: Power-Loc
- Micro Engineering: Code 55, Code 70
- Peco: Setrack, Streamline code 55, Streamline code 80
- Tomix: Fine Track
- Trix: Minitrix, Minitrix code 60
- Walthers: Shinohara code 70
TT
#- BTTB: Standardgleis
- Gaugemaster: TT track
- Hornby: TT track
- Kühn: TT track
- Peco: Code 55
- Roco: TT track
- Tillig: Bettungsgleis, Modellgleis
- Zeuke: Standardgleis
Hornby, Peco and Tillig Modellgleis join each other with ordinary joiners. Roco took over Kühn's TT track in 2023 and Gaugemaster sells the same pieces, so those three join each other; their lower rail meets Hornby, Peco and Tillig only through stepped joiners, which the planner doesn't model yet. Zeuke's and BTTB's Standardgleis is one track made by both.
Z
#- Atlas: Code 55
- Märklin: mini-club
- Micro-Trains Line: Micro-Track
- Peco: Streamline code 60
- Rokuhan: Z track
- Weichen-Walter: Turnouts for mini-club
Weichen-Walter builds its turnouts to Märklin's geometry, so they join mini-club track.
O
#- Atlas: 2-rail, 2-rail (1970s), 21st Century 3-rail, Industrial Rail
- ETS: O track, Tram track
- GarGraves: Sectional track
- Lehnhardt: Tram track
- Lenz: O track
- Lionel: FasTrack, O tubular, O-27 tubular, Super O
- Marx: O27 and O34 track
- MTH: RealTrax
- Peco: Bullhead, Code 143 flat-bottom, Setrack
- Ross Custom Switches: 3-rail track
Three-rail ranges (Atlas 21st Century and Industrial Rail, GarGraves, Lionel, Marx, MTH and Ross) join only track with the same rail and pins: Marx joins Lionel O-27 tubular, and Ross joins GarGraves. The others meet through transition pieces in real life, and stay apart in the planner.
G
#- Aristo-Craft: G track
- Bachmann: Brass track, Steel track
- LGB: G track
- Micro Engineering: Code 250, Code 332
- Peco: G45
- Piko: G track
- USA Trains: G track
The code 332 ranges (LGB, Piko, Aristo-Craft, USA Trains, Bachmann brass and Micro Engineering code 332) join each other, and so do the code 250 ones (Peco G45 and Micro Engineering code 250). Bachmann's steel track stays on its own.
Most of these ranges come from XTrkCAD's own library of track definitions. Where its files list two different pieces under one product number, or several with no number at all, each gets a number of its own. That's the maker's number where it has one: Kato N's 3-stall roundhouse, which XTrkCAD files under the R150 turnout's 20-240, is 23-240, Bachmann HO's 45° crossing, filed under the 60° one's number, is 44543, and vintage Jouef's R385 and R325 turnouts take Jouef's 1961 numbers. A piece only sold inside a set or kit takes the set's number and what it is: Kato N's 90° crossing without its two 45.5 mm straights is 20-320 (w/o S45.5), Märklin K-Track's turntable dummy track is 7287 (dummy), and the right-hand turnout built from a Tillig Flexsteg kit is the kit's number plus (right), as in 85451 (right). Ranges with bare rail that take the same standard rail joiners snap together when their rail code matches (see Placing track). Dimensions such as rail height and roadbed width are typical figures for each scale, so check a range against its maker's published figures before you rely on clearance checks or a 1:1 print.
On the web
#On the web app there's nothing to manage. The planner keeps the libraries on your device, so a layout opens straight away and the editor keeps working offline. While you work, it checks for updates in the background and downloads only the libraries that changed; an update takes effect the next time you open a layout. If a plan uses pieces this device doesn't have yet, the planner waits for them to download before it opens, so nothing is missing. You never see a download step.
On the desktop app
#The desktop app puts you in control with a Track Libraries manager, reached from Preferences → Track libraries. Track systems are listed by scale, and within each scale by brand, with each of the brand's ranges under its name. Each one shows its current state:
- Installed — cached on this device and up to date.
- Update — a newer version is available; the system keeps working on the version you have until you choose to update.
- Install — available to add to this device.
You can install a system you want, update one when you're ready (individually, or all at once with Update all), and remove any you don't use. Updates are never applied silently — the catalogue only changes when you ask it to, so a layout you're mid-build on never shifts underfoot. When updates are waiting, Preferences shows a small count next to Track libraries so you know without opening the manager.
Libraries you've installed stay available offline. If you're offline when you open the manager, it shows what's already on the device — you can still remove libraries, and updates resume the next time you're connected.
When a plan uses a library this device doesn't have
#If you open a plan whose track library isn't on this device yet (or you removed it in the desktop app), the pieces from that library can't be drawn. They aren't lost: the planner keeps them exactly as they are, saves them with the plan whenever you edit it, and shows a banner saying how many aren't shown. Reload with a connection, or install the library on the desktop app, and they come back.
Discontinued pieces
#When a manufacturer discontinues a piece, or a library update drops it, the piece is retired, never removed. A retired piece stays in the catalogue at the bottom of the editor with a Not sold tag: you can't buy it new, but if you own it (an old Jouef range, say) you can keep planning with it. Every plan that already uses it keeps it: it stays on the board, in the parts list and in your .trackplan files, and those files still open. Tomix's wooden-sleeper viaducts (1071, 1072, 1075, 1076 and 1171 to 1174) are retired this way: Tomix replaced them in 2015 with the PC-sleeper viaducts of the same track that sit beside them (1821, 1822, 1825, 1826 and 1871 to 1874). A whole range can go the same way: Hornby Dublo 2-rail isn't made any more, so all 39 of its pieces carry the tag, and you can still plan with Dublo track you own.
Pieces given their real number
#Some pieces come from XTrkCAD's files under a wrong number, or none. When that's found, the piece is renumbered: the catalogue and the parts list show its real number, it stays in every plan that uses it, and a .trackplan file that names the old number still opens. So far:
- Bachmann E-Z Track, HO: the 60° crossing, filed as 476, is 44542, and the 90° crossing, filed as 44541/44411 (44411 is a 9" straight), is 44541/44441, with or without its extension pieces.
- Bachmann E-Z Track, N: the 30" straight, filed with no number, is 44887.
- GarGraves: the right-hand 100" switch, filed as 102-RH, is 103-RH (103 and 104 are the right- and left-hand switches in tinplate).
- Kato Unitrack, N: the double-track feeder, filed as 20.043, is 20-043.
- Kato Unitram: the pieces take the numbers Kato sells them under: 40-014 and 40-024 for the 186 mm and 124 mm straights, 40-103 and 40-104 for the R180 curves (left and right), and 40-212 and 40-213 for the R180 turnouts (left and right).
Some pieces come from XTrkCAD's files under each other's numbers. Each now carries its own, and a plan that uses one keeps it as placed:
- Kato Unitrack, N: the R150 compact turnouts. The right-hand one, filed as 20-240, is 20-241, and the left-hand one is 20-240, as Kato sells them.
- Jouef track: Hornby's standard points. The left-hand point is R8072 and the right-hand one R8073, as Hornby sells them (Hornby's own Setrack had them right).
- Tomix Fine Track: the curved points 1278 and 1279, which the file draws the other way round. 1278 is now the right-hand N-CPR and 1279 the left-hand N-CPL.
A .trackplan file saved before this names the Kato or Jouef turnout by its old number, so it opens with the other hand there: swap it back in the editor.
Pieces filed as what they are
#Each piece sits in the catalogue under what it is, and every piece with points has a Route control (see Routes, turnouts and slips). XTrkCAD's files misled the import for a few, now filed right:
- Buffer stops filed as straights: Märklin C-Track's 24977, 24978 and the 24001 end piece, K-Track's 7389 and 7391, M-Track's 7190 and 7191, Fleischmann piccolo's 9116 and Hornby Dublo's 2450.
- Curved turnouts filed as plain curves, with no Route control: Peco N Setrack's ST44 and ST45, Peco N code 55's SL-E386F and SL-E387F, Fleischmann Profi's 6174 and 6176, Roco code 100's #6 curved turnouts, Atlas's Customline 287 and 288, Arnold's 1761 and Atlas O's 6077 and 6078.
- Y turnouts filed as right-hand turnouts: Peco's ST-247, SL-97, SL-U97, SL-98, SL-E197 and SL-E198, Piko's WY (55226 and 55426), and Tillig Luna's YWL and YWR.
- Three-way turnouts filed as double slips: Piko's W3 (55225 and 55425) and Tillig Luna's three-road depot fan.
- Right-hand turnouts filed as left-hand: Walthers' N #4 right yard turnout (637) and Tillig Luna's right-hand junction ARE (87616/87617).
- Uncoupling tracks filed as straights: Märklin C-Track's 24997 and M-Track's 5112, Fleischmann piccolo's 9112 and 9114, Minitrix's 14969 and code 60 14569, Atlas O Industrial Rail's 1001059, Lionel O-27's 6-65149, Hornby Dublo's 2745 and 2746, BTTB's 6710 and Tillig TT's 83201 and 83801.
- Flex track filed as straights, which couldn't be bent: Tillig Elite's 85125, 85134 and 85136 and its 85025 sleeper band.
- A buffer stop filed as a straight: MTH RealTrax's lighted bumper (40-1024).
- Turntable track filed as turntables: Märklin's position tracks (C-Track 74871 and K-Track 7287) are straights, and the K-Track dummy track a buffer stop.
- A transfer table filed as a turntable: Märklin M-Track's 7294, which was drawn as a round pit without its tracks. It sits under the Transfer table tab with Minitrix's 66540, Märklin mini-club's 8994 and Ross's TT185 to TT3610, which joined the catalogue with it.
- Adapter tracks filed as straights: Märklin's C-Track adapters to K-Track and M-Track (24922 and 24951), its K-Track to M-Track adapter (2291), Kato N's conversion track (20-045) and Piko's 55207 and 55208. Kato Unitram's "transition" (40-021), which widens double track from Unitram's spacing to Unitrack's with the same joiners at both ends, and Lionel Super O's accessory adapter (38), two sections with ties left out for an accessory's contactor, are straights.
Adapter tracks
#A transition or adapter track joins its own range at one end and another range at the other, so the planner snaps its far end to the range it's made for:
- HO: Märklin's C-Track 24922 to K-Track, C-Track 24951 and K-Track 2291 to M-Track; Piko's A-Track with roadbed 55432 to Fleischmann's Profi-Gleis, 55433 to Roco's geoLine and 55434 to Piko's A-Track without roadbed; Roco geoLine's 61120 to RocoLine code 83; Walthers' code 83 948-897 to code 100 and 948-898 to code 70; Life-Like's and Walthers' Power-Loc adapters to code 100 track.
- N: Kato's 20-045 to code 80 track such as Atlas's; Atlas True-Track's 2590 to code 80 and 2593 to code 55; Life-Like's Power-Loc adapter to code 80; Minitrix code 60's 14590 to Minitrix's code 80 track.
- TT: Tillig's 83132 to BTTB's and Zeuke's Standardgleis.
- O: Atlas Industrial Rail's 1001096 to O tubular track (and, through Lionel's own transition, to FasTrack).
Piko's 55207 is made for Piko's old hollow-rail track, which isn't in the catalogue, and 55208 for any code 100 track, so both join code 100 track at either end.
Pieces redrawn
#Now and then XTrkCAD's files draw a piece at the wrong size or out of shape, and say so themselves, or the maker's own figures do. Some draw an end of a piece away from the track the piece draws, or the track short of the ends it should meet; those are put back together from the rest of the piece. Those pieces are redrawn each time the library is imported, so an update never brings the wrong one back. So far:
- Kato Unitrack, HO: the 149 mm straight (2-193) was drawn 148 mm long, though its name and the 149 mm extension packed with the #6 turnouts both say 149 mm.
- Bachmann E-Z Track, HO: the 90° crossing with its extensions (44541/44441) was drawn 4" across. Its 2" centre and a 2" extension straight on each arm make 6", as Bachmann sells it.
- Kato Unitrack, N: the 35 mm buffer track (20-060) was drawn with no track at all.
- Piko A-Track: the G119 straight (55202, and 55402 with roadbed) was drawn 119 mm long; it's 119.54 mm, half a G239.
- Peco Setrack: the medium diamond crossing (ST-250) was drawn with 170 mm tracks; Peco's are 168 mm.
- Märklin C-Track: the curved turnouts 24671 and 24672 were drawn 75 m and 2.5 m from the spot they were placed at, and 24672 drew the straight between its lead and its outer curve 0.7 mm short of both. The slim turnouts 24711 and 24712 ended their diverging road 0.8 mm short of its R1114.6 12.1° curve.
- Märklin M-Track: the turnouts were drawn from a corner of their roadbed, which hid their frog angle in the Inspector.
- Märklin Modellgleis: the half parallel curve (3800A 1/2) turned its far end 1.25° where its 11.25° curve ends.
- Rokuhan: the R45 180° curve (R091) had both its ends at its start.
- Peco Streamline code 60 (Z): the 609 mm flex track (SL-200) faced its far end 45° off.
- Tillig Luna tram track: the YWR wye (87648/87649) turned the end of its 25° road to 20°. The double-track curve crossing (87656/87657) and T-crossing (87701) drew their R250 curves 0.85 mm off the straights they continue, and the T-crossing's top-left end sat 0.85 mm past its track. The double-track curve DK1 (87766/87767) set its far ends 46 mm apart, though its tracks, and the Z3 double straight it joins, are 46.9 mm apart.
- Lionel Super O: the accessory adapter (38) drew no track in its middle 54 mm.
- Roco Line code 83: the D2 spacer (98000) was drawn 2 mm long; Roco makes it 2.5 mm.
- Turnouts whose diverging road kinked on the way to its end: Hornby's Express Points R8077 and R8078 (in Setrack and in Jouef's track), Märklin K-Track's curved turnout 2268 (now a 64.6 mm lead and Märklin's R360 30° curve), Atlas code 83's Snap Switches 546/544 and 547/545, and Peco N code 55's large turnouts SL-E388F and SL-E389F.
A plan that already used one of them sees the change at its joins. After the Kato straight, the next piece is 1 mm off, a strained (yellow) join that still builds; after the Piko G119 it's 0.54 mm off. The Bachmann crossing keeps the end it was placed by, and its other three ends move by 1" to 2", so their joins show open until you move the track around it out to fit. Peco's ST-250 also keeps the end it was placed by, and its other ends move in by up to 2 mm. Märklin's slim turnouts move their diverging end by 0.8 mm. The Märklin curved turnouts now sit where they were placed. The kinked turnouts keep their ends where they were, so their joins don't move: only the track drawn between them does. So do Märklin's 24672, Tillig Luna's crossings and Lionel's adapter. Märklin's 3800A 1/2, Rokuhan's R091 and Peco's SL-200 flex turn or move their far end, so a piece joined there shows an open join until you lay it again. The Tillig Luna wye's and DK1 curve's ends move by 0.45 to 0.85 mm, a strained join that still builds, and Roco's D2 grows by 0.5 mm.
A few pieces came with the right drawing under a wrong name, now put right:
- Fleischmann piccolo: the contact track 9115 is 55.5 mm long, as Fleischmann sells it and as it was always drawn, though its name said 111 mm.
- ETS O track: the curves 631 to 633 and the turnouts 651 to 656 were named R672 mm; they're ETS's R627 mm, as drawn. The 632's name also said 11°25' for ETS's 11°15'.
- Märklin M-Track: the arched bridge 7163 is 360 mm long, as drawn, though its name said 180 mm.
Previewing a library
#Every library has a Preview button. It opens a montage of the system's pieces drawn from their real geometry — straights, curves at each radius, turnouts, crossings, and the rest — so you can recognise what's in a library at a glance rather than reading piece counts. Switch between a 2D top-down view and a tilted 3D view. Previewing doesn't install anything; you can preview a library that isn't on your device yet before deciding to add it.
The preview is look-only: you can pan, zoom and orbit the camera, but the pieces can't be selected or moved — it's showing you the library, not a layout you're building.
The pieces sit on a board sized to hold them with a margin all round. In 2D, every connector is marked with a green dot, so you can see where each piece's ends are. In 3D you get the real mating hardware instead: a fishplate on one rail of each end — the left-hand one looking out of the piece, so the two ends sit on opposite rails and a joint ends up with one joiner per rail, exactly as track ships — plus, on systems whose track comes with its own moulded roadbed like Kato Unitrack or Märklin C, the clip that locks two beds together. It's generated from the system's own gauge and bed width, so an N-scale joiner comes out proportionally smaller than an OO one.