blob: 03a549e26f04d6a6c170eaba5493bff762a36b36 (
plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
# XTrkCad Version: 3.0.1, Date: Sat Sep 23 14:10:40 2000
VERSION 10
DEMOINIT
ORIG 1.000 0.000 0.000
PARAMETER display labelenable 4
TURNOUT 2 0 0 0 0 DEMO 2 0.218750 1.390625 0 0.000000 "Peco-55 Medium Left SL-E396F"
E 0.218750 1.390625 270.000000
E 5.623750 1.390625 90.000000
E 5.588750 1.912625 80.314000
D -0.015000 -1.136000
P "Normal" 1 2
P "Reverse" 1 3 4
S 0 0.000000 0.000000 0.000000 0.353000 0.000000
S 0 0.000000 0.353000 0.000000 5.405000 0.000000
C 0 0.000000 -23.136000 0.351000 23.136000 170.297000 9.700000
S 0 0.000000 4.251000 0.331000 5.370000 0.522000
END
REDRAW
RESET
MESSAGE
Sometimes it's useful to modify turnouts triming one of the ends.
We use the <Split> command for this.
END
STEP
COMMAND SplitTrack
MESSAGE
_________________________________________
Normally, if we try to Split a turnout we get an error message.
END
STEP
MOUSE 2 4.922 1.406
MOUSE 4 4.922 1.406
RESET
MESSAGE
_________________________________________
Hold down the Shift key and try again.
END
STEP
COMMAND SplitTrack
#KEYSTATE 2
#MOUSE 2 4.906 1.391
#KEYSTATE 2
#MOUSE 4 4.906 1.391
KEYSTATE 2
MOUSE 2 5.094 1.375
KEYSTATE 2
MOUSE 4 5.094 1.375
MESSAGE
_________________________________________
The end of the turnout has been replaced by a piece of straight flex track which we can modify.
END
STEP
COMMAND Modify
KEYSTATE 2
MOUSE 2 5.562 1.344
KEYSTATE 2
MOUSE 4 5.938 1.359
MESSAGE
_________________________________________
We can try splitting the diverging leg.
END
STEP
COMMAND SplitTrack
KEYSTATE 2
MOUSE 2 3.453 1.672
KEYSTATE 2
MOUSE 4 3.453 1.672
MESSAGE
_________________________________________
Notice that the tail of the diverging leg has been changed to a curved track...
END
STEP
COMMAND Describe
MOUSE 2 4.078 1.672
MOUSE 4 4.078 1.672
STEP
MESSAGE
and a straight track.
END
STEP
MOUSE 2 5.453 1.875
MOUSE 4 5.453 1.875
#DESCRIBE OK
PARAMETER describe ok
MESSAGE
=========================================
END
STEP
REGRESSION START 12 - turnout trim
# ../share/xtrkcad/demos/dmtotrim.xtr - 96
TURNOUT 2 0 64 0 0 DEMO 2 0.218750 1.390625 0 0.000000 "Peco-55 Medium Left SL-E396F"
E4 0.218750 1.390625 270.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000
T4 4 5.094000 1.390625 90.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000
T4 5 3.465544 1.572565 82.809773 0 0.0 0.0 0.0 0.0 0 0 0 0.000000
D -0.015000 -1.136000
P "Normal" 1 2
P "Reverse" 1 3
S 0 0.000000 0.000000 0.000000 0.353000 0.000000
S 0 0.000000 0.353000 0.000000 4.875250 0.000000
C 0 0.000000 -23.136000 0.351000 23.136000 172.809773 7.187227
END$SEGS
STRAIGHT 4 0 0 0 0 DEMO 2
T4 2 5.094000 1.390625 270.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000
E4 5.938592 1.390625 90.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000
END$SEGS
CURVE 5 0 0 0 0 DEMO 2 0.569750 24.526625 0 23.136000 0 0.000000 0.000000
T4 6 4.469114 1.721594 80.297000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000
T4 2 3.465544 1.572565 262.809773 0 0.0 0.0 0.0 0.0 0 0 0 0.000000
END$SEGS
STRAIGHT 6 0 0 0 0 DEMO 2
T4 5 4.469750 1.721625 260.313640 0 0.0 0.0 0.0 0.0 0 0 0 0.000000
E4 5.588750 1.912625 80.313640 0 0.0 0.0 0.0 0.0 0 0 0 0.000000
END$SEGS
REGRESSION END
CLEAR
|