summaryrefslogtreecommitdiff
path: root/app/lib/demos/dmflip.xtr
blob: b6ad7ab705f9baf46ad82aac067ecf77479dd915 (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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# XTrkCad Version: 3.0.1, Date: Sat Sep 23 22:47:33 2000

VERSION 10
DEMOINIT
ORIG 4.000 0.000 0.000
PARAMETER display description-fontsize 64
STRUCTURE 1 0 0 0 0 DEMO 2 6.210395 3.915802 0 236.697715 "Walthers	Interstate Fuel - Loading Rack	933-32000a"
	D 0.000000 0.000000
	L3 0 0.000000 0.750000 0.000000 0 3.750000 0.000000 0
	L3 0 0.000000 3.750000 0.000000 0 3.750000 3.125000 0
	L3 0 0.000000 3.750000 3.125000 0 0.750000 3.125000 0
	L3 0 0.000000 3.687500 0.062500 0 1.687500 0.062500 0
	L3 0 0.000000 1.687500 0.062500 0 1.687500 0.812500 0
	L3 0 0.000000 1.687500 0.812500 0 3.687500 0.812500 0
	L3 0 0.000000 3.687500 0.812500 0 3.687500 0.062500 0
	L3 0 0.000000 3.687500 3.062500 0 1.687500 3.062500 0
	L3 0 0.000000 1.687500 3.062500 0 1.687500 2.312500 0
	L3 0 0.000000 1.687500 2.312500 0 3.687500 2.312500 0
	L3 0 0.000000 3.687500 2.312500 0 3.687500 3.062500 0
	L3 0 0.000000 3.687500 1.187500 0 1.687500 1.187500 0
	L3 0 0.000000 1.687500 1.187500 0 1.687500 1.937500 0
	L3 0 0.000000 1.687500 1.937500 0 3.687500 1.937500 0
	L3 0 0.000000 3.687500 1.937500 0 3.687500 1.187500 0
	A3 0 0.000000 0.088388 3.000000 2.687500 0 0.000000 360.000000
	A3 0 0.000000 0.088388 3.000000 1.562500 0 0.000000 360.000000
	A3 0 0.000000 0.088388 3.000000 0.437500 0 0.000000 360.000000
	L3 0 0.000000 0.750000 2.875000 0 0.000000 2.875000 0
	L3 0 0.000000 0.000000 2.875000 0 0.000000 0.250000 0
	L3 0 0.000000 0.000000 0.250000 0 0.750000 0.250000 0
	L3 0 0.000000 1.500000 2.187500 0 0.437500 2.187500 0
	L3 0 0.000000 0.437500 2.187500 0 0.437500 0.937500 0
	L3 0 0.000000 0.437500 0.937500 0 1.500000 0.937500 0
	L3 0 0.000000 1.500000 0.937500 0 1.500000 2.187500 0
	L3 0 0.000000 0.750000 3.125000 0 0.750000 2.187500 0
	L3 0 0.000000 0.750000 0.000000 0 0.750000 0.937500 0
	END
STRAIGHT 2 0 0 0 0 DEMO 2
	E 0.105826 -1.346082 236.697715
	T 5 3.511000 0.890894 56.697715
	END
STRUCTURE 3 0 0 0 0 DEMO 2 15.697638 4.710368 0 326.697715 "Walthers	Shady Jct Water Tower	933-3205a"
	D 0.000000 0.000000
	L3 0 0.000000 0.000000 0.000000 0 1.562500 0.000000 0
	L3 0 0.000000 1.562500 0.000000 0 1.562500 1.562500 0
	L3 0 0.000000 1.562500 1.562500 0 0.000000 1.562500 0
	L3 0 0.000000 0.000000 1.562500 0 0.000000 0.000000 0
	L3 0 0.000000 0.000000 0.375000 0 1.250000 0.375000 0
	L3 0 0.000000 1.250000 0.375000 0 1.250000 1.562500 0
	L3 0 0.000000 0.625000 1.000000 0 0.625000 0.375000 0
	L3 0 0.000000 0.625000 1.000000 0 1.250000 1.000000 0
	L3 0 0.000000 0.625000 1.000000 0 0.000000 1.000000 0
	L3 0 0.000000 0.625000 1.000000 0 0.625000 1.562500 0
	L3 0 0.000000 0.625000 1.000000 0 1.062500 1.437500 0
	L3 0 0.000000 0.625000 1.000000 0 1.062500 0.562500 0
	L3 0 0.000000 0.625000 1.000000 0 0.187500 0.562500 0
	L3 0 0.000000 0.625000 1.000000 0 0.187500 1.437500 0
	L3 0 0.000000 0.625000 1.562500 0 1.062500 1.437500 0
	L3 0 0.000000 1.062500 1.437500 0 1.250000 1.000000 0
	L3 0 0.000000 1.250000 1.000000 0 1.062500 0.562500 0
	L3 0 0.000000 1.062500 0.562500 0 0.625000 0.375000 0
	L3 0 0.000000 0.625000 0.375000 0 0.187500 0.562500 0
	L3 0 0.000000 0.187500 0.562500 0 0.000000 1.000000 0
	L3 0 0.000000 0.000000 1.000000 0 0.187500 1.437500 0
	L3 0 0.000000 0.187500 1.437500 0 0.625000 1.562500 0
	L3 0 0.000000 1.250000 1.500000 0 1.750000 1.500000 0
	L3 0 0.000000 1.750000 1.500000 0 1.750000 1.062500 0
	L3 0 0.000000 1.750000 1.062500 0 1.250000 1.062500 0
	END
STRAIGHT 4 0 0 0 0 DEMO 2
	E 22.026067 13.054077 56.697715
	T 5 8.028421 3.858543 236.697715
	END
TURNOUT  5 0 0 0 0 DEMO 2 3.511000 0.890894 0 326.697715 "Peco-55	Medium Right	SL-E395F"
	T 2 3.511000 0.890894 236.697715
	T 4 8.028421 3.858543 56.697715
	T 8 8.285775 3.403046 66.383715
	D 0.000000 0.000000
	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 0.004000 9.700000
	S 0 0.000000 4.251000 -0.331000 5.370000 -0.522000
	END
STRAIGHT 6 0 0 0 0 DEMO 2
	E 22.690715 11.995108 56.697715
	T 7 13.433501 5.913726 236.697715
	END
CURVE 7 0 0 0 0 DEMO 2 4.259807 19.878127 0 16.708116 0 0.000000 0.000000
	T 6 13.433501 5.913726 56.697715
	T 8 10.953237 4.569334 246.383715
	END
STRAIGHT 8 0 0 0 0 DEMO 2
	T 5 8.285775 3.403046 246.383715
	T 7 10.953237 4.569334 66.383715
	END
STRUCTURE 9 0 0 0 0 DEMO 2 16.897495 6.987885 0 326.697715 "Walthers	2-Stall Engine House	933-3204"
	D 0.000000 0.000000
	L3 0 0.000000 0.000000 0.000000 0 7.625000 0.000000 0
	L3 0 0.000000 7.625000 0.000000 0 7.625000 3.250000 0
	L3 0 0.000000 7.625000 3.250000 0 0.000000 3.250000 0
	L3 0 0.000000 0.000000 3.250000 0 0.000000 0.000000 0
	L3 0 0.000000 0.000000 1.625000 0 7.625000 1.625000 0
	L3 0 0.000000 0.000000 2.000000 0 7.625000 2.000000 0
	L3 0 0.000000 0.000000 1.250000 0 7.625000 1.250000 0
	A3 0 0.000000 0.225347 6.625000 0.875000 0 0.000000 360.000000
	A3 0 0.000000 0.139754 6.625000 0.875000 0 0.000000 360.000000
	A3 0 0.000000 0.225347 1.000000 0.875000 0 0.000000 360.000000
	A3 0 0.000000 0.139754 1.000000 0.875000 0 0.000000 360.000000
	A3 0 0.000000 0.225347 1.000000 2.375000 0 0.000000 360.000000
	A3 0 0.000000 0.139754 1.000000 2.375000 0 0.000000 360.000000
	A3 0 0.000000 0.225347 6.625000 2.375000 0 0.000000 360.000000
	A3 0 0.000000 0.139754 6.625000 2.375000 0 0.000000 360.000000
	END
DRAW 10 0 0 0 0 0.000000 0.000000 0 0.000000
	F3 3866368 0.000000 3
		8.000000 11.000000 0
		8.000000 5.687500 0
		10.156250 5.687500 0
	END
REDRAW
RESET
MESSAGE
The <Flip> command will create a mirror image of the selected objects.
END
STEP
MOUSE 2 7.625 7.938
MOUSE 4 7.625 7.938
COMMAND Flip
MESSAGE
_________________________________________

After selecting the object, drag a line which will form the mirror.
END
STEP
MOUSE 2 6.938 7.875
BIGPAUSE
MOUSE 4 10.438 7.875
MESSAGE
_________________________________________

The mirror line does not have to be vertical or horizontal.
END
STEP
MOUSE 2 6.938 6.000
BIGPAUSE
MOUSE 4 10.562 10.625
MESSAGE
_________________________________________

You can also flip any number of objects.

Watch what happens to the structure and turnout titles.
END
STEP
PARAMETER misc cmdSelectAll
BIGPAUSE
MOUSE 2 12.000 11.938
BIGPAUSE
MOUSE 4 12.000 -0.125
REDRAW
MESSAGE
_________________________________________

Note that the turnout title has been changed from the Medium Right to Medium Left.   When turnouts are flipped, XTrackCAD will try to find a matching turnout and if found will change the name.
END
STEP
COMMAND Describe
MESSAGE
_________________________________________

Structures do not have Right and Left hand versions.  Their title is changed to indicate that they were flipped.

You can use the <Describe> command to change their title.
END
STEP
MOUSE 2 20.125 4.812
MOUSE 4 20.125 4.812
STEP
#DESCRIBE Name	Interstate Fuel - Loading Rack 
PARAMETER describe S2 Interstate Fuel - Loading Rack
BIGPAUSE
#DESCRIBE OK
PARAMETER describe ok
REDRAW
MESSAGE
=========================================
END
STEP
CLEAR