<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Examples</title><link>https://sourceforge.net/p/sketchtrack/wiki/Examples/</link><description>Recent changes to Examples</description><atom:link href="https://sourceforge.net/p/sketchtrack/wiki/Examples/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 19 Apr 2015 21:03:51 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/sketchtrack/wiki/Examples/feed" rel="self" type="application/rss+xml"/><item><title>Examples modified by fkmk</title><link>https://sourceforge.net/p/sketchtrack/wiki/Examples/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,7 +1,7 @@
 #A toy example
 The basic capabilities of SketchTrack can be demonstrated with a simple toy example. The following code is used to draw a small circle.

-*Draw sleepers
+&lt;b&gt;Draw sleepers
 Init 0 0 0

 Straight 60
@@ -16,7 +16,7 @@

 Goto W2.c
 CurveGrade 3 30 r
-Straight 22.8*
+Straight 22.8&lt;/b&gt;

 ![](http://up.picr.de/21649164bo.jpg)

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fkmk</dc:creator><pubDate>Sun, 19 Apr 2015 21:03:51 -0000</pubDate><guid>https://sourceforge.net4461962f716b4a623e8afcdff1d0b0544ab6c036</guid></item><item><title>Examples modified by fkmk</title><link>https://sourceforge.net/p/sketchtrack/wiki/Examples/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="a-toy-example"&gt;A toy example&lt;/h1&gt;
&lt;p&gt;The basic capabilities of SketchTrack can be demonstrated with a simple toy example. The following code is used to draw a small circle.&lt;/p&gt;
&lt;p&gt;*Draw sleepers&lt;br /&gt;
Init 0 0 0&lt;/p&gt;
&lt;p&gt;Straight 60&lt;br /&gt;
Curve 180 30 r&lt;br /&gt;
Point 10 30 3 r W1 a&lt;br /&gt;
Straight 40&lt;br /&gt;
Point 10 30 3 l W2 b&lt;br /&gt;
Curve 180 30 r&lt;/p&gt;
&lt;p&gt;Goto W1.c&lt;br /&gt;
CurveGrade 3 30 l&lt;/p&gt;
&lt;p&gt;Goto W2.c&lt;br /&gt;
CurveGrade 3 30 r&lt;br /&gt;
Straight 22.8*&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://up.picr.de/21649164bo.jpg" rel="nofollow" /&gt;&lt;/p&gt;
&lt;p&gt;This simple layout demonstrates the basic features of SketchTrack. First of all, the drawing mode is set to produce 3D trackwork and the cursor position is initialised to 0. We start with a 60 cm straight, wich is actially the back part of the oval. This is followed by a 180° curve (with a non-realistic radius of 30 cm). Now comes the first point “W1” which is shown below.&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://up.picr.de/21649165ea.jpg" rel="nofollow" /&gt;&lt;/p&gt;
&lt;p&gt;All three ends of the point are automatically equipped with labels. We come from the upper right corner, so the point needs to be drawn from the “a” end. Since both points have a length of 10 cm, the straight track in between has to have a length of 40 cm in order to balance the 60 cm straight in the back side. &lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://up.picr.de/21649166wx.jpg" rel="nofollow" /&gt;&lt;/p&gt;
&lt;p&gt;The second point “W2” can be added now, this time it is drawn from the “b” end. The cursor advances to the “a” end automatically, so the second 180° curve can be drawn right here and the circle is closed.&lt;/p&gt;
&lt;p&gt;As it can be seen in the image above, the “W2.c” label has a directection pointing to the right. We can go to this label and add the curve required to be parallel to the main branch again. This is done here with the CurveGrade command, since the point is specified with a grade so we do not have to calculate the angle. When showing the Ruby Console (Window &amp;gt; Ruby  Console) in SketchUp, we can also see the angel of the point here when this is of interest.&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://up.picr.de/21649167de.jpg" rel="nofollow" /&gt;&lt;/p&gt;
&lt;p&gt;Now we can go to the opposite end (“W1.c”) and draw the other CurveGrade. &lt;br /&gt;
The remaining question is how long the missing connection between the two CurveGrades is. Of course, this can be calculated from the geometry, but it can also be simply measured in SketchUp with the Tape Measure tool.&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://up.picr.de/21649168jb.jpg" rel="nofollow" /&gt;&lt;/p&gt;
&lt;p&gt;After inserting the missing straight with 22.8 cm, the toy circle is finished.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fkmk</dc:creator><pubDate>Sun, 19 Apr 2015 21:03:17 -0000</pubDate><guid>https://sourceforge.net8a7ad728e4e5bd259ca04173302b97d0d87dfb5f</guid></item></channel></rss>