summaryrefslogtreecommitdiff
path: root/app/lib/demos/dmextend.xtr
blob: 1b8deff4a9af0a78777395ada40d299a524f5649 (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
VERSION 2
DEMOINIT
ORIG 4.000 0.000 0.000
TURNOUT 1 DEMO 1 6.916667 2.666667 0.000000 "Peco-55	Med Left	SL-E396F"
	E 6.916667 2.666667 270.000000
	E 12.321667 2.666667 90.000000
	E 12.286667 3.188667 80.314000
	P "Normal" 1 2
	P "Reverse" 1 3 4
	S 0 0 0.000000 0.000000 0.353000 0.000000
	S 0 0 0.353000 0.000000 5.405000 0.000000
	C 0 0 -23.136000 0.351000 23.136000 170.297000 9.700000
	S 0 0 4.251000 0.331000 5.370000 0.522000
	END
STRAIGHT 2 DEMO 1
	E 2 1 270
	E 12 1 90
	END
REDRAW
RESET
MESSAGE
The unconnected endpoint of any track can also be extended with the <Modify> command using Right-Drag.
END
STEP
COMMAND Modify
MESSAGE
_________________________________________

Select the endoint and Right-Drag.
END
BIGPAUSE
MOUSE 5 12.250 2.750
MOUSE 6 15.500 2.583
MESSAGE
_________________________________________

The extending track can be straight...
END
BIGPAUSE
PAUSE 60
MOUSE 6 15.500 2.583
MOUSE 6 26.000 2.583
PAUSE 50
MESSAGE

... or curved.
END
BIGPAUSE
MOUSE 6 26.083 2.583
MOUSE 7 26.333 12.417
MESSAGE
_________________________________________

If you extend a straight or curved flex track and enable Easements then an Easement curve will be automatically generated when you extend the track.
END
STEP
PARAMETER misc cmdEasement
BIGPAUSE
PARAMETER easement val -1.0
BIGPAUSE
PARAMETER easement ok
MOUSE 5 12 1
MOUSE 6 18 1
MOUSE 7 28 11
MESSAGE
=========================================
END
STEP
REGRESSION START 10 - extend
TURNOUT  1 0 0 0 0 DEMO 2 6.916667 2.666667 0 0.000000 "Peco-55	Med Left	SL-E396F"
	E4 6.916667 2.666667 270.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	T4 3 12.321667 2.666667 90.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	E4 12.286667 3.188667 80.314000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	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 170.297000 9.700000
	S 0 0.000000 4.251000 0.331000 5.370000 0.522000
	END
STRAIGHT 2 0 0 0 0 DEMO 2
	E4 2.000000 1.000000 270.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	T4 5 7.000000 1.000000 90.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	END
CURVE 3 0 0 0 0 DEMO 2 12.321667 17.666667 0 15.000000 0 0.000000 0.000000
	E4 26.387026 12.454596 20.332733 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	T4 1 12.321667 2.666667 270.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	END
CURVE 4 0 0 0 0 DEMO 2 12.000000 19.456200 0 17.750000 0 0.000000 0.000000
	E4 27.955056 11.678110 25.989234 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	T4 5 21.407481 4.404230 237.994617 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	END
CORNU 5 0 0 0 0 DEMO 2 7.000000 1.000000 270.000000 0.000000 0.000000 0.000000 21.407481 4.404230 57.994617 17.750000 12.000000 19.456200 
	T4 2 7.000000 1.000000 270.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	T4 4 21.407481 4.404230 57.994617 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	W3 0 0.000000 7.000000 1.000000 9.503384 1.000000 12.022315 1.089191 14.466729 1.629346
	SUBSEGS
	C 0 0.000000 -52.368193 7.316059 53.367239 176.234238 4.111563
	C 0 0.000000 -25.732586 9.068549 26.789347 167.890545 8.350670
	SUBSEND
	W3 0 0.000000 14.466729 1.629346 16.911144 2.169502 19.284616 3.077439 21.407481 4.404230
	SUBSEGS
	C 0 0.000000 -22.076089 9.860159 23.219465 148.461646 19.494056
	SUBSEND
	END
REGRESSION END
CLEAR