summaryrefslogtreecommitdiff
path: root/app/lib/demos/dmdimlin.xtr
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/demos/dmdimlin.xtr')
-rw-r--r--app/lib/demos/dmdimlin.xtr165
1 files changed, 165 insertions, 0 deletions
diff --git a/app/lib/demos/dmdimlin.xtr b/app/lib/demos/dmdimlin.xtr
new file mode 100644
index 0000000..9668b95
--- /dev/null
+++ b/app/lib/demos/dmdimlin.xtr
@@ -0,0 +1,165 @@
+# XTrkCad Version: 3.0.1, Date: Sun Sep 24 00:01:36 2000
+
+VERSION 10
+DEMOINIT
+ORIG 1.000 12.000 5.000
+PARAMETER display description-fontsize 64
+STRUCTURE 1 0 0 0 0 N 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 N 2
+ E 0.105826 -1.346082 236.697715
+ T 5 3.511000 0.890894 56.697715
+ END
+STRUCTURE 3 0 0 0 0 N 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 N 2
+ E 22.026067 13.054077 56.697715
+ T 5 8.028421 3.858543 236.697715
+ END
+TURNOUT 5 0 0 0 0 N 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 N 2
+ E 22.690715 11.995108 56.697715
+ T 7 13.433501 5.913726 236.697715
+ END
+CURVE 7 0 0 0 0 N 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 N 2
+ T 5 8.285775 3.403046 246.383715
+ T 7 10.953237 4.569334 66.383715
+ END
+STRUCTURE 9 0 0 0 0 N 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
+REDRAW
+RESET
+MESSAGE
+Dimension Lines are used to mark the distances between two points.
+
+Here we will create a Dimension Line to show the separation between two tracks.
+END
+STEP
+COMMAND DrawDimLine
+PARAMETER draw arrowsize 0 Tiny
+PARAMETER GROUP draw
+MOUSE 2 13.953 7.766
+MOUSE 4 14.688 6.734
+#PARAMETER draw arrowsize 0 Tiny
+PARAMETER GROUP draw
+STEP
+ORIG 4.000 3.000 0.000
+MESSAGE
+_________________________________________
+
+We might also want to measure the distance between two structures. In this case we will use a larger dimension line.
+END
+STEP
+PARAMETER draw arrowsize 2 Medium
+MOUSE 2 15.000 9.688
+MOUSE 4 6.375 4.000
+#PARAMETER draw arrowsize 2 Medium
+PARAMETER GROUP draw
+MESSAGE
+_________________________________________
+
+We can use the <Describe> command to change the position of the Dimension Line and the size of the numbers.
+END
+STEP
+COMMAND Describe
+MOUSE 2 11.000 7.125
+MOUSE 4 11.000 7.125
+BIGPAUSE
+#DESCRIBE Size 3
+PARAMETER describe L1 3 Large
+STEP
+#DESCRIBE Size 1
+PARAMETER describe L1 1 Small
+#DESCRIBE OK
+PARAMETER describe ok
+RESET
+MESSAGE
+=========================================
+END
+STEP
+CLEAR