<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Generator.x 2.0: STL output</title>
	<atom:link href="http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/feed/" rel="self" type="application/rss+xml" />
	<link>http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/</link>
	<description>Computational aesthetics and programming for artists and designers.</description>
	<lastBuildDate>Tue, 31 Jan 2012 05:39:21 -0500</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: kim joong hee</title>
		<link>http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/comment-page-1/#comment-134145</link>
		<dc:creator>kim joong hee</dc:creator>
		<pubDate>Sun, 14 Dec 2008 17:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/#comment-134145</guid>
		<description>Option Explicit

Call Main
Sub Main
 Dim point (80)
 Dim i, x, y, z
 
 For i = 0 To 80
   
  x = (20 + 20*Cos (i))*Cos (i*Sin(i))
  y = (20 + 20*Cos (i))*Sin (Cos(i)*i)
  z = y*i/100 * Sin (i)
  
  point(i)=Array (x,y,z)
  
 Next
 
 
 Call mifunction(point)
  
End Sub

Function mifunction(point)
 
 Rhino.AddCurve(point)
   
End Function

Sub Main
 Dim Curve
 Dim Domain ,Param, Point, i,sections

 sections=150
 ReDim collection (sections)

curve=Rhino.GetObject(&quot;sel curve&quot;,4)
  If IsNull (Curve) Then Exit Sub

 Domain = Rhino.CurveDomain(curve)

 For i = 0 To 100

  Param =i * ((Domain(1)-Domain(0))/100)

  point =Rhino.EvaluateCurve(Curve,Param)
  Rhino.AddPoint point
  collection(i) = point

 Next

 Dim Newpoint
 Dim arrBase, dblMajorRadius, dblMinorRadius, arrDirection
 For i = 0 To 100
  
 
  dblMajorRadius = i/13

  dblMinorRadius = dblMajorRadius - 5

  arrBase = newpoint
 

  
  newpoint=collection(i)
  
 
  Rhino.AddTorus newpoint, dblMajorRadius, dblMinorRadius
 Next
 
End Sub</description>
		<content:encoded><![CDATA[<p>Option Explicit</p>
<p>Call Main<br />
Sub Main<br />
 Dim point (80)<br />
 Dim i, x, y, z</p>
<p> For i = 0 To 80</p>
<p>  x = (20 + 20*Cos (i))*Cos (i*Sin(i))<br />
  y = (20 + 20*Cos (i))*Sin (Cos(i)*i)<br />
  z = y*i/100 * Sin (i)</p>
<p>  point(i)=Array (x,y,z)</p>
<p> Next</p>
<p> Call mifunction(point)</p>
<p>End Sub</p>
<p>Function mifunction(point)</p>
<p> Rhino.AddCurve(point)</p>
<p>End Function</p>
<p>Sub Main<br />
 Dim Curve<br />
 Dim Domain ,Param, Point, i,sections</p>
<p> sections=150<br />
 ReDim collection (sections)</p>
<p>curve=Rhino.GetObject(&#8220;sel curve&#8221;,4)<br />
  If IsNull (Curve) Then Exit Sub</p>
<p> Domain = Rhino.CurveDomain(curve)</p>
<p> For i = 0 To 100</p>
<p>  Param =i * ((Domain(1)-Domain(0))/100)</p>
<p>  point =Rhino.EvaluateCurve(Curve,Param)<br />
  Rhino.AddPoint point<br />
  collection(i) = point</p>
<p> Next</p>
<p> Dim Newpoint<br />
 Dim arrBase, dblMajorRadius, dblMinorRadius, arrDirection<br />
 For i = 0 To 100</p>
<p>  dblMajorRadius = i/13</p>
<p>  dblMinorRadius = dblMajorRadius &#8211; 5</p>
<p>  arrBase = newpoint</p>
<p>  newpoint=collection(i)</p>
<p>  Rhino.AddTorus newpoint, dblMajorRadius, dblMinorRadius<br />
 Next</p>
<p>End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee Byron &#187; How &#187; Global Type – Tech Demo</title>
		<link>http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/comment-page-1/#comment-54958</link>
		<dc:creator>Lee Byron &#187; How &#187; Global Type – Tech Demo</dc:creator>
		<pubDate>Fri, 07 Mar 2008 04:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/#comment-54958</guid>
		<description>[...] Luckily I&#8217;m not the first to tackle this in the processing community. Marius Watz provides a wonderful library which includes an STL renderer. Totally fantastic. All that I have to do is provide geometry in [...]</description>
		<content:encoded><![CDATA[<p>[...] Luckily I&#8217;m not the first to tackle this in the processing community. Marius Watz provides a wonderful library which includes an STL renderer. Totally fantastic. All that I have to do is provide geometry in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marius watz</title>
		<link>http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/comment-page-1/#comment-52505</link>
		<dc:creator>marius watz</dc:creator>
		<pubDate>Fri, 22 Feb 2008 13:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/#comment-52505</guid>
		<description>Ouch, I see it now. Wordpress automagically corrects two minus signs into one long hyphen. Will figure out how to turn that off. There should be a tutorial on how to post code on WordPress somewhere..</description>
		<content:encoded><![CDATA[<p>Ouch, I see it now. WordPress automagically corrects two minus signs into one long hyphen. Will figure out how to turn that off. There should be a tutorial on how to post code on WordPress somewhere..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Rabattski</title>
		<link>http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/comment-page-1/#comment-52322</link>
		<dc:creator>Paul Rabattski</dc:creator>
		<pubDate>Thu, 21 Feb 2008 16:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/#comment-52322</guid>
		<description>That&#039;s odd. i minus minus ends up as being i minus</description>
		<content:encoded><![CDATA[<p>That&#8217;s odd. i minus minus ends up as being i minus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Rabattski</title>
		<link>http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/comment-page-1/#comment-52321</link>
		<dc:creator>Paul Rabattski</dc:creator>
		<pubDate>Thu, 21 Feb 2008 16:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/#comment-52321</guid>
		<description>I think it should be i--</description>
		<content:encoded><![CDATA[<p>I think it should be i&#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marius watz</title>
		<link>http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/comment-page-1/#comment-49347</link>
		<dc:creator>marius watz</dc:creator>
		<pubDate>Tue, 05 Feb 2008 15:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/#comment-49347</guid>
		<description>Sorry about that, I think the syntax highlighting plugin I was using is to blame, it had some issues with backspaces etc. I just switched to &lt;a href=&quot;http://code.google.com/p/syntaxhighlighter/&quot; rel=&quot;nofollow&quot;&gt;SyntaxHighlighter&lt;/a&gt;, which looks good and also allows you to copy the plaintext without any problem.</description>
		<content:encoded><![CDATA[<p>Sorry about that, I think the syntax highlighting plugin I was using is to blame, it had some issues with backspaces etc. I just switched to <a href="http://code.google.com/p/syntaxhighlighter/" rel="nofollow">SyntaxHighlighter</a>, which looks good and also allows you to copy the plaintext without any problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leandro</title>
		<link>http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/comment-page-1/#comment-49176</link>
		<dc:creator>Leandro</dc:creator>
		<pubDate>Mon, 04 Feb 2008 13:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/#comment-49176</guid>
		<description>Yes, I&#039;m getting same yeyo&#039;s issue.

an idea why?</description>
		<content:encoded><![CDATA[<p>Yes, I&#8217;m getting same yeyo&#8217;s issue.</p>
<p>an idea why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yeyo</title>
		<link>http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/comment-page-1/#comment-49134</link>
		<dc:creator>yeyo</dc:creator>
		<pubDate>Mon, 04 Feb 2008 03:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.evolutionzone.com/2008/01/24/generatorx-20-stl-output/#comment-49134</guid>
		<description>it didnt work for me... maybe i am doing something wrong. im using processing beta and it highlights the line : 

 for(float i=12; i&gt;-1; i–) {

and says unexpected char: &#039;\&#039;

please help!!!!</description>
		<content:encoded><![CDATA[<p>it didnt work for me&#8230; maybe i am doing something wrong. im using processing beta and it highlights the line : </p>
<p> for(float i=12; i&gt;-1; i–) {</p>
<p>and says unexpected char: &#8216;\&#8217;</p>
<p>please help!!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

