<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: twisted ribbon/object in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62425#M38989</link>
    <description>Having had a beer (:)) here's a 'better' solution...&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="blue"&gt;&lt;FONT size="84"&gt;oSe = 0300  !=== no. of segments&lt;BR /&gt;
oCr = 0005    !=== helix diameter&lt;BR /&gt;
oBw = 0002    !=== width of band&lt;BR /&gt;
oAn = 1500 !=== total revolved angle&lt;BR /&gt;
oLe = 0050   !=== total length&lt;BR /&gt;
&lt;BR /&gt;
for j=-1 to 1 step 2 : for i=0 to oAn step oAn/oSe&lt;BR /&gt;
put oCr*cos(i)+j*oBw*cos(i)*sin(i/oAn*180)&lt;BR /&gt;
put oCr*sin(i)+j*oBW*sin(i)*sin (i/oAn*180)&lt;BR /&gt;
put i/oAN*oLe&lt;BR /&gt;
next i : next j&lt;BR /&gt;
&lt;BR /&gt;
for i=0 to oAn step oAn : for j=0 to 1&lt;BR /&gt;
put oCr*cos(i) : put oCR*sin(i) : put i/oAN*oLe&lt;BR /&gt;
next j : next i&lt;BR /&gt;
&lt;BR /&gt;
coons (nsp-12)/6, 2, 60, get (nsp)&lt;/FONT&gt;&lt;I&gt;[/size]&lt;/I&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/12650i8443CB40EB6621D1/image-size/large?v=v2&amp;amp;px=999" border="0" alt="coil3.jpg" title="coil3.jpg" /&gt;&lt;/FONT&gt;</description>
    <pubDate>Thu, 18 Nov 2004 17:03:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-11-18T17:03:00Z</dc:date>
    <item>
      <title>twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62418#M38982</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello-&lt;BR /&gt;
Please show me how this (attached) is done using GDL, I have posted this in 'Working in AC' section. I got a suggestion to bring it here. I have tried the mesh tool before, but didnt work. I would also like to know if I can manipulate/play with the surface of this object after creating it.&lt;BR /&gt;
Please disregard materials.&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/70946iDF1269A727C731E9/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Twist2.jpg" title="Twist2.jpg" /&gt;</description>
      <pubDate>Wed, 17 Nov 2004 06:33:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62418#M38982</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-17T06:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62419#M38983</link>
      <description>To do this in GDL will require the correct mathematics. &lt;BR /&gt;
&lt;BR /&gt;
I haven't the time to noodle it out myself but it looks like a simple circular (sine) function should generate the values if the spiral is to be a regular one. Otherwise you will probably need additional parameters to introduce any distortions you want.&lt;BR /&gt;
&lt;BR /&gt;
The SWEEP or TUBE statements are probably the best bet for the actual form. I recommend using a FOR-NEXT loop with a PUT statement to set up the coordinates and then use GET within the SWEEP or TUBE. There is some code similar to this in the manual.&lt;BR /&gt;
&lt;BR /&gt;
Clever application of the graphical (or user) hotspots could make this into a very interesting part.</description>
      <pubDate>Wed, 17 Nov 2004 09:19:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62419#M38983</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-17T09:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62420#M38984</link>
      <description>Maybe this object may help you. &lt;BR /&gt;
It was done as an exercise in one of our GDL classes here in São Paulo/Brazil.</description>
      <pubDate>Wed, 17 Nov 2004 15:46:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62420#M38984</guid>
      <dc:creator>Durval</dc:creator>
      <dc:date>2004-11-17T15:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62421#M38985</link>
      <description>Geometric shapes are  very easy in GDL. It is architecture that is difficult &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; The GDL is actually quite simple - but a geometric background does help.&lt;BR /&gt;
&lt;BR /&gt;
HTH !&lt;BR /&gt;
Stuart 'prefers long variable names' James&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT size="67"&gt;&lt;FONT color="blue"&gt;&lt;BR /&gt;
   !*** master variables ***&lt;BR /&gt;
&lt;BR /&gt;
      oRevolutions  =  2&lt;BR /&gt;
      oSegmentAngle = 5    !=== in degrees&lt;BR /&gt;
      oCoilRadius   =  5&lt;BR /&gt;
      oCoilLength   = 50&lt;BR /&gt;
      oBandWidth    =  5&lt;BR /&gt;
      oBandHeight   =  2&lt;BR /&gt;
&lt;BR /&gt;
   !*** dependent variables ***&lt;BR /&gt;
&lt;BR /&gt;
      oAngle = 360 * oRevolutions&lt;BR /&gt;
      oStep = oAngle / (360/oSegmentAngle)&lt;BR /&gt;
      oXmultiplier = oCoilLength / oAngle&lt;BR /&gt;
&lt;BR /&gt;
   !*** put path ***&lt;BR /&gt;
&lt;BR /&gt;
   for i = 0 - oStep to oAngle + oStep step oStep&lt;BR /&gt;
&lt;BR /&gt;
      oX = i * oXmultiplier&lt;BR /&gt;
      oY = sin (i) * oCoilRadius&lt;BR /&gt;
      oZ = cos (i) * oCoilRadius&lt;BR /&gt;
      put oX, oY, oZ, i&lt;BR /&gt;
   next i&lt;BR /&gt;
&lt;BR /&gt;
   !*** draw path ***&lt;BR /&gt;
&lt;BR /&gt;
   tube 4, oAngle/oStep +2, 32+16+2+1,&lt;BR /&gt;
      -oBandWidth*0.5, -oBandHeight*0.5, 0,&lt;BR /&gt;
       oBandWidth*0.5, -oBandHeight*0.5, 0,&lt;BR /&gt;
       oBandWidth*0.5,  oBandHeight*0.5, 0,&lt;BR /&gt;
      -oBandWidth*0.5,  oBandHeight*0.5, 0,&lt;BR /&gt;
      get ((oAngle/oStep+2)*4)&lt;BR /&gt;
&lt;BR /&gt;
   end&lt;/FONT&gt;&lt;I&gt;&lt;/I&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 17 Nov 2004 19:00:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62421#M38985</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-17T19:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62422#M38986</link>
      <description>thanks guys,very helpfull&lt;BR /&gt;
&lt;BR /&gt;
Durval, I would like to know how is it possible to make this ribbon start wide and end up thin or almost pointed. the width in the object is fixed all along.&lt;BR /&gt;
I want it to look more like the one posted by Stuart, except for the thickness.&lt;BR /&gt;
&lt;BR /&gt;
Stuart, please let me know how long it took you to do it?&lt;BR /&gt;
&lt;BR /&gt;
and is that how you felt after doing it, turning around and around.&lt;BR /&gt;
&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 18 Nov 2004 06:56:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62422#M38986</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-18T06:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62423#M38987</link>
      <description>Saif;&lt;BR /&gt;
&lt;BR /&gt;
The 'one posted by Stuart' is an even thickness along the length. Here is a 'rough' variation which gives tapered ends. As long as you're happy with the geometry/maths this doesn't take long at all.&lt;BR /&gt;
&lt;BR /&gt;
Note - it isn't an 'accurate' model but would suffice for many circumstances.... Now I'm curious! - just what are you trying to model??? &lt;BR /&gt;
&lt;BR /&gt;
HTH - Stuart&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;PS. DnC et al - yes I know that you should 'rot x,y,z' all along the helical path to do this 'properly' but I'd need a beer before coding that! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="blue"&gt;&lt;FONT size="84"&gt;&lt;BR /&gt;
   oRevolutions  =  3&lt;BR /&gt;
   oSteps        = 1000&lt;BR /&gt;
   oCoilRadius   = 10&lt;BR /&gt;
   oCoilLength   = 50&lt;BR /&gt;
   oBandMaxWidth    =  2&lt;BR /&gt;
   oBandMaxHeight   =  5&lt;BR /&gt;
   oHeight = oCoilLength/oSteps&lt;BR /&gt;
&lt;BR /&gt;
roty 90&lt;BR /&gt;
&lt;BR /&gt;
for j= -1 to oSteps+1&lt;BR /&gt;
&lt;BR /&gt;
i = j/oSteps * 360 * oRevolutions&lt;BR /&gt;
oBandWidth = oBandMaxWidth * sin(j/oSteps*180)+0.001&lt;BR /&gt;
oBandHeight = oBandMaxHeight * sin(j/oSteps*180)+0.001&lt;BR /&gt;
&lt;BR /&gt;
put oCoilRadius * cos(i)  - oBandWidth * cos (i) + oBandHeight * sin (i),&lt;BR /&gt;
    oCoilRadius * sin(i)  - oBandWidth * sin (i) - oBandHeight * cos (i), oHeight,&lt;BR /&gt;
    oCoilRadius * cos(i)  + oBandWidth * cos (i) + oBandHeight * sin (i),&lt;BR /&gt;
    oCoilRadius * sin(i)  + oBandWidth * sin (i) - oBandHeight * cos (i), oHeight,&lt;BR /&gt;
    oCoilRadius * cos(i)  + oBandWidth * cos (i) - oBandHeight * sin (i),&lt;BR /&gt;
    oCoilRadius * sin(i)  + oBandWidth * sin (i) + oBandHeight * cos (i), oHeight,&lt;BR /&gt;
    oCoilRadius * cos(i)  - oBandWidth * cos (i) - oBandHeight * sin (i),&lt;BR /&gt;
    oCoilRadius * sin(i)  - oBandWidth * sin (i) + oBandHeight * cos (i), oHeight,&lt;BR /&gt;
    oCoilRadius * cos(i)  - oBandWidth * cos (i) + oBandHeight * sin (i),&lt;BR /&gt;
    oCoilRadius * sin(i)  - oBandWidth * sin (i) - oBandHeight * cos (i), oHeight&lt;BR /&gt;
&lt;BR /&gt;
if j&amp;gt;=0 and j&amp;lt;=oSteps then&lt;BR /&gt;
   ruled 5, 51,&lt;BR /&gt;
       get(2), get(1)*0,&lt;BR /&gt;
       get(2), get(1)*0,&lt;BR /&gt;
       get(2), get(1)*0,&lt;BR /&gt;
       get(2), get(1)*0,&lt;BR /&gt;
       get(2), get(1)*0,&lt;BR /&gt;
       use(15)&lt;BR /&gt;
   addz oHeight&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
next j&lt;BR /&gt;
del top&lt;/FONT&gt;&lt;I&gt;[/size]&lt;/I&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 18 Nov 2004 13:02:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62423#M38987</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-18T13:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62424#M38988</link>
      <description>&lt;BLOCKQUOTE&gt;saif wrote:&lt;BR /&gt;Stuart, please let me know how long it took you to do it?&lt;/BLOCKQUOTE&gt;

Saif;&lt;BR /&gt;
&lt;BR /&gt;
The first one took about 4 minutes (+1 minute to render). The second example took 6:30 minutes (yes I timed it! + 2 minutes to render).&lt;BR /&gt;
&lt;BR /&gt;
But if 3d geometry isn't your cup of tea then it could take a lot lot longer...&lt;BR /&gt;
&lt;BR /&gt;
- Stuart</description>
      <pubDate>Thu, 18 Nov 2004 15:26:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62424#M38988</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-18T15:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62425#M38989</link>
      <description>Having had a beer (:)) here's a 'better' solution...&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="blue"&gt;&lt;FONT size="84"&gt;oSe = 0300  !=== no. of segments&lt;BR /&gt;
oCr = 0005    !=== helix diameter&lt;BR /&gt;
oBw = 0002    !=== width of band&lt;BR /&gt;
oAn = 1500 !=== total revolved angle&lt;BR /&gt;
oLe = 0050   !=== total length&lt;BR /&gt;
&lt;BR /&gt;
for j=-1 to 1 step 2 : for i=0 to oAn step oAn/oSe&lt;BR /&gt;
put oCr*cos(i)+j*oBw*cos(i)*sin(i/oAn*180)&lt;BR /&gt;
put oCr*sin(i)+j*oBW*sin(i)*sin (i/oAn*180)&lt;BR /&gt;
put i/oAN*oLe&lt;BR /&gt;
next i : next j&lt;BR /&gt;
&lt;BR /&gt;
for i=0 to oAn step oAn : for j=0 to 1&lt;BR /&gt;
put oCr*cos(i) : put oCR*sin(i) : put i/oAN*oLe&lt;BR /&gt;
next j : next i&lt;BR /&gt;
&lt;BR /&gt;
coons (nsp-12)/6, 2, 60, get (nsp)&lt;/FONT&gt;&lt;I&gt;[/size]&lt;/I&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/12650i8443CB40EB6621D1/image-size/large?v=v2&amp;amp;px=999" border="0" alt="coil3.jpg" title="coil3.jpg" /&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 18 Nov 2004 17:03:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62425#M38989</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-18T17:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62426#M38990</link>
      <description>&lt;BLOCKQUOTE&gt;StuartJames wrote:&lt;BR /&gt;Having had a beer (:)) here's a 'better' solution...
&lt;/BLOCKQUOTE&gt;

WOW! Where can I find one of these beers?&lt;BR /&gt;
Maybe it alows me to understand your elegant piece of code...&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
Up to the ruled script I was following your mathematics.&lt;BR /&gt;
But this coons solution made me a bit lost. Could you give some clue on how you worked out these geometric equations?</description>
      <pubDate>Thu, 18 Nov 2004 17:28:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62426#M38990</guid>
      <dc:creator>Durval</dc:creator>
      <dc:date>2004-11-18T17:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62427#M38991</link>
      <description>&lt;BLOCKQUOTE&gt;Durval wrote:&lt;BR /&gt;WOW! Where can I find one of these beers?&lt;BR /&gt;
Maybe it alows me to understand your elegant piece of code...&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
Up to the ruled script I was following your mathematics.&lt;BR /&gt;
But this coons solution made me a bit lost. Could you give some clue on how you worked out these geometric equations?&lt;/BLOCKQUOTE&gt;

Exactly.  Give us a bit of a lesson here, Stuart!  Or tell us which beer! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Thu, 18 Nov 2004 18:07:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62427#M38991</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2004-11-18T18:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62428#M38992</link>
      <description>coons is a mystery to me</description>
      <pubDate>Fri, 19 Nov 2004 07:28:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62428#M38992</guid>
      <dc:creator>Aussie John</dc:creator>
      <dc:date>2004-11-19T07:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62429#M38993</link>
      <description>You can try the internationally famous &lt;A href="http://www.efespilsen.com.tr/" target="_blank"&gt;'Efes Pilsen'&lt;/A&gt; brand ! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
I've started a new thread over at &lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=4720&amp;amp;highlight=" target="_blank"&gt;Coons 101&lt;/A&gt;. Please make contributions to the usual PayPal account.&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_razz.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
- Stuart&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt; 'just pleased for an excuse to get his post no.s up'&lt;E&gt;&lt;/E&gt; James</description>
      <pubDate>Fri, 19 Nov 2004 13:59:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62429#M38993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-19T13:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62430#M38994</link>
      <description>shukran all,&lt;BR /&gt;
&lt;BR /&gt;
Stuart I'm trying to model a complex sculpture in which the twisted shape is only a part of it. When I finish it sometime I will post it.&lt;BR /&gt;
&lt;BR /&gt;
thanks again &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Mon, 22 Nov 2004 04:57:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62430#M38994</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-22T04:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62431#M38995</link>
      <description>&lt;BLOCKQUOTE&gt;Karl wrote:&lt;BR /&gt;Or tell us which beer! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; &lt;/BLOCKQUOTE&gt;

It is definitely not the beer. Stuart's profile portrait leaves no doubt as to the fact that he was born for these helical stuff things.</description>
      <pubDate>Mon, 22 Nov 2004 07:16:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62431#M38995</guid>
      <dc:creator>Ignacio Azpiazu</dc:creator>
      <dc:date>2004-11-22T07:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62432#M38996</link>
      <description>Let me add my admiration.&lt;BR /&gt;
This is ballet.</description>
      <pubDate>Mon, 22 Nov 2004 10:52:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62432#M38996</guid>
      <dc:creator>Dwight</dc:creator>
      <dc:date>2004-11-22T10:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: twisted ribbon/object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62433#M38997</link>
      <description>&lt;BLOCKQUOTE&gt;StuartJames wrote:&lt;BR /&gt;Geometric shapes are  very easy in GDL. It is architecture that is difficult &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; The GDL is actually quite simple - but a geometric background does help.&lt;BR /&gt;
&lt;BR /&gt;
HTH !&lt;BR /&gt;
Stuart 'prefers long variable names' James&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT size="67"&gt;&lt;FONT color="blue"&gt;&lt;BR /&gt;
   !*** master variables ***&lt;BR /&gt;
&lt;BR /&gt;
      oRevolutions  =  2&lt;BR /&gt;
      oSegmentAngle = 5    !=== in degrees&lt;BR /&gt;
      oCoilRadius   =  5&lt;BR /&gt;
      oCoilLength   = 50&lt;BR /&gt;
      oBandWidth    =  5&lt;BR /&gt;
      oBandHeight   =  2&lt;BR /&gt;
&lt;BR /&gt;
   !*** dependent variables ***&lt;BR /&gt;
&lt;BR /&gt;
      oAngle = 360 * oRevolutions&lt;BR /&gt;
      oStep = oAngle / (360/oSegmentAngle)&lt;BR /&gt;
      oXmultiplier = oCoilLength / oAngle&lt;BR /&gt;
&lt;BR /&gt;
   !*** put path ***&lt;BR /&gt;
&lt;BR /&gt;
   for i = 0 - oStep to oAngle + oStep step oStep&lt;BR /&gt;
&lt;BR /&gt;
      oX = i * oXmultiplier&lt;BR /&gt;
      oY = sin (i) * oCoilRadius&lt;BR /&gt;
      oZ = cos (i) * oCoilRadius&lt;BR /&gt;
      put oX, oY, oZ, i&lt;BR /&gt;
   next i&lt;BR /&gt;
&lt;BR /&gt;
   !*** draw path ***&lt;BR /&gt;
&lt;BR /&gt;
   tube 4, oAngle/oStep +2, 32+16+2+1,&lt;BR /&gt;
      -oBandWidth*0.5, -oBandHeight*0.5, 0,&lt;BR /&gt;
       oBandWidth*0.5, -oBandHeight*0.5, 0,&lt;BR /&gt;
       oBandWidth*0.5,  oBandHeight*0.5, 0,&lt;BR /&gt;
      -oBandWidth*0.5,  oBandHeight*0.5, 0,&lt;BR /&gt;
      get ((oAngle/oStep+2)*4)&lt;BR /&gt;
&lt;BR /&gt;
   end&lt;/FONT&gt;&lt;I&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;
hello, i'm newbie &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
a question:&lt;BR /&gt;
&lt;BR /&gt;
and if the path of the ribbon is not straight but it's a circumference and the diameter of the imaginary "tube" (the diameter's size of the ribbon) is not constant but it decrease gradually (the ribbon grow and grow), how should I modify the code?&lt;BR /&gt;
&lt;BR /&gt;
tnx &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Sun, 02 Oct 2011 17:06:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/twisted-ribbon-object/m-p/62433#M38997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-02T17:06:22Z</dc:date>
    </item>
  </channel>
</rss>

