summaryrefslogtreecommitdiff
path: root/app/lib/demos/dmtosel.xtr
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/demos/dmtosel.xtr')
-rw-r--r--app/lib/demos/dmtosel.xtr283
1 files changed, 283 insertions, 0 deletions
diff --git a/app/lib/demos/dmtosel.xtr b/app/lib/demos/dmtosel.xtr
new file mode 100644
index 0000000..953d43b
--- /dev/null
+++ b/app/lib/demos/dmtosel.xtr
@@ -0,0 +1,283 @@
+VERSION 2
+DEMOINIT
+ORIG 8.000 0.000 0.000
+PARAMETER turnout hide 1
+STRAIGHT 1 DEMO 1
+ E 2.050000 1.050000 270.000000
+ T 3 14.883333 1.050017 90.000000
+ END
+CURVE 2 DEMO 1 20.993080 13.050025 12.000000
+ E 32.991545 13.241946 359.083680
+ T 4 20.993048 1.050025 270.000000
+ END
+TURNOUT 3 DEMO 1 14.883333 1.050017 0.000000 "Peco-55 Medium Left SL-E396F"
+ T 1 14.883333 1.050017 270.000000
+ T 4 20.288333 1.050017 90.000000
+ E 20.253333 1.572017 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 4 DEMO 1
+ T 2 20.993080 1.050025 90.000000
+ T 3 20.288333 1.050024 270.000000
+ END
+REDRAW
+RESET
+MESSAGE
+Pressing the turnout button displays the Turnout Selection window to let you choose a turnout to place.
+
+Note that once you start to place the turnout on the Main window the Turnout Selection window disappears. This feature is enabled by the Hide toggle button on the dialog.
+END
+STEP
+COMMAND Turnout
+MOUSE 2 5.750 6.583
+MESSAGE
+_________________________________________
+
+You can place the turnout on a arbitrary position on the layout. Left-drag the turnout into place...
+END
+STEP
+MOUSE 3 5.833 6.583
+PAUSE 110
+MOUSE 3 6.333 6.583
+PAUSE 110
+MOUSE 3 6.750 6.583
+PAUSE 270
+MOUSE 3 6.833 6.583
+PAUSE 60
+MOUSE 3 7.417 6.583
+PAUSE 110
+MOUSE 3 7.917 6.667
+PAUSE 100
+MOUSE 3 8.333 6.750
+PAUSE 110
+MOUSE 3 8.750 6.917
+PAUSE 110
+MOUSE 3 9.250 6.917
+PAUSE 110
+MOUSE 3 9.750 6.917
+PAUSE 160
+MOUSE 3 10.250 6.917
+PAUSE 60
+MOUSE 3 10.667 6.917
+PAUSE 110
+MOUSE 3 10.917 7.083
+PAUSE 100
+MOUSE 3 11.417 7.250
+PAUSE 110
+MOUSE 3 11.917 7.583
+PAUSE 100
+MOUSE 3 12.250 7.917
+PAUSE 110
+MOUSE 3 12.583 8.083
+PAUSE 110
+MOUSE 3 12.917 8.250
+PAUSE 110
+MOUSE 3 13.167 8.417
+PAUSE 110
+MOUSE 3 13.250 8.417
+MOUSE 4 13.250 8.417
+BIGPAUSE
+MESSAGE
+_________________________________________
+
+Then you can rotate the turnout by Right dragging.
+
+You can also use Shift-Right-Click to display a popup menu that lets you rotate the Turnout by specific angles.
+END
+STEP
+MOUSE 5 13.250 8.500
+PAUSE 390
+MOUSE 6 13.250 8.583
+PAUSE 110
+MOUSE 6 13.250 8.750
+PAUSE 110
+MOUSE 6 13.250 8.917
+PAUSE 110
+MOUSE 6 13.417 9.250
+PAUSE 100
+MOUSE 6 13.417 9.333
+PAUSE 170
+MOUSE 6 13.583 9.750
+PAUSE 110
+MOUSE 6 13.667 9.917
+PAUSE 160
+MOUSE 6 13.750 10.167
+PAUSE 170
+MOUSE 6 13.750 10.583
+PAUSE 160
+MOUSE 6 13.667 10.583
+PAUSE 100
+MOUSE 6 13.417 10.750
+PAUSE 110
+MOUSE 6 13.000 10.917
+PAUSE 160
+MOUSE 6 11.667 11.250
+PAUSE 160
+MOUSE 6 11.500 11.250
+PAUSE 170
+MOUSE 6 11.333 11.083
+PAUSE 110
+MOUSE 6 11.167 11.083
+PAUSE 160
+MOUSE 6 11.000 10.917
+PAUSE 100
+MOUSE 6 10.667 10.583
+PAUSE 160
+MOUSE 6 10.667 10.417
+PAUSE 170
+MOUSE 6 10.500 10.250
+MOUSE 7 10.500 10.250
+MESSAGE
+_________________________________________
+
+When you are satisfied with the position and orientation of the turnout press Space bar or the Return key on the keyboard to finish placing the turnout.
+
+Pressing the Ok button on the Turnout dialog will end the <Turnout> command as well as placing the turnout.
+END
+STEP
+MOUSE 3336 10.500 10.250
+#PARAMETER turnout ok
+MESSAGE
+=========================================
+END
+STEP
+CLEAR
+MESSAGE
+If you drag along an existing track the new turnout will be attached to the track.
+
+Note that the status line tells you the number of End-Points that would be connected and, the maximum displacement of the End-Points. This will be useful when building complex track, as we will see later.
+END
+STEP
+MOUSE 2 4.667 1.083
+MOUSE 3 4.750 1.083
+PAUSE 110
+MOUSE 3 5.250 1.083
+PAUSE 110
+MOUSE 3 5.333 1.083
+PAUSE 170
+MOUSE 3 5.417 1.083
+PAUSE 160
+MOUSE 3 8.417 0.917
+PAUSE 100
+MOUSE 3 9.083 0.833
+PAUSE 110
+MOUSE 3 9.250 0.833
+PAUSE 490
+MOUSE 3 9.333 0.833
+PAUSE 110
+MOUSE 3 9.917 0.833
+PAUSE 100
+MOUSE 3 10.000 0.833
+PAUSE 170
+MOUSE 3 10.500 0.833
+PAUSE 1420
+MOUSE 3 10.583 0.833
+PAUSE 170
+MESSAGE
+_________________________________________
+
+By moving the cursor from one side to the other of the track centerline you can flip the turnout 180°.
+END
+STEP
+MOUSE 3 10.667 1.333
+BIGPAUSE
+MOUSE 3 10.667 0.833
+BIGPAUSE
+MOUSE 3 10.667 1.333
+BIGPAUSE
+MOUSE 3 10.667 0.833
+BIGPAUSE
+MOUSE 3 14.500 0.833
+PAUSE 110
+MESSAGE
+_________________________________________
+
+If you try to drag across another turnout the new turnout will placed at the nearest End-Point of the existing turnout.
+END
+STEP
+#ORIG 2.000 14.0 0.0
+MOUSE 3 15.333 0.950
+BIGPAUSE
+MOUSE 3 16.083 0.950
+BIGPAUSE
+MOUSE 3 16.750 0.950
+BIGPAUSE
+MOUSE 3 17.667 0.950
+BIGPAUSE
+MOUSE 3 18.750 0.950
+BIGPAUSE
+MOUSE 3 19.583 0.950
+#ORIG 8.000 0.000 0.000
+MOUSE 3 20.833 0.950
+PAUSE 110
+MOUSE 3 21.250 0.950
+PAUSE 170
+MOUSE 3 22.000 0.950
+PAUSE 100
+MOUSE 3 22.333 0.950
+PAUSE 220
+MOUSE 3 22.917 1.000
+PAUSE 170
+MOUSE 3 23.333 1.167
+PAUSE 160
+MOUSE 3 23.833 1.333
+PAUSE 170
+MOUSE 3 24.333 1.500
+PAUSE 160
+MOUSE 3 24.750 1.667
+PAUSE 100
+MOUSE 3 25.083 1.833
+PAUSE 170
+MOUSE 3 25.667 2.000
+PAUSE 220
+MOUSE 3 26.000 2.167
+PAUSE 160
+MOUSE 3 26.167 2.167
+PAUSE 160
+MOUSE 3 26.500 2.333
+PAUSE 100
+MOUSE 3 26.917 2.500
+PAUSE 220
+MOUSE 3 27.417 2.667
+PAUSE 160
+MOUSE 3 27.917 3.000
+PAUSE 170
+MOUSE 3 28.500 3.333
+PAUSE 160
+MOUSE 3 29.167 3.833
+PAUSE 100
+MOUSE 3 30.000 4.333
+PAUSE 170
+MOUSE 3 30.667 4.833
+PAUSE 160
+MOUSE 3 31.083 5.167
+MOUSE 4 31.667 5.833
+MESSAGE
+_________________________________________
+
+When you press Space or Return while the turnout is on a track, the track will be split and the new turnout attached automatically.
+END
+BIGPAUSE
+#PARAMETER turnout ok
+MOUSE 3336 10.500 10.250
+MESSAGE
+=========================================
+END
+BIGPAUSE
+CLEAR
+MESSAGE
+
+Pressing Close ends the <Turnout> command.
+END
+STEP
+PARAMETER turnout ok
+MESSAGE
+=========================================
+END
+STEP
+CLEAR