summaryrefslogtreecommitdiff
path: root/app/lib/demos/dmruler.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/dmruler.xtr
Initial import of xtrkcad version 1:4.0.2-2
Diffstat (limited to 'app/lib/demos/dmruler.xtr')
-rw-r--r--app/lib/demos/dmruler.xtr46
1 files changed, 46 insertions, 0 deletions
diff --git a/app/lib/demos/dmruler.xtr b/app/lib/demos/dmruler.xtr
new file mode 100644
index 0000000..7c24ef9
--- /dev/null
+++ b/app/lib/demos/dmruler.xtr
@@ -0,0 +1,46 @@
+VERSION 2
+DEMOINIT
+ORIG 5.000 5.000 0.000
+STRAIGHT 1 DEMO 1
+ E 5.916667 3.166667 270.000000
+ E 29.166667 3.166667 90.000000
+ END
+STRAIGHT 2 DEMO 1
+ E 6.000000 6.916667 270.000000
+ E 29.166667 6.916667 90.000000
+ END
+REDRAW
+RESET
+MESSAGE
+The <Ruler> command draws a Ruler on the layout you can use to measure distances.
+
+END
+STEP
+COMMAND Ruler
+MOUSE 2 29.000 6.917
+MOUSE 3 29.083 3.167
+BIGPAUSE
+MOUSE 4 29.083 3.167
+MESSAGE
+_________________________________________
+
+If you press the <Ruler> command again the Ruler is removed.
+END
+BIGPAUSE
+COMMAND Ruler
+BIGPAUSE
+MESSAGE
+_________________________________________
+
+But you can place it somewhere else.
+END
+BIGPAUSE
+MOUSE 2 6.000 5.583
+MOUSE 3 29.250 5.750
+BIGPAUSE
+MOUSE 4 29.250 5.750
+MESSAGE
+=========================================
+END
+STEP
+CLEAR