<?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: 3D stretchable hotspots in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/3D-stretchable-hotspots/m-p/114575#M18299</link>
    <description>&lt;BLOCKQUOTE&gt;dhaval7shah wrote:&lt;BR /&gt;2) I want a 3D pole element with Ellipse at base and circle at top, how should we script it?&lt;/BLOCKQUOTE&gt;

Dhaval:&lt;BR /&gt;
&lt;BR /&gt;
You should look at the &lt;FONT color="blue"&gt;RULED&lt;/FONT&gt; command, page 92 of the GDL Reference Guide, this creates a form with different polygons on each end.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
    <pubDate>Wed, 13 Oct 2010 13:27:38 GMT</pubDate>
    <dc:creator>David Maudlin</dc:creator>
    <dc:date>2010-10-13T13:27:38Z</dc:date>
    <item>
      <title>3D stretchable hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/3D-stretchable-hotspots/m-p/114573#M18297</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;1) How to script editable 3d stretchy hotspots ?&lt;BR /&gt;
2) I want a 3D pole element with Ellipse at base and circle at top, how should we script it?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Oct 2010 13:04:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/3D-stretchable-hotspots/m-p/114573#M18297</guid>
      <dc:creator>dhaval7shah</dc:creator>
      <dc:date>2010-10-12T13:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: 3D stretchable hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/3D-stretchable-hotspots/m-p/114574#M18298</link>
      <description>First you should look at the GDL Reference Guide available as a pdf from your Help menu.&lt;BR /&gt;
&lt;BR /&gt;
3D hotspots are written with three lines of code as follows:&lt;BR /&gt;

&lt;PRE&gt;	HOTSPOT 0, 0, 0,   unid, var, 1+128 : unid=unid+1 !base
	HOTSPOT 0, 0, var, unid, var,     2 : unid=unid+1 !move
	HOTSPOT 0, 0, -1,  unid, var,     3 : unid=unid+1 !reference
&lt;/PRE&gt;

This bit of code will create a hotspot to control the parameter &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;var&lt;E&gt;&lt;/E&gt; stretchable in the Z direction. This parameter must also be present in your parameter table. Also note that each hotspot has a unique id number. I find it good practice to define unid=1 at the begining of my scripts and then the the notation  &lt;PRE&gt;: unid = unid+1&lt;/PRE&gt; after each hotspot definition to avoid getting duplicate hotspot ids.&lt;BR /&gt;
&lt;BR /&gt;
As for the sphere/pole/ellipse there are many ways. Look at the SPHERE, ELLIPS and CYLIND commands for a start.&lt;BR /&gt;
&lt;BR /&gt;
HTH</description>
      <pubDate>Tue, 12 Oct 2010 19:40:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/3D-stretchable-hotspots/m-p/114574#M18298</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2010-10-12T19:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: 3D stretchable hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/3D-stretchable-hotspots/m-p/114575#M18299</link>
      <description>&lt;BLOCKQUOTE&gt;dhaval7shah wrote:&lt;BR /&gt;2) I want a 3D pole element with Ellipse at base and circle at top, how should we script it?&lt;/BLOCKQUOTE&gt;

Dhaval:&lt;BR /&gt;
&lt;BR /&gt;
You should look at the &lt;FONT color="blue"&gt;RULED&lt;/FONT&gt; command, page 92 of the GDL Reference Guide, this creates a form with different polygons on each end.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Wed, 13 Oct 2010 13:27:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/3D-stretchable-hotspots/m-p/114575#M18299</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2010-10-13T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: 3D stretchable hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/3D-stretchable-hotspots/m-p/114576#M18300</link>
      <description>Thanks a lot Erich and David.</description>
      <pubDate>Wed, 13 Oct 2010 18:40:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/3D-stretchable-hotspots/m-p/114576#M18300</guid>
      <dc:creator>dhaval7shah</dc:creator>
      <dc:date>2010-10-13T18:40:34Z</dc:date>
    </item>
  </channel>
</rss>

