Answers.Body: <p>Well, obviously one way to measure that would be empirically - you have the tracks, you have the baseplates...</p>
  
  <p>As for the maths, let's see... a full circle of these tracks has a diameter of 5 straight tracks as measured from the centre of the sleepers, that translates to 80 studs. The radius is 40 studs, or 800 ldu.</p>
  
  <p>The outer, ridged track, is 2 to 3 studs further depending on which border you consider (and assuming you want borders instead of stud positions). So the radii for the border of that piece of track are 840 and 860.</p>
  
  <p>So, assuming the track circle is centered around (0,0), and using the usual way of considering circles in math (counterclockwise from (1,0)), your first piece of outer track starts at (820,0) and (830,0).</p>
  
  <p>There are 16 segments of track to a full circle, so the angle for one segment is 22,5°, or pi/8. So the end of your first track part is at (840*cos(pi/8),840*sin(pi/8)) to (860*cos(pi/8),860*sin(pi/8)), or (776.06,321.45) to (794.54,329.11)</p>
  
  <p>Expanding further, you get the following segments for the short border of the outer track:</p>
  
  <ol>
  <li>(840.00,0.00)-(860.00,0.00)</li>
  <li>(776.06,321.45)-(794.54,329.11)</li>
  <li>(593.97,593.97)-(608.11,608.11)</li>
  <li>(321.45,776.06)-(329.11,794.54)</li>
  <li>(0.00,840.00)-(0.00,860.00)</li>
  <li>(-321.45,776.06)-(-329.11,794.54)</li>
  <li>(-593.97,593.97)-(-608.11,608.11)</li>
  <li>(-776.06,321.45)-(-794.54,329.11)</li>
  <li>(-840.00,0.00)-(-860.00,0.00)</li>
  <li>(-776.06,-321.45)-(-794.54,-329.11)</li>
  <li>(-593.97,-593.97)-(-608.11,-608.11)</li>
  <li>(-321.45,-776.06)-(-329.11,-794.54)</li>
  <li>(0.00,-840.00)-(0.00,-860.00)</li>
  <li>(321.45,-776.06)-(329.11,-794.54)</li>
  <li>(593.97,-593.97)-(608.11,-608.11)</li>
  <li>(776.06,-321.45)-(794.54,-329.11)</li>
  </ol>
  
  <p>Hopefully that makes sense. Watch out, these are the coordinates of the borders; for the coordinates of the studs (that is, the center of the studs, which I think is more interesting, but I don't know what your goal is) we'll have to use a radius of 850, and move 10 ldu along the tangent to find the stud. So to find the stud after the segment, we'll do (850*cos(pi/8)-10*sin(pi/8),850*sin(pi/8)+10*cos(pi/8)). For each segment N starting from 1, the studs are as follow:</p>
  
  <ul>
  <li>start stud: (850*cos((N-1)*pi/8)-10*sin((N-1)*pi/8) , 850*sin((N-1)*pi/8)+10*cos((N-1)*pi/8))</li>
  <li>end stud: (850*cos(N*pi/8)+10*sin(N*pi/8) , 850*sin(N*pi/8)-10*cos(N*pi/8))</li>
  </ul>
  
  <p>End the two studs in the center of the track are basically and end stud if the angle was pi/16, and the start stud of the next track, or:</p>
  
  <ul>
  <li>first middle stud: (850*cos((N-1)*pi/8+pi/16)+10*sin((N-1)*pi/8+pi/16) , 850*sin((N-1)*pi/8+pi/16)-10*cos((N-1)*pi/8+pi/16))</li>
  <li>second middle stud: (850*cos((N-1)*pi/8+pi/16)-10*sin((N-1)*pi/8+pi/16) , 850*sin((N-1)*pi/8+pi/16)+10*cos((N-1)*pi/8+pi/16))</li>
  </ul>
  
  <p>The four studs of the first part of track are thus at coordinates:</p>
  
  <ul>
  <li>start stud: (850.00,10.00)</li>
  <li>first middle stud: (831.72,175.63)</li>
  <li>second middle stud: (835.62,156.02)</li>
  <li>end stud: (789.12,316.04)</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2012-05-07T01:18:23.360Z
Answers.Text: Thanks Joubarc.  I did want the coordinates of the stud slots themselves and I ended up working this out in a way you described.  It turns out it's something like: x = 63.9411, y = 321.45 (assuming first stud is at (0,0) - not very nice integer numbers.
Answers.UserDisplayName: Alan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2012-05-07T19:16:52.647Z
Answers.Text: Well circles are so that it was more or less a given that you wouldn't get nice integer numbers; but on the other hand you can probably find places where studs are close enough that the parts may fit. Although not exactly related, you my want to read [this](http://www.brickpile.com/track-layout-geometry/) to see track geometry examples which work by being close enough.
Answers.UserDisplayName: Joubarc
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2012-05-06T09:24:59.807Z
Answers.LastActivityDate: 2012-05-06T09:24:59.807Z
Answers.UserDisplayName: Joubarc
Body: <p>I have an old set of <a href="http://lego.wikia.com/wiki/7851_Curved_Rails" rel="nofollow">7851 curved tracks</a>.  I want to use the outer tracks (the ones with the bumpy surface).  If I was to put one end down on a baseboard so that is tangent/parallel with the grid of studs, how many LDU in the X and Y direction would the other end be?</p>
  
  <p>I'd also like to the know the X, Y cartesian coordinates (in LDU) of the middle 2 slots as well.</p>
  
Tags: <building><piece-information><trains>
Title: Measurements (LDU) of Lego tracks Set 151
UserDisplayName: Alan
ThreadText: # Measurements (LDU) of Lego tracks Set 151
  
  (Asked by: username_0 on 2012-05-06)
  
  I have an old set of [7851 curved tracks](http://lego.wikia.com/wiki/7851_Curved_Rails). I want to use the outer tracks (the ones with the bumpy surface). If I was to put one end down on a baseboard so that is tangent/parallel with the grid of studs, how many LDU in the X and Y direction would the other end be?
  
  I'd also like to the know the X, Y cartesian coordinates (in LDU) of the middle 2 slots as well.
  
  **Tags:** building, piece-information, trains
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2012-05-06. Score: 5 | Accepted answer
  
  Well, obviously one way to measure that would be empirically - you have the tracks, you have the baseplates...
  
  As for the maths, let's see... a full circle of these tracks has a diameter of 5 straight tracks as measured from the centre of the sleepers, that translates to 80 studs. The radius is 40 studs, or 800 ldu.
  
  The outer, ridged track, is 2 to 3 studs further depending on which border you consider (and assuming you want borders instead of stud positions). So the radii for the border of that piece of track are 840 and 860.
  
  So, assuming the track circle is centered around (0,0), and using the usual way of considering circles in math (counterclockwise from (1,0)), your first piece of outer track starts at (820,0) and (830,0).
  
  There are 16 segments of track to a full circle, so the angle for one segment is 22,5°, or pi/8. So the end of your first track part is at (840\*cos(pi/8),840\*sin(pi/8)) to (860\*cos(pi/8),860\*sin(pi/8)), or (776.06,321.45) to (794.54,329.11)
  
  Expanding further, you get the following segments for the short border of the outer track:
  
  1. (840.00,0.00)-(860.00,0.00)
  2. (776.06,321.45)-(794.54,329.11)
  3. (593.97,593.97)-(608.11,608.11)
  4. (321.45,776.06)-(329.11,794.54)
  5. (0.00,840.00)-(0.00,860.00)
  6. (-321.45,776.06)-(-329.11,794.54)
  7. (-593.97,593.97)-(-608.11,608.11)
  8. (-776.06,321.45)-(-794.54,329.11)
  9. (-840.00,0.00)-(-860.00,0.00)
  10. (-776.06,-321.45)-(-794.54,-329.11)
  11. (-593.97,-593.97)-(-608.11,-608.11)
  12. (-321.45,-776.06)-(-329.11,-794.54)
  13. (0.00,-840.00)-(0.00,-860.00)
  14. (321.45,-776.06)-(329.11,-794.54)
  15. (593.97,-593.97)-(608.11,-608.11)
  16. (776.06,-321.45)-(794.54,-329.11)
  
  Hopefully that makes sense. Watch out, these are the coordinates of the borders; for the coordinates of the studs (that is, the center of the studs, which I think is more interesting, but I don't know what your goal is) we'll have to use a radius of 850, and move 10 ldu along the tangent to find the stud. So to find the stud after the segment, we'll do (850\*cos(pi/8)-10\*sin(pi/8),850\*sin(pi/8)+10\*cos(pi/8)). For each segment N starting from 1, the studs are as follow:
  
  * start stud: (850\*cos((N-1)\*pi/8)-10\*sin((N-1)\*pi/8) , 850\*sin((N-1)\*pi/8)+10\*cos((N-1)\*pi/8))
  * end stud: (850\*cos(N\*pi/8)+10\*sin(N\*pi/8) , 850\*sin(N\*pi/8)-10\*cos(N\*pi/8))
  
  End the two studs in the center of the track are basically and end stud if the angle was pi/16, and the start stud of the next track, or:
  
  * first middle stud: (850\*cos((N-1)\*pi/8+pi/16)+10\*sin((N-1)\*pi/8+pi/16) , 850\*sin((N-1)\*pi/8+pi/16)-10\*cos((N-1)\*pi/8+pi/16))
  * second middle stud: (850\*cos((N-1)\*pi/8+pi/16)-10\*sin((N-1)\*pi/8+pi/16) , 850\*sin((N-1)\*pi/8+pi/16)+10\*cos((N-1)\*pi/8+pi/16))
  
  The four studs of the first part of track are thus at coordinates:
  
  * start stud: (850.00,10.00)
  * first middle stud: (831.72,175.63)
  * second middle stud: (835.62,156.02)
  * end stud: (789.12,316.04)
  
  > **Comments:**
  > **username_0**: Thanks Joubarc.  I did want the coordinates of the stud slots themselves and I ended up working this out in a way you described.  It turns out it's something like: x = 63.9411, y = 321.45 (assuming first stud is at (0,0) - not very nice integer numbers.  
  > **username_1**: Well circles are so that it was more or less a given that you wouldn't get nice integer numbers; but on the other hand you can probably find places where studs are close enough that the parts may fit. Although not exactly related, you my want to read [this](http://www.brickpile.com/track-layout-geometry/) to see track geometry examples which work by being close enough.  
  
  ---
  
  