Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
Coming soon: LTrax, an LDraw-Compatible "Track Designer"
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Fri, 27 Dec 2002 17:41:39 GMT
|
Viewed:
|
794 times
|
| |
| |
Hi!
I'm almost done with a working beta of my latest program: LTrax.
It's a program inspired by Track Designer by Matthew Bates, but *much* less
advanced.
The data files in LTrax are totally text based, and I have tried to make it
modular.
The models are in .ldr format, with meta-commands like:
0 LTrax Add 45Blue\Straight.txt
I have tried to make the syntax in the data files so understandable as
possible, so that more skilled programmers are able to make better GUI's and
programs for other platforms.
First a sample track model, then a sample data file:
0 (LTrax) Untitled Project
0 Name: oval.ldr
0 Author: Tore Eriksson
0 Generated by LTrax v0.01
0 LTrax Position -640 0 0
0 LTrax Angle 0
0 LTrax Add 45Blue\Straight.txt
1 15 -640.00 -8.00 0.000000 0 0 1 0 1 0 -1 0 0 3034.dat
1 15 -320.00 -8.00 0.000000 0 0 1 0 1 0 -1 0 0 3034.dat
1 1 -480.00 -24.00 -50.000000 1 0 0 0 1 0 -0 0 1 3228a.dat
1 1 -480.00 -24.00 50.000000 1 0 0 0 1 0 -0 0 1 3228a.dat
0 LTrax Add 45Blue\Straight.txt
1 15 -320.00 -8.00 0.000000 0 0 1 0 1 0 -1 0 0 3034.dat
1 15 0.00 -8.00 0.000000 0 0 1 0 1 0 -1 0 0 3034.dat
1 1 -160.00 -24.00 -50.000000 1 0 0 0 1 0 -0 0 1 3228a.dat
1 1 -160.00 -24.00 50.000000 1 0 0 0 1 0 -0 0 1 3228a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 0.00 -8.00 0.000000 0 0 1 0 1 0 -1 0 0 3034.dat
1 15 306.15 -8.00 -60.900002 -0.3827 0 0.9239 0 1 0 -0.9239 0 -0.3827
3034.dat
1 1 146.32 -24.00 -64.410004 0.9808 0 0.1951 0 1 0 -0.1951 0 0.9808
3230a.dat
1 1 165.83 -24.00 33.369999 0.9808 0 0.1951 0 1 0 -0.1951 0 0.9808
3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 306.15 -8.00 -60.900002 -0.3827 0 0.9239 0 1 0 -0.9239 0 -0.3827
3034.dat
1 15 565.70 -8.00 -234.329115 -0.7071 0 0.7071 0 1 0 -0.7071 0 -0.7071
3034.dat
1 1 416.69 -24.00 -176.405071 0.8315 0 0.5556 0 1 0 -0.5556 0 0.8315
3230a.dat
1 1 472.13 -24.00 -93.532600 0.8315 0 0.5556 0 1 0 -0.5556 0 0.8315
3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 565.70 -8.00 -234.329117 -0.7071 0 0.7071 0 1 0 -0.7071 0 -0.7071
3034.dat
1 15 739.11 -8.00 -493.870159 -0.9239 0 0.3827 0 1 0 -0.3827 0 -0.9239
3034.dat
1 1 623.61 -24.00 -383.336302 0.5556 0 0.8315 0 1 0 -0.8315 0 0.5556
3230a.dat
1 1 706.55 -24.00 -327.991581 0.5556 0 0.8315 0 1 0 -0.8315 0 0.5556
3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 739.11 -8.00 -493.870148 -0.9239 0 0.3827 0 1 0 -0.3827 0 -0.9239
3034.dat
1 15 800.01 -8.00 -800.028560 -1 0 0 0 1 0 -0 0 -1 3034.dat
1 1 735.60 -24.00 -653.704912 0.1951 0 0.9808 0 1 0 -0.9808 0 0.1951
3230a.dat
1 1 833.41 -24.00 -634.309789 0.1951 0 0.9808 0 1 0 -0.9808 0 0.1951
3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 800.01 -8.00 -800.028564 -1 0 0 0 1 0 -0 0 -1 3034.dat
1 15 739.11 -8.00 -1106.178558 -0.9239 0 -0.3827 0 1 0 0.3827 0 -0.9239
3034.dat
1 1 735.60 -24.00 -946.348572 -0.1951 0 0.9808 0 1 0 -0.9808 0 -0.1951
3230a.dat
1 1 833.38 -24.00 -965.858566 -0.1951 0 0.9808 0 1 0 -0.9808 0 -0.1951
3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 739.11 -8.00 -1106.178589 -0.9239 0 -0.3827 0 1 0 0.3827 0 -0.9239
3034.dat
1 15 565.68 -8.00 -1365.724140 -0.7071 0 -0.7071 0 1 0 0.7071 0 -0.7071
3034.dat
1 1 623.60 -24.00 -1216.713937 -0.5556 0 0.8315 0 1 0 -0.8315 0 -0.5556
3230a.dat
1 1 706.48 -24.00 -1272.159627 -0.5556 0 0.8315 0 1 0 -0.8315 0 -0.5556
3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 565.68 -8.00 -1365.724121 -0.7071 0 -0.7071 0 1 0 0.7071 0 -0.7071
3034.dat
1 15 306.14 -8.00 -1539.140384 -0.3827 0 -0.9239 0 1 0 0.9239 0 -0.3827
3034.dat
1 1 416.67 -24.00 -1423.642683 -0.8315 0 0.5556 0 1 0 -0.5556 0 -0.8315
3230a.dat
1 1 472.02 -24.00 -1506.578436 -0.8315 0 0.5556 0 1 0 -0.5556 0 -0.8315
3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 306.14 -8.00 -1539.140381 -0.3827 0 -0.9239 0 1 0 0.9239 0 -0.3827
3034.dat
1 15 -0.02 -8.00 -1600.038470 0 0 -1 0 1 0 1 0 0 3034.dat
1 1 146.30 -24.00 -1535.628644 -0.9808 0 0.1951 0 1 0 -0.1951 0 -0.9808
3230a.dat
1 1 165.70 -24.00 -1633.434064 -0.9808 0 0.1951 0 1 0 -0.1951 0 -0.9808
3229a.dat
0 LTrax Add 45Blue\Straight.txt
1 15 -0.02 -8.00 -1600.038452 0 0 -1 0 1 0 1 0 0 3034.dat
1 15 -320.02 -8.00 -1600.038452 0 0 -1 0 1 0 1 0 0 3034.dat
1 1 -160.02 -24.00 -1550.038452 -1 0 0 0 1 0 -0 0 -1 3228a.dat
1 1 -160.02 -24.00 -1650.038452 -1 0 0 0 1 0 -0 0 -1 3228a.dat
0 LTrax Add 45Blue\Straight.txt
1 15 -320.02 -8.00 -1600.038452 0 0 -1 0 1 0 1 0 0 3034.dat
1 15 -640.02 -8.00 -1600.038452 0 0 -1 0 1 0 1 0 0 3034.dat
1 1 -480.02 -24.00 -1550.038452 -1 0 0 0 1 0 -0 0 -1 3228a.dat
1 1 -480.02 -24.00 -1650.038452 -1 0 0 0 1 0 -0 0 -1 3228a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 -640.02 -8.00 -1600.038452 0 0 -1 0 1 0 1 0 0 3034.dat
1 15 -946.17 -8.00 -1539.138451 0.3827 0 -0.9239 0 1 0 0.9239 0 0.3827
3034.dat
1 1 -786.34 -24.00 -1535.628448 -0.9808 0 -0.1951 0 1 0 0.1951 0 -0.9808
3230a.dat
1 1 -805.85 -24.00 -1633.408451 -0.9808 0 -0.1951 0 1 0 0.1951 0 -0.9808
3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 -946.17 -8.00 -1539.138428 0.3827 0 -0.9239 0 1 0 0.9239 0 0.3827
3034.dat
1 15 -1205.71 -8.00 -1365.709314 0.7071 0 -0.7071 0 1 0 0.7071 0 0.7071
3034.dat
1 1 -1056.70 -24.00 -1423.633359 -0.8315 0 -0.5556 0 1 0 0.5556 0
-0.8315 3230a.dat
1 1 -1112.15 -24.00 -1506.505829 -0.8315 0 -0.5556 0 1 0 0.5556 0
-0.8315 3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 -1205.71 -8.00 -1365.709351 0.7071 0 -0.7071 0 1 0 0.7071 0 0.7071
3034.dat
1 15 -1379.13 -8.00 -1106.168308 0.9239 0 -0.3827 0 1 0 0.3827 0 0.9239
3034.dat
1 1 -1263.63 -24.00 -1216.702165 -0.5556 0 -0.8315 0 1 0 0.8315 0
-0.5556 3230a.dat
1 1 -1346.57 -24.00 -1272.046886 -0.5556 0 -0.8315 0 1 0 0.8315 0
-0.5556 3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 -1379.13 -8.00 -1106.168335 0.9239 0 -0.3827 0 1 0 0.3827 0 0.9239
3034.dat
1 15 -1440.03 -8.00 -800.009923 1 0 0 0 1 0 -0 0 1 3034.dat
1 1 -1375.62 -24.00 -946.333571 -0.1951 0 -0.9808 0 1 0 0.9808 0 -0.1951
3230a.dat
1 1 -1473.42 -24.00 -965.728693 -0.1951 0 -0.9808 0 1 0 0.9808 0 -0.1951
3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 -1440.03 -8.00 -800.009949 1 0 0 0 1 0 -0 0 1 3034.dat
1 15 -1379.13 -8.00 -493.859955 0.9239 0 0.3827 0 1 0 -0.3827 0 0.9239
3034.dat
1 1 -1375.62 -24.00 -653.689941 0.1951 0 -0.9808 0 1 0 0.9808 0 0.1951
3230a.dat
1 1 -1473.40 -24.00 -634.179947 0.1951 0 -0.9808 0 1 0 0.9808 0 0.1951
3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 -1379.13 -8.00 -493.859955 0.9239 0 0.3827 0 1 0 -0.3827 0 0.9239
3034.dat
1 15 -1205.70 -8.00 -234.314403 0.7071 0 0.7071 0 1 0 -0.7071 0 0.7071
3034.dat
1 1 -1263.62 -24.00 -383.324607 0.5556 0 -0.8315 0 1 0 0.8315 0 0.5556
3230a.dat
1 1 -1346.50 -24.00 -327.878916 0.5556 0 -0.8315 0 1 0 0.8315 0 0.5556
3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 -1205.70 -8.00 -234.314407 0.7071 0 0.7071 0 1 0 -0.7071 0 0.7071
3034.dat
1 15 -946.16 -8.00 -60.898144 0.3827 0 0.9239 0 1 0 -0.9239 0 0.3827
3034.dat
1 1 -1056.69 -24.00 -176.395846 0.8315 0 -0.5556 0 1 0 0.5556 0 0.8315
3230a.dat
1 1 -1112.04 -24.00 -93.460092 0.8315 0 -0.5556 0 1 0 0.5556 0 0.8315
3229a.dat
0 LTrax Add 45Blue\Curve_L.txt
1 15 -946.16 -8.00 -60.898144 0.3827 0 0.9239 0 1 0 -0.9239 0 0.3827
3034.dat
1 15 -640.00 -8.00 -0.000054 0 0 1 0 1 0 -1 0 0 3034.dat
1 1 -786.32 -24.00 -64.409880 0.9808 0 -0.1951 0 1 0 0.1951 0 0.9808
3230a.dat
1 1 -805.72 -24.00 33.395540 0.9808 0 -0.1951 0 1 0 0.1951 0 0.9808
3229a.dat
0 LTrax End
0
---------------------------
// 4.5v Blue Track Crossing
// Name: 45Blue\Crossing.txt
// Author: Tore Eriksson
// Unofficial LTrax Data File
//
[ConnectorF]
Position 0 0 0
Angle 16
LoRes begin
Poly 8 15 -20 80 20 80 20 -80 -20 -80
LoRes end
LDraw 1 15 0 -8 0 8 3034.dat
[ConnectorT]
Position 320 0 0
Angle 0
LoRes begin
Poly 8 15 300 80 340 80 340 -80 300 -80
LoRes end
LDraw 1 15 320 -8 0 8 3034.dat
[Connector]
Position 160 0 -160
Angle 8
LoRes begin
Poly 8 15 80 -140 240 -140 240 -180 80 -180
LoRes end
LDraw 1 15 160 -8 -160 0 3034.dat
[Connector]
Position 160 0 160
Angle 24
LoRes begin
Poly 8 15 80 140 240 140 240 180 80 180
LoRes end
LDraw 1 15 160 -8 160 0 3034.dat
[Parts]
LoRes begin
Poly 9 1 0 -40 320 -40 320 -60 0 -60
Poly 9 1 0 40 320 40 320 60 0 60
Poly 9 1 100 -160 120 -160 120 160 100 160
Poly 9 1 200 -160 220 -160 220 160 200 160
LoRes end
LDraw 1 1 160 -24 0 0 3231.dat
//
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|