<?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: Math Bricking 2D in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Math-Bricking-2D/m-p/236946#M3988</link>
    <description>&lt;BLOCKQUOTE&gt;Kristian wrote:&lt;BR /&gt;Typically "n" is used for loops, so is this in a loop?&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
Woops. Completely overlooked that fact. Probably the cause of some of my other minor issues...&lt;BR /&gt;
&lt;BR /&gt;
The issue is the &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;1 / sinθ&lt;E&gt;&lt;/E&gt; and it turns out the issue isn't equation specific as if I swap them around, the one that fulfils that boolean still causes it to brick. If I set it to a static value not equal to 0, it works fine...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
    <pubDate>Thu, 14 Jan 2021 07:44:23 GMT</pubDate>
    <dc:creator>Lingwisyer</dc:creator>
    <dc:date>2021-01-14T07:44:23Z</dc:date>
    <item>
      <title>Math Bricking 2D</title>
      <link>https://community.graphisoft.com/t5/GDL/Math-Bricking-2D/m-p/236944#M3986</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;These are two lines within my 3D script dictated by a boolean:&lt;BR /&gt;
&lt;PRE&gt;louvre_seal_width = ( 2 * d - 2 * dp * (n - 1) - 2 * gs_louvre_thk * cos (gs_louvre_opening_angle) ) / ( 2 * sin (gs_louvre_opening_angle) )&lt;/PRE&gt;
&lt;PRE&gt;louvre_seal_width = ( d - dp * (n - 1) + 3 * Louvre_over * sin (gs_louvre_opening_angle) - 2 * gs_louvre_thk * cos (gs_louvre_opening_angle) ) / ( 2 * sin (gs_louvre_opening_angle) )&lt;/PRE&gt;
&lt;BR /&gt;Any idea why including the first line bricks my 2D projection while the second line does not? They both use the same variables in similar ways...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ling.&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Sep 2021 11:29:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Math-Bricking-2D/m-p/236944#M3986</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2021-09-14T11:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Math Bricking 2D</title>
      <link>https://community.graphisoft.com/t5/GDL/Math-Bricking-2D/m-p/236945#M3987</link>
      <description>Use a process of elimination to determine the piece of code that is causing the issue.&lt;BR /&gt;
&lt;BR /&gt;
Its difficult to spot the issue without deeper exploration; what are "d", "n", "dp", and "Louvre_over". Typically "n" is used for loops, so is this in a loop?&lt;BR /&gt;
&lt;BR /&gt;
Send though more of the code and an explanation of the values and it should be easier to work out.</description>
      <pubDate>Thu, 14 Jan 2021 04:26:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Math-Bricking-2D/m-p/236945#M3987</guid>
      <dc:creator>Kristian Bursell</dc:creator>
      <dc:date>2021-01-14T04:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Math Bricking 2D</title>
      <link>https://community.graphisoft.com/t5/GDL/Math-Bricking-2D/m-p/236946#M3988</link>
      <description>&lt;BLOCKQUOTE&gt;Kristian wrote:&lt;BR /&gt;Typically "n" is used for loops, so is this in a loop?&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
Woops. Completely overlooked that fact. Probably the cause of some of my other minor issues...&lt;BR /&gt;
&lt;BR /&gt;
The issue is the &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;1 / sinθ&lt;E&gt;&lt;/E&gt; and it turns out the issue isn't equation specific as if I swap them around, the one that fulfils that boolean still causes it to brick. If I set it to a static value not equal to 0, it works fine...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Thu, 14 Jan 2021 07:44:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Math-Bricking-2D/m-p/236946#M3988</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2021-01-14T07:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Math Bricking 2D</title>
      <link>https://community.graphisoft.com/t5/GDL/Math-Bricking-2D/m-p/236947#M3989</link>
      <description>&lt;BLOCKQUOTE&gt;Lingwisyer wrote:&lt;BR /&gt;
&lt;BR /&gt;
The issue is the &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;1 / sinθ&lt;E&gt;&lt;/E&gt; and...&lt;BR /&gt;
If I set it to a static value &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;not equal to &lt;B&gt;0&lt;/B&gt;&lt;E&gt;&lt;/E&gt;, it works fine...
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
Maybe occurs the situation when sin (x) = 0 and you can't divide by 0 (zero) =&amp;gt; 1/0 =&amp;gt; error ?</description>
      <pubDate>Fri, 15 Jan 2021 08:57:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Math-Bricking-2D/m-p/236947#M3989</guid>
      <dc:creator>A_ Smith</dc:creator>
      <dc:date>2021-01-15T08:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Math Bricking 2D</title>
      <link>https://community.graphisoft.com/t5/GDL/Math-Bricking-2D/m-p/236948#M3990</link>
      <description>&lt;BLOCKQUOTE&gt;A. wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;Lingwisyer wrote:&lt;BR /&gt;
&lt;BR /&gt;
The issue is the &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;1 / sinθ&lt;E&gt;&lt;/E&gt; and...&lt;BR /&gt;
If I set it to a static value &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;not equal to &lt;B&gt;0&lt;/B&gt;&lt;E&gt;&lt;/E&gt;, it works fine...
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
Maybe occurs the situation when sin (x) = 0 and you can't divide by 0 (zero) =&amp;gt; 1/0 =&amp;gt; error ?
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
That was a thought, but there is the fact that both equations have include that situation and it only has an issue with one of them... Then there is the fact that it equalling zero is impossible within my object since my script sets it to as close to 1 as possible without causing a geometry clash.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Mon, 18 Jan 2021 01:29:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Math-Bricking-2D/m-p/236948#M3990</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2021-01-18T01:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Math Bricking 2D</title>
      <link>https://community.graphisoft.com/t5/GDL/Math-Bricking-2D/m-p/236949#M3991</link>
      <description>Fixed by solving indirectly. Used the same inputs to solve for a new horizontal value to allow the use of Pythagoras...&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;Side A cos θ&lt;E&gt;&lt;/E&gt; to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;side A tan θ, Pythagoras&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Thu, 21 Jan 2021 09:25:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Math-Bricking-2D/m-p/236949#M3991</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2021-01-21T09:25:28Z</dc:date>
    </item>
  </channel>
</rss>

