summaryrefslogtreecommitdiff
path: root/app/lib/demos/dmlines2.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/dmlines2.xtr
Initial import of xtrkcad version 1:4.0.2-2
Diffstat (limited to 'app/lib/demos/dmlines2.xtr')
-rw-r--r--app/lib/demos/dmlines2.xtr197
1 files changed, 197 insertions, 0 deletions
diff --git a/app/lib/demos/dmlines2.xtr b/app/lib/demos/dmlines2.xtr
new file mode 100644
index 0000000..11837ae
--- /dev/null
+++ b/app/lib/demos/dmlines2.xtr
@@ -0,0 +1,197 @@
+VERSION 7
+DEMOINIT
+ORIG 4.000 0.000 0.000
+PARAMETER display labelenable 4
+PARAMETER display description-fontsize 24
+STRAIGHT 1 0 0 0 0 DEMO -1
+ E 0.051703 4.160000 270.000000
+ T 2 4.533333 4.160000 90.000000
+ END
+TURNOUT 2 0 0 0 0 DEMO -1 4.533333 4.160000 0.000000 "Peco-55 Medium Right SL-E395F"
+ T 1 4.533333 4.160000 270.000000
+ T 3 9.938333 4.160000 90.000000
+ T 6 9.903333 3.638000 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 3 0 0 0 0 DEMO -1
+ E 31.466667 4.160000 90.000000
+ T 2 9.938333 4.160000 270.000000
+ END
+STRAIGHT 4 0 0 0 0 DEMO -1
+ E 31.466667 2.660000 90.000000
+ T 5 16.693333 2.660000 270.000000
+ END
+CURVE 5 0 0 0 0 DEMO -1 16.693333 15.171003 12.511003
+ T 4 16.693333 2.660000 90.000000
+ T 6 14.588376 2.838349 279.686000
+ END
+STRAIGHT 6 0 0 0 0 DEMO -1
+ T 2 9.903333 3.638000 279.686000
+ T 5 14.588376 2.838349 99.686000
+ END
+DRAW 7 0 0 0 0 0.000000 0.000000 0.000000
+ L 0 0.000000 0.533333 4.693333 4.320000 4.693333
+ END
+DRAW 8 0 0 0 0 0.000000 0.000000 0.000000
+ L 0 0.000000 4.373333 4.693333 4.533333 5.120000
+ END
+DRAW 9 0 0 0 0 0.000000 0.000000 0.000000
+ L 0 0.000000 0.266667 5.120000 0.586667 4.746667
+ END
+DRAW 10 0 0 0 0 0.000000 0.000000 0.000000
+ L 0 0.000000 0.266667 3.253333 0.533333 3.786667
+ END
+DRAW 11 0 0 0 0 0.000000 0.000000 0.000000
+ L 0 0.000000 0.533333 3.786667 4.320000 3.786667
+ END
+DRAW 12 0 0 0 0 0.000000 0.000000 0.000000
+ L 0 0.000000 4.320000 3.786667 4.533333 3.306667
+ END
+DRAW 13 0 0 0 0 0.000000 0.000000 0.000000
+ L 255 0.106667 0.746667 4.800000 0.746667 6.080000
+ END
+DRAW 14 0 0 0 0 0.000000 0.000000 0.000000
+ L 255 0.106667 0.746667 6.080000 1.226667 7.200000
+ END
+DRAW 15 0 0 0 0 0.000000 0.000000 0.000000
+ L 255 0.106667 1.226667 7.200000 2.720000 7.520000
+ END
+DRAW 16 0 0 0 0 0.000000 0.000000 0.000000
+ A 255 0.106667 1.581026 2.368375 3.879611 93.370222 169.376584
+ END
+DRAW 17 0 0 0 0 0.000000 0.000000 0.000000
+ L 8421376 0.106667 11.413333 4.960000 20.106667 4.960000
+ END
+DRAW 18 0 0 0 0 0.000000 0.000000 0.000000
+ L 8421376 0.106667 20.106667 4.960000 20.106667 7.680000
+ END
+DRAW 19 0 0 0 0 0.000000 0.000000 0.000000
+ L 8421376 0.106667 20.106667 7.680000 11.413333 7.680000
+ END
+DRAW 20 0 0 0 0 0.000000 0.000000 0.000000
+ A 8421376 0.106667 0.812349 7.360000 6.453333 0.000000 360.000000
+ END
+DRAW 21 0 0 0 0 0.000000 0.000000 0.000000
+ L 255 0.105263 2.736842 7.473684 3.947368 6.526316
+ END
+DRAW 22 0 0 0 0 0.000000 0.000000 0.000000
+ L 255 0.105263 3.947368 6.526316 4.157895 4.684211
+ END
+DRAW 23 0 0 0 0 0.000000 0.000000 0.000000
+ L 8421376 0.105263 11.473684 7.736842 11.473684 5.000000
+ END
+REDRAW
+RESET
+MESSAGE
+We also draw Polylines and filled shapes.
+END
+PARAMETER draw linewidth 2
+PARAMETER draw linecolor 11591910
+COMMAND DrawPolyline
+STEP
+MESSAGE
+_________________________________________
+
+A Polyline is drawn by dragging to place each of the point in the Polyline.
+END
+STEP
+PARAMETER draw linecolor 0
+PARAMETER draw linewidth 3
+PARAMETER draw linecolor 32768
+MOUSE 2 0.64 6.07
+MOUSE 4 0.64 6.07
+MOUSE 2 1.17 7.25
+MOUSE 4 1.17 7.25
+MOUSE 2 2.71 7.61
+MOUSE 4 2.71 7.61
+MOUSE 2 4.04 6.57
+MOUSE 4 4.04 6.57
+MOUSE 2 4.25 4.77
+MOUSE 4 4.25 4.77
+MOUSE 2 4.56 5.21
+MOUSE 4 4.56 5.21
+MOUSE 2 5.92 5.21
+MOUSE 4 5.92 5.21
+MOUSE 2 5.92 8.84
+MOUSE 4 5.92 8.84
+MOUSE 2 0.316 8.842
+MOUSE 4 0.316 8.842
+MESSAGE
+_________________________________________
+
+To finish off the Polyline press the <Space> key or choose another drawing type.
+END
+STEP
+MOUSE 8200 0.316 8.842
+MESSAGE
+_________________________________________
+
+A Polygon is drawn in the same way
+END
+COMMAND DrawPolygon
+PARAMETER draw linecolor 65280
+STEP
+MOUSE 2 0.579 6.211
+MOUSE 4 0.579 6.211
+MOUSE 2 1.211 7.421
+MOUSE 4 1.211 7.421
+MOUSE 2 2.684 7.789
+MOUSE 4 2.684 7.789
+MOUSE 2 4.053 6.684
+MOUSE 4 4.053 6.684
+MOUSE 2 4.263 5.000
+MOUSE 4 4.263 5.000
+MOUSE 2 4.474 5.211
+MOUSE 4 4.474 5.211
+MOUSE 2 6.053 5.211
+MOUSE 4 6.053 5.211
+MOUSE 2 5.789 8.737
+MOUSE 4 5.789 8.737
+MOUSE 2 0.421 8.684
+MOUSE 4 0.421 8.684
+MOUSE 8200 0.421 8.684
+MESSAGE
+_________________________________________
+
+You can use the Above and Below Commands to move lines and shapes to the front or back of the drawing.
+END
+STEP
+COMMAND Select
+BIGPAUSE
+MOUSE 2 3.737 8.84
+MOUSE 4 3.737 8.84
+BIGPAUSE
+PARAMETER misc cmdAbove
+BIGPAUSE
+#MOUSE 2 3.737 8.84
+#MOUSE 4 3.737 8.84
+BIGPAUSE
+PARAMETER misc cmdBelow
+MESSAGE
+_________________________________________
+
+Filled Boxes and Circles work the same as line Boxes and Circles.
+END
+COMMAND DrawFilledCircleCenter
+PARAMETER draw linecolor 16776960
+BIGPAUSE
+MOUSE 2 7.360 6.45333
+MOUSE 3 7.87 5.92
+MOUSE 4 7.87 5.92
+COMMAND DrawFilledBox
+BIGPAUSE
+MOUSE 2 11.53 7.63
+MOUSE 3 20.000 5.03
+MOUSE 4 20.000 5.03
+RESET
+MESSAGE
+=========================================
+END
+STEP
+CLEAR