summaryrefslogtreecommitdiff
path: root/app/lib/demos/dmctlpnl.xtr
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 16:52:56 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 16:52:56 +0100
commit7b358424ebad9349421acd533c2fa1cbf6cf3e3e (patch)
tree686678532eefed525c242fd214d0cfb2914726c5 /app/lib/demos/dmctlpnl.xtr
Initial import of xtrkcad version 1:4.0.2-2
Diffstat (limited to 'app/lib/demos/dmctlpnl.xtr')
-rw-r--r--app/lib/demos/dmctlpnl.xtr891
1 files changed, 891 insertions, 0 deletions
diff --git a/app/lib/demos/dmctlpnl.xtr b/app/lib/demos/dmctlpnl.xtr
new file mode 100644
index 0000000..e98604d
--- /dev/null
+++ b/app/lib/demos/dmctlpnl.xtr
@@ -0,0 +1,891 @@
+
+VERSION 10
+DEMOINIT
+ROOMSIZE 48.0 x 12.0
+ORIG 8.000 0.000 0.000
+
+PARAMETER display labelenable 4
+PARAMETER display description-fontsize 48
+PARAMETER display layoutlabels 1
+STRAIGHT 1 0 0 0 0 DEMO 2
+ E 0.000000 5.984375 270.000000
+ T 4 4.375000 5.984375 90.000000
+ END
+STRAIGHT 2 0 0 0 0 DEMO 2
+ T 11 17.438834 4.734375 270.000000
+ T 16 17.562500 4.734375 90.000000
+ END
+STRAIGHT 3 0 0 0 0 DEMO 2
+ E 48.000000 5.984375 90.000000
+ T 6 41.375000 5.984375 270.000000
+ END
+TURNOUT 4 0 0 0 0 DEMO 2 4.375000 5.984375 0 0.000000 "Peco-55 Medium Right SL-E395F"
+ T 1 4.375000 5.984375 270.000000
+ T 5 9.780000 5.984375 90.000000
+ T 7 9.745000 5.462375 99.686000
+ 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 5 0 0 0 0 DEMO 2
+ T 4 9.780000 5.984375 270.000000
+ T 6 35.970000 5.984375 90.000000
+ END
+TURNOUT 6 0 0 0 0 DEMO 2 41.375000 5.984375 0 180.000000 "Peco-55 Medium Left SL-E396F"
+ T 3 41.375000 5.984375 90.000000
+ T 5 35.970000 5.984375 270.000000
+ T 8 36.005000 5.462375 260.314000
+ 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 7 0 0 0 0 DEMO 2
+ T 4 9.745000 5.462375 279.686000
+ T 10 10.630543 5.311229 99.686000
+ END
+STRAIGHT 8 0 0 0 0 DEMO 2
+ T 6 36.005000 5.462375 80.314000
+ T 13 35.119457 5.311229 260.314000
+ END
+CURVE 9 0 0 0 0 DEMO 2 15.937500 27.480640 0 22.729792 0 0.000000 0.000000
+ T 11 14.436166 4.800485 93.787221
+ T 10 13.601529 4.871202 275.898779
+ END
+JOINT 10 0 0 0 0 DEMO 2 0.000000 3.002667 9.750000 7.000000 0 1 0 10.630543 5.311229 0 99.686000
+ T 7 10.630543 5.311229 279.686000
+ T 9 13.601529 4.871202 95.898779
+ END
+JOINT 11 0 0 0 0 DEMO 2 0.000000 3.002667 9.750000 7.000000 0 0 0 17.438834 4.734375 0 269.999999
+ T 2 17.438834 4.734375 90.000000
+ T 9 14.436166 4.800485 273.787221
+ END
+CURVE 12 0 0 0 0 DEMO 2 29.812500 27.480640 0 22.729792 0 0.000000 0.000000
+ T 13 32.148471 4.871202 84.101221
+ T 14 31.313834 4.800485 266.212779
+ END
+JOINT 13 0 0 0 0 DEMO 2 0.000000 3.002667 9.750000 7.000000 0 0 0 35.119457 5.311229 0 260.314000
+ T 8 35.119457 5.311229 80.314000
+ T 12 32.148471 4.871202 264.101221
+ END
+JOINT 14 0 0 0 0 DEMO 2 0.000000 3.002667 9.750000 7.000000 0 1 0 28.311166 4.734375 0 90.000001
+ T 15 28.311166 4.734375 270.000000
+ T 12 31.313834 4.800485 86.212779
+ END
+STRAIGHT 15 0 0 0 0 DEMO 2
+ T 14 28.311166 4.734375 90.000000
+ T 16 22.967500 4.734375 270.000000
+ END
+TURNOUT 16 0 0 0 0 DEMO 2 17.562500 4.734375 0 0.000000 "Peco-55 Medium Right SL-E395F"
+ T 2 17.562500 4.734375 270.000000
+ T 15 22.967500 4.734375 90.000000
+ T 17 22.932500 4.212375 99.686000
+ 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 17 0 0 0 0 DEMO 2
+ T 16 22.932500 4.212375 279.686000
+ E 37.586240 1.711250 99.686000
+ END
+LAYERS 0 1 0 1 255 0 0 0 0 "Main"
+LAYERS 3 1 0 0 16776960 0 0 0 0 ""
+LAYERS 4 0 0 1 65280 0 0 0 0 ""
+LAYERS 6 1 0 1 179456 0 0 0 0 ""
+LAYERS 7 0 0 1 8388736 0 0 0 0 ""
+LAYERS 8 0 0 1 8421376 0 0 0 0 ""
+LAYERS 10 0 0 1 255 0 0 0 0 ""
+LAYERS CURRENT 0
+REDRAW
+RESET
+MESSAGE
+This demo will construct a control panel for part of a bigger layout.
+END
+STEP
+RESET
+MESSAGE
+_________________________________________
+
+For our control panel we will use ¼" lines.
+Also, we will use a 1/8" grid to lay out our controls.
+
+First, we will set up the Snap Grid for 1" grid lines and 8 divisions.
+END
+STEP
+COMMAND Change Grid...
+STEP
+PARAMETER grid vertspacing 1.000000
+PARAMETER grid horzspacing 1.000000
+PARAMETER grid horzdivision 8
+PARAMETER grid vertdivision 8
+MESSAGE
+_________________________________________
+
+Now, clear the layout and turn on the Snap Grid.
+END
+STEP
+PARAMETER grid ok
+PARAMETER misc menuFile-clear
+PARAMETER misc cmdGridShow
+PARAMETER misc cmdGridEnable
+ORIG 2.000 0.000 2.000
+CLEAR
+MESSAGE
+First step: draw the lines representing the tracks.
+
+We specify the line width in pixels.
+
+To create a ¼" line, divide the dots-per-inch (DPI) of your display by 4 and then by the drawing scale (which is 2 right now).
+
+For MS-Windows the DPI is usually 98, so choose: 98/4/2 = 12 (approximately).
+For Linux, the DPI is usually 72, so choose: 72/4/2 = 9.
+END
+STEP
+COMMAND DrawLine
+PARAMETER draw linewidth 0
+PARAMETER draw linecolor 0
+PARAMETER GROUP draw
+PARAMETER draw linewidth 12
+STEP
+MOUSE 2 1.000 6.000
+MOUSE 3 1.016 6.000
+MOUSE 3 1.016 6.016
+MOUSE 3 1.047 6.016
+MOUSE 3 1.078 6.016
+MOUSE 3 1.125 6.016
+MOUSE 3 1.234 6.000
+MOUSE 3 1.375 5.969
+MOUSE 3 1.531 5.969
+MOUSE 3 1.734 5.938
+MOUSE 3 1.922 5.938
+MOUSE 3 2.141 5.938
+MOUSE 3 2.391 5.938
+MOUSE 3 2.641 5.906
+MOUSE 3 2.844 5.906
+MOUSE 3 3.031 5.906
+MOUSE 3 3.203 5.906
+MOUSE 3 3.344 5.906
+MOUSE 3 3.484 5.906
+MOUSE 3 3.609 5.938
+MOUSE 3 3.625 5.938
+MOUSE 3 3.641 5.938
+MOUSE 3 3.656 5.953
+MOUSE 3 3.750 5.984
+MOUSE 3 3.781 5.984
+MOUSE 3 3.922 5.984
+MOUSE 3 4.125 5.984
+MOUSE 3 4.344 5.953
+MOUSE 3 4.594 5.891
+MOUSE 3 4.875 5.875
+MOUSE 3 5.172 5.844
+MOUSE 3 5.422 5.812
+MOUSE 3 5.625 5.781
+MOUSE 3 5.875 5.750
+MOUSE 3 6.000 5.734
+MOUSE 3 6.094 5.703
+MOUSE 3 6.125 5.703
+MOUSE 3 6.156 5.688
+MOUSE 3 6.203 5.688
+MOUSE 3 6.219 5.688
+MOUSE 3 6.234 5.688
+MOUSE 3 6.250 5.688
+MOUSE 3 6.250 5.688
+MOUSE 3 6.250 5.703
+MOUSE 3 6.250 5.719
+MOUSE 3 6.281 5.734
+MOUSE 3 6.328 5.734
+MOUSE 3 6.469 5.734
+MOUSE 3 6.625 5.734
+MOUSE 3 6.828 5.734
+MOUSE 3 7.047 5.750
+MOUSE 3 7.375 5.750
+MOUSE 3 7.656 5.781
+MOUSE 3 7.906 5.781
+MOUSE 3 8.109 5.781
+MOUSE 3 8.266 5.781
+MOUSE 3 8.406 5.781
+MOUSE 3 8.578 5.781
+MOUSE 3 8.719 5.781
+MOUSE 3 8.828 5.781
+MOUSE 3 8.875 5.781
+MOUSE 3 8.891 5.766
+MOUSE 3 8.906 5.766
+MOUSE 3 8.922 5.766
+MOUSE 3 8.922 5.781
+MOUSE 3 8.922 5.812
+MOUSE 3 8.938 5.844
+MOUSE 3 9.000 5.891
+MOUSE 3 9.078 5.953
+MOUSE 3 9.188 5.984
+MOUSE 3 9.359 6.000
+MOUSE 3 9.516 6.000
+MOUSE 3 9.656 6.000
+MOUSE 3 9.859 6.000
+MOUSE 3 10.000 6.000
+MOUSE 3 10.109 6.000
+MOUSE 3 10.250 6.000
+MOUSE 3 10.375 6.000
+MOUSE 3 10.516 6.000
+MOUSE 3 10.656 6.031
+MOUSE 3 10.797 6.031
+MOUSE 3 10.938 6.062
+MOUSE 3 10.984 6.062
+MOUSE 3 11.062 6.094
+MOUSE 3 11.078 6.094
+MOUSE 3 11.094 6.109
+MOUSE 3 11.109 6.109
+MOUSE 3 11.125 6.109
+MOUSE 3 11.125 6.109
+MOUSE 3 11.141 6.109
+MOUSE 3 11.156 6.125
+MOUSE 3 11.172 6.125
+MOUSE 3 11.188 6.125
+MOUSE 3 11.203 6.125
+MOUSE 3 11.203 6.125
+MOUSE 3 11.219 6.125
+MOUSE 3 11.234 6.109
+MOUSE 3 11.250 6.094
+MOUSE 3 11.250 6.078
+MOUSE 3 11.266 6.062
+MOUSE 3 11.281 6.062
+MOUSE 3 11.297 6.062
+MOUSE 3 11.297 6.047
+MOUSE 3 11.312 6.047
+MOUSE 3 11.328 6.047
+MOUSE 3 11.312 6.047
+MOUSE 3 11.281 6.062
+MOUSE 3 11.172 6.094
+MOUSE 3 11.062 6.094
+MOUSE 3 10.953 6.094
+MOUSE 3 10.812 6.125
+MOUSE 3 10.703 6.125
+MOUSE 3 10.562 6.125
+MOUSE 3 10.516 6.125
+MOUSE 3 10.484 6.125
+MOUSE 3 10.453 6.125
+MOUSE 3 10.422 6.125
+MOUSE 3 10.406 6.125
+MOUSE 3 10.391 6.125
+MOUSE 3 10.375 6.125
+MOUSE 3 10.375 6.109
+MOUSE 3 10.375 6.109
+MOUSE 3 10.375 6.109
+MOUSE 3 10.391 6.109
+MOUSE 3 10.422 6.109
+MOUSE 3 10.500 6.078
+MOUSE 3 10.547 6.078
+MOUSE 3 10.578 6.078
+MOUSE 3 10.625 6.078
+MOUSE 3 10.641 6.062
+MOUSE 3 10.672 6.062
+MOUSE 3 10.688 6.062
+MOUSE 3 10.719 6.062
+MOUSE 3 10.734 6.062
+MOUSE 3 10.750 6.062
+MOUSE 3 10.750 6.062
+MOUSE 3 10.766 6.062
+MOUSE 3 10.781 6.062
+MOUSE 3 10.797 6.078
+MOUSE 3 10.812 6.078
+MOUSE 3 10.844 6.078
+MOUSE 3 10.875 6.078
+MOUSE 3 10.875 6.078
+MOUSE 3 10.891 6.078
+MOUSE 3 10.906 6.078
+MOUSE 3 10.922 6.078
+MOUSE 3 10.938 6.078
+MOUSE 3 10.953 6.078
+MOUSE 3 10.969 6.078
+MOUSE 3 10.984 6.078
+MOUSE 3 10.984 6.062
+MOUSE 3 10.984 6.047
+MOUSE 3 11.000 6.031
+MOUSE 3 11.000 6.016
+MOUSE 3 11.000 6.000
+MOUSE 3 11.000 6.000
+MOUSE 3 11.000 6.000
+MOUSE 3 11.000 5.984
+MOUSE 4 11.000 5.984
+BIGPAUSE
+MOUSE 2 3.000 4.984
+MOUSE 4 8.969 5.047
+BIGPAUSE
+MOUSE 2 2.000 6.016
+MOUSE 4 2.969 5.031
+BIGPAUSE
+MOUSE 2 10.000 6.016
+MOUSE 4 9.000 5.000
+MOUSE 2 6.000 5.000
+MOUSE 3 6.000 4.984
+MOUSE 3 6.000 4.984
+MOUSE 3 6.031 4.969
+MOUSE 3 6.047 4.953
+MOUSE 3 6.078 4.938
+MOUSE 3 6.109 4.938
+MOUSE 3 6.125 4.922
+MOUSE 3 6.156 4.906
+MOUSE 3 6.188 4.891
+MOUSE 3 6.203 4.891
+MOUSE 3 6.234 4.875
+MOUSE 3 6.250 4.875
+MOUSE 3 6.250 4.875
+MOUSE 3 6.281 4.875
+MOUSE 3 6.281 4.859
+MOUSE 3 6.297 4.844
+MOUSE 3 6.312 4.844
+MOUSE 3 6.328 4.828
+MOUSE 3 6.344 4.828
+MOUSE 3 6.375 4.812
+MOUSE 3 6.375 4.797
+MOUSE 3 6.438 4.750
+MOUSE 3 6.469 4.734
+MOUSE 3 6.516 4.672
+MOUSE 3 6.547 4.656
+MOUSE 3 6.578 4.641
+MOUSE 3 6.594 4.625
+MOUSE 3 6.609 4.625
+MOUSE 3 6.625 4.609
+MOUSE 3 6.625 4.594
+MOUSE 3 6.625 4.578
+MOUSE 3 6.625 4.562
+MOUSE 3 6.625 4.547
+MOUSE 3 6.625 4.531
+MOUSE 3 6.641 4.516
+MOUSE 3 6.656 4.500
+MOUSE 3 6.672 4.484
+MOUSE 3 6.688 4.469
+MOUSE 3 6.734 4.438
+MOUSE 3 6.734 4.422
+MOUSE 3 6.750 4.422
+MOUSE 3 6.750 4.406
+MOUSE 3 6.766 4.391
+MOUSE 3 6.781 4.375
+MOUSE 3 6.797 4.359
+MOUSE 3 6.828 4.344
+MOUSE 3 6.844 4.328
+MOUSE 3 6.859 4.312
+MOUSE 3 6.859 4.297
+MOUSE 3 6.875 4.297
+MOUSE 3 6.875 4.281
+MOUSE 3 6.891 4.281
+MOUSE 3 6.906 4.281
+MOUSE 3 6.922 4.281
+MOUSE 3 6.938 4.266
+MOUSE 3 6.969 4.266
+MOUSE 3 7.047 4.250
+MOUSE 3 7.078 4.234
+MOUSE 3 7.156 4.203
+MOUSE 3 7.250 4.172
+MOUSE 3 7.297 4.125
+MOUSE 3 7.328 4.109
+MOUSE 3 7.344 4.109
+MOUSE 3 7.359 4.109
+MOUSE 3 7.359 4.094
+MOUSE 3 7.375 4.094
+MOUSE 3 7.375 4.078
+MOUSE 3 7.375 4.078
+MOUSE 3 7.391 4.062
+MOUSE 3 7.422 4.047
+MOUSE 3 7.438 4.031
+MOUSE 3 7.453 4.016
+MOUSE 3 7.469 4.000
+MOUSE 3 7.484 4.000
+MOUSE 3 7.500 4.000
+MOUSE 3 7.500 4.000
+MOUSE 3 7.500 3.984
+MOUSE 3 7.516 3.969
+MOUSE 3 7.531 3.953
+MOUSE 3 7.547 3.938
+MOUSE 3 7.562 3.922
+MOUSE 3 7.578 3.906
+MOUSE 3 7.594 3.891
+MOUSE 3 7.609 3.875
+MOUSE 3 7.625 3.875
+MOUSE 3 7.625 3.859
+MOUSE 3 7.641 3.844
+MOUSE 3 7.703 3.781
+MOUSE 3 7.719 3.766
+MOUSE 3 7.734 3.750
+MOUSE 3 7.750 3.750
+MOUSE 3 7.750 3.734
+MOUSE 3 7.750 3.734
+MOUSE 3 7.750 3.719
+MOUSE 3 7.766 3.703
+MOUSE 3 7.781 3.688
+MOUSE 3 7.797 3.672
+MOUSE 3 7.812 3.656
+MOUSE 3 7.828 3.641
+MOUSE 3 7.844 3.625
+MOUSE 3 7.859 3.625
+MOUSE 3 7.859 3.625
+MOUSE 3 7.859 3.609
+MOUSE 3 7.859 3.594
+MOUSE 3 7.859 3.578
+MOUSE 3 7.859 3.562
+MOUSE 3 7.859 3.547
+MOUSE 3 7.859 3.531
+MOUSE 3 7.859 3.516
+MOUSE 3 7.859 3.500
+MOUSE 3 7.859 3.500
+MOUSE 3 7.875 3.484
+MOUSE 3 7.875 3.469
+MOUSE 3 7.875 3.453
+MOUSE 3 7.875 3.438
+MOUSE 3 7.875 3.422
+MOUSE 3 7.875 3.406
+MOUSE 3 7.891 3.406
+MOUSE 3 7.891 3.391
+MOUSE 3 7.891 3.375
+MOUSE 3 7.906 3.375
+MOUSE 3 7.906 3.375
+MOUSE 3 7.922 3.359
+MOUSE 3 7.922 3.344
+MOUSE 3 7.938 3.328
+MOUSE 3 7.938 3.312
+MOUSE 3 7.953 3.312
+MOUSE 3 7.953 3.297
+MOUSE 3 7.953 3.281
+MOUSE 3 7.969 3.281
+MOUSE 3 7.969 3.266
+MOUSE 3 7.969 3.250
+MOUSE 3 7.969 3.250
+MOUSE 3 7.984 3.234
+MOUSE 3 7.984 3.219
+MOUSE 3 7.984 3.203
+MOUSE 3 8.000 3.203
+MOUSE 3 8.000 3.188
+MOUSE 3 8.000 3.172
+MOUSE 3 8.000 3.156
+MOUSE 3 8.000 3.141
+MOUSE 3 8.016 3.141
+MOUSE 3 8.016 3.125
+MOUSE 3 8.016 3.125
+MOUSE 3 8.016 3.109
+MOUSE 3 8.031 3.109
+MOUSE 3 8.031 3.094
+MOUSE 3 8.031 3.078
+MOUSE 3 8.031 3.062
+MOUSE 3 8.031 3.047
+MOUSE 3 8.031 3.031
+MOUSE 4 8.031 3.031
+MESSAGE
+_________________________________________
+
+Notice how the Snap Grid keeps the main line and siding track parallel and the connecting tracks and spur at a 45° angle.
+END
+STEP
+RESET
+CLEAR
+MESSAGE
+Second step: add LEDs for the turnout position indicators.
+We will use T1 red and green LEDs.
+
+We will zoom in to show positioning.
+END
+STEP
+ORIG 1 0.000000 4.000000
+HOTBARSELECT LED T1 Green LED
+MOUSE 2 2.355 6.050
+MESSAGE
+_________________________________________
+
+Notice that when we are in the correct position (on the 1/8" grid), the Marker lines on the bottom and left rulers will high-light the tick marks. When both ticks are high-lighted, press the space bar to finalize the LED.
+END
+STEP
+MOUSE 3 2.325 6.050
+STEP
+MOUSE 3 2.350 6.050
+STEP
+MOUSE 3 2.375 6.050
+STEP
+MOUSE 3 2.375 6.025
+STEP
+MOUSE 4 2.375 6.000
+STEP
+MOUSE 8200 2.375 6.000
+HOTBARSELECT LED T1 Red LED
+MOUSE 2 2.250 5.750
+MOUSE 4 2.250 5.750
+BIGPAUSE
+MOUSE 8200 2.250 5.750
+ORIG 1 8.000000 4.000000
+HOTBARSELECT LED T1 Green LED
+MOUSE 2 9.625 6.000
+MOUSE 4 9.625 6.000
+BIGPAUSE
+MOUSE 8200 9.625 6.000
+HOTBARSELECT LED T1 Red LED
+MOUSE 2 9.750 5.750
+MOUSE 4 9.750 5.750
+BIGPAUSE
+MOUSE 8200 9.750 5.750
+ORIG 1 5.000000 3.000000
+HOTBARSELECT LED T1 Green LED
+MOUSE 2 6.375 5.000
+MOUSE 4 6.375 5.000
+BIGPAUSE
+MOUSE 8200 6.375 5.000
+HOTBARSELECT LED T1 Red LED
+MOUSE 2 6.250 4.750
+MOUSE 4 6.250 4.750
+BIGPAUSE
+MOUSE 8200 6.250 4.750
+ORIG 2 0.000000 2.000000
+MESSAGE
+_________________________________________
+
+Now we'll add push buttons to control the turnouts.
+END
+STEP
+ORIG 1 0.0000000 4.000000
+HOTBARSELECT Switch ¼" Push Button
+MOUSE 2 2.750 6.000
+MOUSE 4 2.750 6.000
+BIGPAUSE
+MOUSE 8200 2.750 6.000
+MOUSE 2 2.500 5.500
+MOUSE 4 2.500 5.500
+BIGPAUSE
+MOUSE 8200 2.500 5.500
+ORIG 1 8.0000000 4.000000
+MOUSE 2 9.250 6.000
+MOUSE 4 9.250 6.000
+BIGPAUSE
+MOUSE 8200 9.250 6.000
+MOUSE 2 9.500 5.500
+MOUSE 4 9.500 5.500
+BIGPAUSE
+MOUSE 8200 9.500 5.500
+ORIG 1 5.0000000 3.000000
+MOUSE 2 6.750 5.000
+MOUSE 4 6.750 5.000
+BIGPAUSE
+MOUSE 8200 6.750 5.000
+MOUSE 2 6.500 4.500
+MOUSE 4 6.500 4.500
+BIGPAUSE
+MOUSE 8200 6.500 4.500
+ORIG 2 0.000000 2.0000000
+STEP
+CLEAR
+MESSAGE
+Let's add signals to our siding.
+
+The entrance to the siding will be protected by double headed signals.
+END
+STEP
+HOTBARSELECT Signals Dbl Signal 2
+MOUSE 3 2.953 7.344
+MOUSE 4 1.625 5.578
+BIGPAUSE
+MOUSE 8200 1.625 5.578
+MOUSE 2 9.859 6.641
+MOUSE 4 10.594 6.891
+BIGPAUSE
+MOUSE 8200 10.594 6.891
+MESSAGE
+_________________________________________
+
+First turn off the Snap Grid.
+
+Rotate the signals and move them to the proper locations.
+
+We rotate the signals by Shift-Right-Click and select 90° CW on the popup menu. We can not show the popup menu in demo mode, but will simulate the effect.
+END
+STEP
+PARAMETER misc cmdGridEnable
+ORIG 1 0.000000 4.000000
+RESET
+MOUSE 2 1.641 5.453
+MOUSE 4 1.641 5.453
+MENU 1.641 5.453 "Move Draw Mode " "90° CW"
+KEYSTATE 2
+MOUSE 2 1.641 5.453
+KEYSTATE 2
+MOUSE 3 1.311 5.453
+KEYSTATE 2
+MOUSE 4 1.510 5.580
+BIGPAUSE
+MOUSE 6920 1.510 5.580
+STEP
+ORIG 1 8.000000 4.000000
+RESET
+MOUSE 2 10.641 6.781
+MOUSE 4 10.641 6.781
+MENU 10.641 6.781 "Move Draw Mode " "90° CCW"
+KEYSTATE 2
+MOUSE 2 10.641 6.781
+KEYSTATE 2
+MOUSE 3 10.341 6.781
+KEYSTATE 2
+MOUSE 4 10.510 6.405
+BIGPAUSE
+MOUSE 6920 10.510 6.405
+STEP
+MESSAGE
+_________________________________________
+
+The exits from the siding will be protected by single headed signals.
+END
+STEP
+ORIG 1 0.000000 4.000000
+HOTBARSELECT Signals Sgl Signal 1
+MOUSE 3 3.250 6.375
+MOUSE 4 3.250 6.375
+BIGPAUSE
+MOUSE 8200 3.250 6.375
+MOUSE 2 3.250 5.375
+MOUSE 4 3.250 5.375
+BIGPAUSE
+MOUSE 8200 3.250 5.375
+RESET
+MOUSE 2 3.250 6.375
+MOUSE 4 3.250 6.375
+MENU 3.250 6.375 "Move Draw Mode " "90° CCW"
+MOUSE 6920 3.250 6.375
+MOUSE 2 3.250 5.375
+MOUSE 4 3.250 5.375
+MENU 3.250 5.375 "Move Draw Mode " "90° CCW"
+MOUSE 6920 3.250 5.375
+HOTBARSELECT Signals Sgl Signal 1
+ORIG 1 8.000000 4.000000
+MOUSE 2 8.750 5.625
+MOUSE 4 8.750 5.625
+BIGPAUSE
+MOUSE 8200 8.750 5.625
+MOUSE 2 8.750 4.625
+MOUSE 4 8.750 4.625
+BIGPAUSE
+MOUSE 8200 8.750 4.625
+#MOUSE 4 3.250 4.625
+#MOUSE 8200 3.250 4.625
+RESET
+MOUSE 2 8.750 5.625
+MOUSE 4 8.750 5.625
+MENU 8.750 5.625 "Move Draw Mode " "90° CW"
+MOUSE 6920 8.750 5.625
+MOUSE 2 8.750 4.625
+MOUSE 4 8.750 4.625
+MENU 8.750 4.625 "Move Draw Mode " "90° CW"
+MOUSE 6920 8.750 4.625
+RESET
+ORIG 2 0.000000 2.000000
+STEP
+CLEAR
+MESSAGE
+Now for some touch-ups.
+
+Notice when the line meet at an angle there is a gap.
+We will fill this gap with the ¼" dot.
+
+Note: Win95/Win98/WinME does not support drawing lines with flat end-caps, but only with round end-caps.
+Users on those platforms will not see the gap.
+END
+STEP
+ORIG 0.500 2.000 4.000
+HOTBARSELECT Symbols ¼" DOT
+MOUSE 2 3.000 5.000
+MOUSE 4 3.000 5.000
+BIGPAUSE
+MOUSE 8200 3.000 5.000
+ORIG 0.5 8.000 4.000
+HOTBARSELECT Symbols ¼" DOT
+MOUSE 2 9.000 5.000
+MOUSE 4 9.000 5.000
+BIGPAUSE
+MOUSE 8200 9.000 5.000
+ORIG 2 0.000000 2.000000
+MESSAGE
+_________________________________________
+
+Add an arrow head to indicate the tracks that connect to the rest of the layout.
+END
+STEP
+HOTBARSELECT Symbols Arrow
+MOUSE 2 11.000 5.750
+MOUSE 4 11.000 5.750
+BIGPAUSE
+MOUSE 8200 11.000 5.750
+MOUSE 2 0.500 5.750
+MOUSE 4 0.500 5.750
+BIGPAUSE
+MOUSE 8200 0.500 5.750
+RESET
+MOUSE 6920 0.500 6.000
+MESSAGE
+_________________________________________
+
+Rotate the arrow head by 180° and move into position.
+END
+MOUSE 2 0.500 6.000
+MOUSE 4 0.500 6.000
+BIGPAUSE
+MENU 0.500 6.000 "Move Draw Mode " "180°"
+KEYSTATE 2
+MOUSE 2 0.500 6.000
+KEYSTATE 2
+MOUSE 3 1.500 6.000
+KEYSTATE 2
+MOUSE 4 1.000 6.000
+BIGPAUSE
+MOUSE 6920 1.000 6.000
+MESSAGE
+_________________________________________
+
+And add some labels.
+END
+STEP
+COMMAND Text
+PARAMETER text fontsize 0 18
+PARAMETER GROUP text
+PARAMETER text fontsize -1 48
+MOUSE 2 4.500 6.969
+MOUSE 4 4.391 6.672
+KEYSTATE 2
+MOUSE 21256 4.391 6.672
+MOUSE 29960 4.391 6.672
+MOUSE 27912 4.391 6.672
+MOUSE 27912 4.391 6.672
+MOUSE 26888 4.391 6.672
+MOUSE 29704 4.391 6.672
+MOUSE 2 4.500 6.656
+MOUSE 4 4.812 6.625
+MOUSE 3336 5.156 6.766
+PARAMETER text fontsize -1 48
+PARAMETER text fontsize 11 24
+PARAMETER text fontsize -1 24
+MOUSE 2 0.500 5.016
+MOUSE 4 0.641 5.016
+KEYSTATE 2
+MOUSE 21256 1.312 5.016
+MOUSE 25864 1.312 5.016
+MOUSE 24840 1.312 5.016
+MOUSE 29704 1.312 5.016
+MOUSE 29704 1.312 5.016
+MOUSE 27656 1.312 5.016
+MOUSE 25864 1.312 5.016
+MOUSE 3336 3.031 3.859
+PARAMETER text fontsize -1 24
+PARAMETER GROUP text
+MOUSE 2 10.375 5.047
+MOUSE 4 10.125 5.047
+KEYSTATE 2
+MOUSE 17160 10.125 5.047
+MOUSE 26632 10.125 5.047
+MOUSE 26888 10.125 5.047
+MOUSE 25352 10.125 5.047
+MOUSE 24840 10.125 5.047
+MOUSE 2056 10.125 5.047
+MOUSE 28424 10.125 5.047
+MOUSE 2056 10.125 5.047
+MOUSE 24840 10.125 5.047
+MOUSE 26376 10.125 5.047
+MOUSE 28424 10.125 5.047
+MOUSE 2 10.094 5.125
+MOUSE 4 9.891 5.000
+MOUSE 3336 9.906 5.031
+PARAMETER text fontsize -1 24
+PARAMETER GROUP text
+CLEAR
+MESSAGE
+We want to print our control panel onto a 8½x11 page, but the control panel is a bit too wide.
+
+Lets tighten it up a bit.
+
+First turn the Snap Grid on again so any moves we make will keep objects on the grid.
+END
+STEP
+PARAMETER misc cmdGridEnable
+MESSAGE
+_________________________________________
+
+Lets move the spur track the left 3/4"
+END
+STEP
+ORIG 1 5.000 4.000
+RESET
+MOUSE 2 5.672 5.375
+MOUSE 4 8.516 2.297
+BIGPAUSE
+KEYSTATE 2
+MOUSE 2 6.594 4.000
+KEYSTATE 2
+MOUSE 3 6.594 4.000
+KEYSTATE 2
+MOUSE 4 5.781 4.000
+RESET
+BIGPAUSE
+MOUSE 6920 5.781 4.000
+RESET
+REDRAW
+MESSAGE
+_________________________________________
+
+Now move the right side of the siding over.
+END
+STEP
+MOUSE 2 7.500 6.641
+MOUSE 4 11.625 4.047
+BIGPAUSE
+KEYSTATE 2
+MOUSE 2 8.875 4.422
+KEYSTATE 2
+MOUSE 3 8.875 4.422
+KEYSTATE 2
+MOUSE 4 7.531 4.391
+RESET
+BIGPAUSE
+MOUSE 6920 7.562 4.531
+RESET
+REDRAW
+MESSAGE
+_________________________________________
+
+Now, adjust the ends of the mainline and siding tracks.
+END
+STEP
+COMMAND Modify
+MOUSE 2 10.984 6.047
+BIGPAUSE
+MOUSE 4 9.672 6.000
+MOUSE 2 9.000 4.906
+BIGPAUSE
+MOUSE 4 7.766 5.031
+ORIG 2 0.000 2.000
+MESSAGE
+_________________________________________
+
+And move the title over as well.
+END
+STEP
+MOUSE 6920 7.766 5.031
+MOUSE 2 5.875 6.672
+MOUSE 4 5.875 6.672
+BIGPAUSE
+KEYSTATE 2
+MOUSE 2 5.875 6.672
+KEYSTATE 2
+MOUSE 3 4.375 6.672
+KEYSTATE 2
+MOUSE 4 5.000 6.672
+CLEAR
+MESSAGE
+Now you can print it.
+
+The cross-hairs on the LEDs and switch show the centers for drilling.
+
+=========================================
+END
+STEP
+CLEAR