The Silicon Underground
  Welcome to Dave Farquhar's Silicon Underground Saturday, July 04 2009 @ 06:29 PM CDT  
Theme Changer
Change the look of the site by selecting a theme below:

What's New
STORIES
No new stories

COMMENTS last 48 hrs
No new comments

LINKS last 2 wks
No recent new links

Google Ads

User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User

Firefox


XTrkCad model railroad track software is going open source   
Friday, December 31 2004 @ 10:22 AM CST
By David L. Farquhar

XTrkCad, one of the many model railroad track planning programs--and the only one I know that has both Windows and Linux versions--is going open source. This also means the program is now free.

You can't download the source code yet but you can download binaries, enter a registration code, and play with it. I've been doing just that.

One thing I noticed right away when I started trying to use it to plan a layout using Lionel and Marx O27-profile sectional track--which it doesn't support directly, so I had to enter the track, confusingly, using the "custom turnout" tools--is that the model railroad and toy trains people measure track differently.

A Marx or Lionel O27 curve isn't an O27 curve in XTrkCad. It's a curve of radius 12.5 and angle of 45 degrees.

Here are some measurements. Keep in mind this is what they're supposed to be. Manufacturing tolerances and the effects of age sometimes cause these measurements to be off. Some of my vintage track is off by 1/8 inch or more.

O-2712.5"
O-34 15.75"
O-42 20.25"
O-54 26.375"
O-72 35.25"


I happen to know that O27 and O34 tubular track use a 45-degree angle, and that Lionel and K-Line O42 tubular use a 30-degree angle. Unfortunately I don't have a piece of K-Line O54 or O72 sectional tubular track to measure.

Since O42 track is supposed to be 12 sections per circle, and 180/12=15, I believe to calculate the angle measurement of O54 and O72 you can divide 180 by the number of O54 or O72 track sections in a full circle, then multiply that result by 2. The math works for the O27, O34, and O42 track sections I have, but since I don't own any K-Line O54 or O72 track I can't be certain.

Also, confusingly, traditional O gauge switches are straight turnouts in XTrkCad, even though one leg of them is curved. Here are the parameters I got by measuring a Lionel 1121. The measurements are close enough to represent Marx or Sakai O27 switches:

Diverging length: 8.5
Diverging angle: 45
Diverging offset: 3.75
Overall length: 8.75

And here's what I measure on a Marx O34 switch.

Diverging length: 11.375
Diverging angle: 45
Diverging offset: 4.5
Overall length: 11.188

I believe the diverging angle would be 30 degrees on a Lionel or K-Line O42 switch, but since my vintage Marx and American Flyer locomotives won't make it through modern O42 switches, I don't have any of those to measure.

I've already used the software to draw a layout using Marx O34 track that will allow two-train operation with room on sidings for three additional trains. It's much easier than setting up track on the floor and measuring it to see if it will fit on the table. And you can do your layout and then print an inventory to compare what you have with what you need. Not having enough track to mock up a layout isn't a problem anymore.

On the computer some of the things I want to do don't quite fit; if the track measurements are slightly off, the solution is to cut a section of track to move things a bit, or, if they're off by less than a quarter inch or so, force it. O27 track has a lot of give, and, like I said, manufacturing tolerances and the effects of time can cause real-world track to not match the published standards.

  [ Views: 3331 ]  


XTrkCad model railroad track software is going open source | 3 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
XTrkCad model railroad track software is going open source
Authored by: DaveF on Friday, December 31 2004 @ 05:56 PM CST
Here are some more precise numbers from the Yahoo Marx Train group, as measured by Dick Reichard, a mechanical engineer with better equipment and know-how than me:

O27 12.625 inches
O31 14.3125 inches
O34 15.875 inches
O42 20.375 inches
O54 26.375 inches
O72 36.25 inches

He also recommends a minimum distance of 4.5 inches, as measured center to center, between curved tracks and 3.5 inches between straights.

[ Reply to This ]

What's Related
  • XTrkCad
  • More by DaveF
  • More from Toy trains

  • Story Options
  • Mail Story to a Friend
  • Printable Story Format


  • Calendar
    July 2009
    SuMoTuWeThFrSa
    28
    29
    30
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    1
    Click on any day to see postings and events for that date.

    Referrals

    Top 10 by Comments
    Story TitleComments
    Cheap laptops from Sotec 253
    An untrustworthy vendor 164
    Upgrading an eMachine 125
    eMachine upgrade advice 99
    Why I dislike Microsoft 51
    Upgrade diary: Gateway G6-400 35
    And we're live 30
    The day after the Columbia 22
    How to pray 22
    CD-ROM troubleshooting under Windows 9x 20

    Top 10 Read
    Story TitleViews
    eMachine upgrade advice 72404
    Upgrading an eMachine 61722
    How to view a blg file in Windows 2000 46857
    Cheap laptops from Sotec 31880
    Upgrade diary: Compaq Presario 7360 19374
    Upgrade diary: Gateway G6-400 18904
    CD-ROM troubleshooting under Windows 9x 15023
    Finding an open-source alternative to Ghost 13558
    Big trouble 12987
    Salary cap? Baseball needs something 11353

    Topics
    Home
    Apache (2)
    Baseball (62)
    Book reviews (2)
    Business (1)
    Christianity (57)
    Cooking (1)
    Copyright (16)
    Curmudgeonry (1)
    Design (7)
    DOS (6)
    Games (4)
    Genealogy (10)
    General (507)
    Hardware (163)
    Health (13)
    Human Interest (9)
    Humor/Satire (19)
    Journalism (1)
    Linux (93)
    Macintosh (22)
    Model Building (3)
    Music (33)
    net.culture (40)
    Personal (83)
    Photography (6)
    Politics (2)
    Retro Computing (26)
    Saving money (71)
    Servers and Networking (17)
    Society (49)
    Software (51)
    Spam (13)
    St. Louis (23)
    This weblog (14)
    Toy trains (74)
    Troubleshooting (7)
    Useless Trivia (1)
    Vendors (6)
    Video (21)
    Viruses (12)
    Windows (117)
    Writing (16)

    Older Stories
    Tuesday 12-May
  • Tips for running a garage sale (0)

  • Sunday 10-May
  • Forget Home Depot... Forget chain stores. (0)
  • I think I found my next major purchase (0)

  • Tuesday 28-Apr
  • Counterfeit software (0)
  • I found a blog (2)

  • Thursday 23-Apr
  • Wiring the house (0)

  • Wednesday 22-Apr
  • The "good enough" PC (0)

  • Sunday 12-Apr
  • The Pure Digital Flip Ultra F260W (0)

  • Friday 10-Apr
  • How to make a really nice $500 computer (0)

  • Thursday 09-Apr
  • And this is why I don't drink (4)

  • Who's Online
    Guest Users: 9

    Syndicate!
    Get your RSS/RDF fix here.

    List of all stories
    Click here for a list of all the entries on this site


    Created this page in 0.89 seconds


     Copyright © 2009 Dave Farquhar's Silicon Underground
     All trademarks and copyrights on this page are owned by their respective owners.

    Powered by GL 1.3.x