Importing and exporting .trackplan files

Save a layout as a portable file, share it, and load it back into the planner.

A .trackplan file is a portable snapshot of one layout. You can save one, mail it, drop it in a forum thread, and anyone else with the planner can open it. It's your plan, whole: the file carries the track it uses, so it opens on any computer, even one that has never downloaded that track library, and even offline.

Exporting

#

In the editor, open Export in the top bar (or File → Export) and choose Export .trackplan file. The browser downloads a file named after the layout (e.g. my-loop.trackplan).

What's inside the file:

  • The layout's name, scale, and baseboard footprint: one rectangle, or all its boards with their joints and the sides you can stand at (since version 9 of the format).
  • Every placement: which piece (by SKU), its position, its rotation, and whether it's mirror-flipped.
  • Every join, including the measured gap and angular error.
  • Your text labels, with their deck, height, size, colour and layer.
  • The definition of every piece the plan uses: its name and SKU, its shape and its connectors. See files carry their track.

What's not in the file:

  • Your account, or any user-specific state.
  • Pieces whose track library isn't on this device. A file names each piece by its system and SKU, and the planner can't name a piece it doesn't know. The editor tells you how many it left out: reload with a connection so the library downloads, then export again.

Importing

#

In the planner app. On the planner's home screen, click Import .trackplan and pick a file. It opens as a new layout on this device straight away, with no account and no connection needed. Signed in, it's also added to your account the next time you're online, unless your account is at its cloud limit: then it stays on the device and your layouts list says so.

On the website. The layouts page and the Library tab of your account page import a file straight into your account. Your account can only sync track that's in the Locodex catalogue, so a file with pieces the catalogue doesn't have is refused there, with the list of pieces. Open it in the planner app instead.

Importing is non-destructive in two senses:

  • It always creates a new layout. It never overwrites the one that's open.
  • It never quietly leaves track out. If a piece is neither in the file nor in the catalogue, the import stops and lists the missing pieces, so you know exactly what's needed.

Files carry their track

#

Since version 8 of the format, a file includes the definition of every piece the plan uses, so you own the whole plan and not just a list of part numbers. Export a plan on one computer and it opens fully drawn on another that has never downloaded that track library, out of the box. The definitions stay with the imported plan on that device, so it keeps drawing offline.

A piece the planner's catalogue already has is always drawn from the catalogue, so a file never changes how a known piece looks; the definitions in the file only fill in for pieces the device doesn't have. A file saved before version 8 names its pieces without carrying them, and opens wherever the track libraries it uses are installed.

Your files keep opening

#

Every .trackplan file any version of the planner has saved opens in every later version. That's a promise, not a best effort:

  • The file is open. It's plain JSON, never encrypted. Open it in any text editor and your whole layout is there, readable without Locodex.
  • Old versions are never dropped. The file carries a version number, and the planner reads every version it has ever written. When a new field arrives that an older file doesn't have, sensible defaults fill in. For example, a file saved before text labels existed opens with no labels.
  • It's checked on every change. The planner keeps a frozen sample of every version of the format and refuses any change that stops one of them opening.
  • Discontinued track stays findable. A piece that leaves the catalogue is retired, never deleted (see track libraries), so a file that uses it still opens with it in place. A piece that later gets its real number still answers to the old one (see pieces given their real number).

It doesn't work the other way round. A file saved by a newer planner can use fields an older one doesn't know, and the older one won't guess at them: it says the file was made with a newer version.

If you ever see an "unsupported version" error, you're likely opening a file from a newer planner build than the one you're running. Refreshing the page (which loads the latest planner) is usually the fix.

Backing up your whole library

#

To save or move every layout at once, use Export all data on your /profile page (Preferences → Data & account). It downloads a single .zip holding one .trackplan per plan, and Import data restores them. See your account & data for the details.