<?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: HELP - ARC2 bug? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210377#M17093</link>
    <description>Gil&lt;BR /&gt;
&lt;BR /&gt;
The command you are after is RANGE.&lt;BR /&gt;
Its in the GDL guide mate.</description>
    <pubDate>Wed, 04 May 2011 03:40:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-05-04T03:40:55Z</dc:date>
    <item>
      <title>HELP - ARC2 bug?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210373#M17089</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;*** POST PART 1 ***&lt;BR /&gt;
&lt;BR /&gt;
Hi All!&lt;BR /&gt;
I am having quite a few issues with this seemingly ridiculously&lt;BR /&gt;
simple object, and need to figure this out ASAP due to a deadline.&lt;BR /&gt;
I will load all info in this and the next posts...&lt;BR /&gt;
&lt;BR /&gt;
* * * * *&lt;BR /&gt;
&lt;BR /&gt;
The SEGMENT object belongs to a set of "Area Calculating Objects"&lt;BR /&gt;
I am developing to help AC comply with the Israeli codes for&lt;BR /&gt;
building permit requests.&lt;BR /&gt;
In short, each of these objects (Rectangle, Triangle, Circle etc.)&lt;BR /&gt;
can "report" the mathematical function, parameters and results&lt;BR /&gt;
into the Interactive Schedule, including showing dimensions to enable&lt;BR /&gt;
a manual check of the calculus.&lt;BR /&gt;
&lt;BR /&gt;
In this first post you will see the basic logic used to create the&lt;BR /&gt;
SEGMENT object, as derived from two parameters, the Chord (A)&lt;BR /&gt;
and the Bulge (B) - both stretchy.&lt;BR /&gt;
&lt;BR /&gt;
When finalized, the object will only show the filled area, while the rest&lt;BR /&gt;
would be dashed lines.&lt;BR /&gt;
&lt;BR /&gt;
To create this object from A &amp;amp; B alone, the following math was used&lt;BR /&gt;
to derive the Angle &amp;amp; Radius, courtesy of David Nicholson-Cole:&lt;BR /&gt;
&lt;BR /&gt;
hangl= (90-ATN((&lt;B&gt;A&lt;/B&gt;/2)/&lt;B&gt;B&lt;/B&gt;))*2&lt;BR /&gt;
&lt;BR /&gt;
rad= (&lt;B&gt;A&lt;/B&gt;/2)SIN(&lt;B&gt;angl&lt;/B&gt;)&lt;BR /&gt;
&lt;BR /&gt;
(cont.)&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/73518i986CB838706C3DD1/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Segment A.jpg" title="Segment A.jpg" /&gt;</description>
      <pubDate>Tue, 03 May 2011 23:33:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210373#M17089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-03T23:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: HELP - ARC2 bug?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210374#M17090</link>
      <description>*** PART 2 - THE BUG!!! ***&lt;BR /&gt;
&lt;BR /&gt;
The object draws OK, until &lt;B&gt;stretched via the hotspots&lt;/B&gt;.&lt;BR /&gt;
&lt;BR /&gt;
On certain occasions when stretched, the ARC2 goes all crazy,&lt;BR /&gt;
either overshooting or undershooting its destination point,&lt;BR /&gt;
as you can see on the left image.&lt;BR /&gt;
Please take notice of the A &amp;amp; B values in the coordinate boxes -&lt;BR /&gt;
these were created by STRETCHING hotspots on the screen&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;H O W E V E R . . .&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
If I over-ride these same exact dimensions by entering them&lt;BR /&gt;
via the coordinate boxes - VIOLA -&lt;BR /&gt;
The ARC2 draws just fine!&lt;BR /&gt;
&lt;BR /&gt;
Is this a BUG, or should I have paid better attention during&lt;BR /&gt;
math class?&lt;BR /&gt;
&lt;BR /&gt;
RSVP?</description>
      <pubDate>Tue, 03 May 2011 23:43:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210374#M17090</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-03T23:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: HELP - ARC2 bug?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210375#M17091</link>
      <description>here is the object itself...</description>
      <pubDate>Tue, 03 May 2011 23:54:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210375#M17091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-03T23:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: HELP - ARC2 bug?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210376#M17092</link>
      <description>*** FINAL QUESTION ***&lt;BR /&gt;
&lt;BR /&gt;
And to wrap up this post, I need to LIMIT the stretchiness&lt;BR /&gt;
of B so it will be no bigger than A,&lt;BR /&gt;
as this makes the object function beyond its purpose,&lt;BR /&gt;
(and draws funny, too).&lt;BR /&gt;
&lt;BR /&gt;
Any Ideas?&lt;BR /&gt;
&lt;BR /&gt;
PS: I WAS actually kicked out of math class, so it is a wonder of nature &lt;BR /&gt;
that I am a certified architect and dare mess around with GDL &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks -&lt;BR /&gt;
&lt;BR /&gt;
Gil Rosenthal</description>
      <pubDate>Tue, 03 May 2011 23:59:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210376#M17092</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-03T23:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: HELP - ARC2 bug?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210377#M17093</link>
      <description>Gil&lt;BR /&gt;
&lt;BR /&gt;
The command you are after is RANGE.&lt;BR /&gt;
Its in the GDL guide mate.</description>
      <pubDate>Wed, 04 May 2011 03:40:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210377#M17093</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-04T03:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: HELP - ARC2 bug?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210378#M17094</link>
      <description>Thanks Christian!&lt;BR /&gt;
I 'sppose you mean RANGE as in the VALUES &amp;amp; RANGE thing...&lt;BR /&gt;
such as posted here:&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=123295&amp;amp;highlight=range#123295" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... nge#123295"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?p=123295&amp;amp;highlight=range#123295&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
?&lt;BR /&gt;
I tried something like this but probably botched a comma&lt;BR /&gt;
 - Will give it another try -  Thanks!&lt;BR /&gt;
&lt;BR /&gt;
Any idea as to the behaviour of the ARC2?</description>
      <pubDate>Wed, 04 May 2011 05:18:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210378#M17094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-04T05:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: HELP - ARC2 bug?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210379#M17095</link>
      <description>Refer to GDL Technical Standards, chapter 4.4&lt;BR /&gt;
&lt;A href="http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/14/LibDevGuide/TechnicalStandards.html" target="_blank"&gt;&lt;LINK_TEXT text="http://www.graphisoft.com/ftp/techsuppo ... dards.html"&gt;http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/14/LibDevGuide/TechnicalStandards.html&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
Only rad, alpha &amp;amp; beta need to be declared as parameters.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;!!! ----- Master Script -----
	hangl = (90-ATN((A/2)/B))*2
	fangl = 2*hangl
	rad   = (A/2)/SIN(hangl)
	alpha = 90-hangl
	beta  = alpha+fangl


!!! ----- Parameter Script -----
	values "B" range [ , A]
	
	parameters rad  = rad,
			alpha = alpha,
			beta  = beta&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 May 2011 11:01:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210379#M17095</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-04T11:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: HELP - ARC2 bug?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210380#M17096</link>
      <description>Olivier -&lt;BR /&gt;
Work Wonderfully - Thanks!!</description>
      <pubDate>Thu, 05 May 2011 04:50:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/HELP-ARC2-bug/m-p/210380#M17096</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-05T04:50:32Z</dc:date>
    </item>
  </channel>
</rss>

