From 7b358424ebad9349421acd533c2fa1cbf6cf3e3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 28 Dec 2016 16:52:56 +0100 Subject: Initial import of xtrkcad version 1:4.0.2-2 --- app/lib/demos/dmruler.xtr | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 app/lib/demos/dmruler.xtr (limited to 'app/lib/demos/dmruler.xtr') 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 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 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 -- cgit v1.2.3