]> git.tdb.fi Git - r2c2.git/blobdiff - tracks.dat
Convert Catalogue to a Collection
[r2c2.git] / tracks.dat
index b33e97bca2d8a8494df17ffeae9a5773ad85c998..057b40ab7b998ef54fda88b9ea98d101bb8842a3 100644 (file)
@@ -1,8 +1,48 @@
-/* $Id$ */
+scale 1 87;
+
+track_appearance
+{
+       gauge 16.5;
+       rail_profile
+       {
+               point 1.5 0.0;
+               smooth_point 1.5 0.3;
+               smooth_point 0.8 0.4;
+               smooth_point 0.8 1.4;
+               smooth_point 1.0 1.6;
+               smooth_point 1.0 2.1;
+               smooth_point 0.8 2.3;
+               smooth_point 0.2 2.3;
+               smooth_point 0.0 2.1;
+               smooth_point 0.0 1.6;
+               smooth_point 0.2 1.4;
+               smooth_point 0.2 0.4;
+               smooth_point -0.5 0.3;
+               point -0.5 0.0;
+       };
+       ballast_profile
+       {
+               point 20.0 0.0;
+               point 14.0 7.5;
+               point -14.0 7.5;
+               point -20.0 0.0;
+       };
+       tie_profile
+       {
+               point 13.5 0.0;
+               point 13.5 0.5;
+               point -13.5 0.5;
+               point -13.5 0.0;
+       };
+       tie_length 2.2;
+       tie_spacing 7.8;
+
+       technique "track.technique";
+};
 
 // Straight
 
-track 24064
+track "24064"
 {
        description "Straight, 64.3mm (R3-R4-R5)";
        part
@@ -11,52 +51,57 @@ track 24064
        };
 };
 
-track 24071
+track "24071"
 {
-       description "Straight, 70.3mm (for slim turnouts)";
+       description "Straight, 70.8mm (for slim turnouts)";
        part
        {
                length 70.8;
        };
+       autofit_preference 0;
 };
 
-track 24077
+track "24077"
 {
        description "Straight, 77.5mm (R1-R2-R3)";
        part
        {
                length 77.5;
        };
+       autofit_preference 2;
 };
 
-track 24094
+track "24094"
 {
        description "Straight, 94.2mm";
        part
        {
                length 94.2;
        };
+       autofit_preference 2;
 };
 
-track 24172
+track "24172"
 {
        description "Straight, 171.7mm";
        part
        {
                length 171.7;
        };
+       autofit_preference 2;
 };
 
-track 24188
+track "24188"
 {
        description "Straight, 188.3mm (turnout length)";
        part
        {
                length 188.3;
        };
+       autofit_preference 2;
 };
 
-track 24229
+track "24229"
 {
        description "Straight, 229.3mm";
        part
@@ -65,7 +110,7 @@ track 24229
        };
 };
 
-track 24236
+track "24236"
 {
        description "Straight, 236.1mm (slim turnout length)";
        part
@@ -74,9 +119,18 @@ track 24236
        };
 };
 
+track "24360"
+{
+       description "Straight, 360mm";
+       part
+       {
+               length 360;
+       };
+};
+
 // Curves, R1
 
-track 24107
+track "24107"
 {
        description "Curve, R1 = 360mm, 7.5°";
        part
@@ -86,7 +140,7 @@ track 24107
        };
 };
 
-track 24115
+track "24115"
 {
        description "Curve, R1 = 360mm, 15°";
        part
@@ -96,7 +150,7 @@ track 24115
        };
 };
 
-track 24130
+track "24130"
 {
        description "Curve, R1 = 360mm, 30°";
        part
@@ -108,7 +162,7 @@ track 24130
 
 // Curves, R2
 
-track 24206
+track "24206"
 {
        description "Curve, R2 = 437.5mm, 5.7° (turnout to 30°)";
        part
@@ -118,7 +172,7 @@ track 24206
        };
 };
 
-track 24207
+track "24207"
 {
        description "Curve, R2 = 437.5mm, 7.5°";
        part
@@ -128,7 +182,7 @@ track 24207
        };
 };
 
-track 24215
+track "24215"
 {
        description "Curve, R2 = 437.5mm, 15°";
        part
@@ -138,7 +192,7 @@ track 24215
        };
 };
 
-track 24224
+track "24224"
 {
        description "Curve, R2 = 437.5mm, 24.3° (turnout)";
        part
@@ -148,7 +202,7 @@ track 24224
        };
 };
 
-track 24230
+track "24230"
 {
        description "Curve, R2 = 437.5mm, 30°";
        part
@@ -160,7 +214,7 @@ track 24230
 
 // Curves, R3
 
-track 24330
+track "24330"
 {
        description "Curve, R3 = 515mm, 30°";
        part
@@ -172,7 +226,7 @@ track 24330
 
 // Curves, R4
 
-track 24430
+track "24430"
 {
        description "Curve, R4 = 579.3mm, 30°";
        part
@@ -184,7 +238,7 @@ track 24430
 
 // Curves, R5
 
-track 24530
+track "24530"
 {
        description "Curve, R5 = 643.6mm, 30°";
        part
@@ -196,7 +250,7 @@ track 24530
 
 // Curves, slim turnout
 
-track 24912
+track "24912"
 {
        description "Curve, R = 1114.6mm, 12.1° (slim turnout)";
        part
@@ -208,170 +262,175 @@ track 24912
 
 // Curved turnouts, R1
 
-track 24671
+track "24671"
 {
        description "Curved turnout, left";
        part
        {
                length 77.5;
-               route 0;
+               path 0;
        };
        part
        {
                start 77.5 0 0;
                length 30;
                radius 360;
-               route 0;
+               path 0;
        };
        part
        {
                length 30;
                radius 360;
-               route 1;
+               path 1;
        };
 };
 
-track 24672
+track "24672"
 {
        description "Curved turnout, right";
        part
        {
                length 77.5;
-               route 0;
+               path 0;
        };
        part
        {
                start 77.5 0 0;
                length 30;
                radius -360;
-               route 0;
+               path 0;
        };
        part
        {
                length 30;
                radius -360;
-               route 1;
+               path 1;
        };
 };
 
 // Turnouts, R2
 
-track 24611
+track "24611"
 {
        description "Turnout, left";
        part
        {
                length 188.3;
-               route 0;
+               path 0;
        };
        part
        {
                length 24.3;
                radius 437.5;
-               route 1;
+               path 1;
        };
 };
 
-track 24612
+track "24612"
 {
        description "Turnout, right";
        part
        {
                length 188.3;
-               route 0;
+               path 0;
        };
        part
        {
                length 24.3;
                radius -437.5;
-               route 1;
+               path 1;
        };
 };
 
-track 24630
+track "24630"
 {
        description "Turnout, 3-way";
        part
        {
                length 188.3;
-               route 0;
+               path 0;
        };
        part
        {
                length 24.3;
                radius 437.5;
-               route 1;
+               path 2;
        };
        part
        {
                length 24.3;
                radius -437.5;
-               route 2;
+               path 1;
        };
 };
 
-track 24624
+track "24624"
 {
-       description "Turnout, double crossing";
+       description "Turnout, double slip";
+       state_bits 1;
        part
        {
                length 188.3;
+               path 0;
        };
        part
        {
                length 24.3;
                radius -437.5;
+               path 1;
        };
        part
        {
                start 8.34 38.74 -24.3;
                length 188.3;
+               path 2;
        };
        part
        {
                start 8.34 38.74 -24.3;
                length 24.3;
                radius 437.5;
+               path 3;
        };
 };
 
 // Slim turnouts
 
-track 24711
+track "24711"
 {
        description "Slim turnout, left";
        part
        {
                length 236.1;
-               route 0;
+               path 0;
        };
        part
        {
                length 12.1;
                radius 1114.6;
-               route 1;
+               path 1;
        };
 };
 
-track 24712
+track "24712"
 {
        description "Slim turnout, right";
        part
        {
                length 236.1;
-               route 0;
+               path 0;
        };
        part
        {
                length 12.1;
                radius -1114.6;
-               route 1;
+               path 1;
        };
 };
 
 // Crossings
 
-track 24640
+track "24640"
 {
        description "Crossing, 24.3°";
        part
@@ -385,7 +444,7 @@ track 24640
        };
 };
 
-track 24649
+track "24649"
 {
        description "Crossing, 48.6°";
        part
@@ -399,7 +458,7 @@ track 24649
        };
 };
 
-track 24740
+track "24740"
 {
        description "Slim crossing, 12.1°";
        part
@@ -415,13 +474,211 @@ track 24740
 
 // Specials
 
-track 24977
+track "24977"
 {
        description "Bumper";
+       object "bumper.object";
        part
        {
-               length 94.2;
+               length 77.5;
                dead_end true;
        };
 };
 
+// Signals
+
+signal "7039"
+{
+       indication "Hp1"
+       {
+               aspect 0;
+               free_blocks 1;
+       };
+       indication "Hp0"
+       {
+               aspect 1;
+               free_blocks 0;
+       };
+       object "homesignal.object";
+};
+
+// Layout for selecting tracks
+
+layout
+{
+       beamgate
+       {
+               position -0.3876098 0.3496740 0.000000;
+               rotation 1.570800;
+       };
+       track "24115"
+       {
+               position 0.0806517 0.139002 0;
+               rotation 2.22529;
+       };
+       track "24612"
+       {
+               position -0.310086 -0.38055 0;
+               rotation 1.5708;
+       };
+       track "24172"
+       {
+               position -0.232565 -0.0797749 0;
+               rotation 1.5708;
+       };
+       track "24611"
+       {
+               position -0.387608 -0.380475 0;
+               rotation 1.5708;
+       };
+       track "24130"
+       {
+               position 0.155044 -0.08015 0;
+               rotation 1.5708;
+       };
+       track "24230"
+       {
+               position 0.232566 -0.0802249 0;
+               rotation 1.5708;
+       };
+       track "24107"
+       {
+               position -0.0249545 0.231617 0;
+               rotation 2.61799;
+       };
+       track "24224"
+       {
+               position -0.465131 -0.38055 0;
+               rotation 1.5708;
+       };
+       track "24330"
+       {
+               position 0.310088 -0.0803 0;
+               rotation 1.5708;
+       };
+       track "24215"
+       {
+               position 0.142158 0.186105 0;
+               rotation 2.2253;
+       };
+       track "24207"
+       {
+               position 0.0138165 0.298658 0;
+               rotation 2.61799;
+       };
+       track "24711"
+       {
+               position 0.374455 -0.381008 0;
+               rotation 1.5708;
+       };
+       track "24530"
+       {
+               position 0.438821 -0.0809179 0;
+               rotation 1.5708;
+       };
+       track "24430"
+       {
+               position 0.374455 -0.080609 0;
+               rotation 1.5708;
+       };
+       track "24630"
+       {
+               position -0.19005 -0.380551 0;
+               rotation 1.5708;
+       };
+       track "24712"
+       {
+               position 0.438821 -0.381316 0;
+               rotation 1.5708;
+       };
+       track "24624"
+       {
+               position -0.0775215 -0.380625 0;
+               rotation 1.5708;
+       };
+       track "24640"
+       {
+               position -0.232565 0.185972 0;
+               rotation 1.5708;
+       };
+       track "24671"
+       {
+               position 0.0775225 -0.380624 0;
+               rotation 1.5708;
+       };
+       track "24977"
+       {
+               position -0.465131 0.186196 0;
+               rotation 1.5708;
+       };
+       track "24672"
+       {
+               position 0.155044 -0.380699 0;
+               rotation 1.5708;
+       };
+       track "24649"
+       {
+               position -0.348827 0.194312 0;
+               rotation 1.99491;
+       };
+       track "24064"
+       {
+               position 0.0775223 -0.080075 0;
+               rotation 1.5708;
+       };
+       track "24077"
+       {
+               position -0.0775215 -0.079925 0;
+               rotation 1.5708;
+       };
+       track "24229"
+       {
+               position -0.387609 -0.079626 0;
+               rotation 1.5708;
+       };
+       track "24071"
+       {
+               position 2.56295e-07 -0.0799999 0;
+               rotation 1.5708;
+       };
+       track "24094"
+       {
+               position -0.155042 -0.07985 0;
+               rotation 1.5708;
+       };
+       track "24188"
+       {
+               position -0.310087 -0.0797 0;
+               rotation 1.5708;
+       };
+       track "24236"
+       {
+               position -0.465131 -0.0795509 0;
+               rotation 1.5708;
+       };
+       track "24912"
+       {
+               position 0.310088 -0.380699 0;
+               rotation 1.5708;
+       };
+       track "24206"
+       {
+               position -0.446223 -0.161726 0;
+               rotation 2.0944;
+       };
+       track "24740"
+       {
+               position -0.112537 0.138174 0;
+               rotation 1.5708;
+       };
+       track "24360"
+       {
+               position -0.542646 -0.0794758 0;
+               rotation 1.5708;
+       };
+       signal "7039"
+       {
+               position -0.5020055 0.3153508 0.000000;
+               rotation 1.570800;
+       };
+};