<?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: CPRISM_ question in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/CPRISM-question/m-p/380945#M1154</link>
    <description>&lt;P&gt;looks like a rounding error, since you doing a 180deg arc&amp;nbsp; gdl gets confused as to whicj direction to go. you have 2 options:&lt;/P&gt;
&lt;P&gt;1: you add a slight gap on the&amp;nbsp; end of the second arc to be less that 180deg&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CPRISM_ materialAttribute_1, materialAttribute_1, materialAttribute_1,&lt;BR /&gt;7,.393701,&lt;BR /&gt;0,0,15,&lt;BR /&gt;1.73228,0,15,&lt;BR /&gt;1.73228,.433071,900,&lt;BR /&gt;1.73228,.866142,3015,&lt;BR /&gt;0,.866142,15,&lt;BR /&gt;0,.433071,900,&lt;BR /&gt;&lt;STRONG&gt;-.0001&lt;/STRONG&gt;,0,3015&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2:&amp;nbsp; (&lt;STRONG&gt;Better solution&lt;/STRONG&gt;) you use&amp;nbsp; the tangential arc by radius and angle which will ensure that the arc is always in the right direction&lt;/P&gt;
&lt;P&gt;CPRISM_ materialAttribute_1, materialAttribute_1, materialAttribute_1,&lt;BR /&gt;&lt;STRONG&gt;6&lt;/STRONG&gt;,.393701,&lt;BR /&gt;0,0,15,&lt;BR /&gt;1.73228,0,15,&lt;BR /&gt;1.73228,.433071,900,&lt;BR /&gt;1.73228,.866142,3015,&lt;BR /&gt;0,.866142,15,&lt;BR /&gt;&lt;STRONG&gt;.433071,180,2015&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you also have some quotes at the end of some coordinates that you should remove (probably the reason for the undefined arc error)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;also,&amp;nbsp; not necessary but you should use variables instead of hard coded&amp;nbsp; values when doing gdl.&amp;nbsp; Allows to adjust the object later and make it reusable.&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2023 18:27:32 GMT</pubDate>
    <dc:creator>julienK</dc:creator>
    <dc:date>2023-05-19T18:27:32Z</dc:date>
    <item>
      <title>CPRISM_ question</title>
      <link>https://community.graphisoft.com/t5/GDL/CPRISM-question/m-p/380943#M1153</link>
      <description>&lt;P&gt;I feel like a total idiot for asking, but I'm trying to script a shape that is basically a rectangle with rounded ends. Using the CPRISM_ (or PRISM_) command, I have the following:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;CPRISM_ materialAttribute_1, materialAttribute_1, materialAttribute_1,&lt;BR /&gt;7,.393701",&lt;BR /&gt;0,0,15,&lt;BR /&gt;1.73228",0,15,&lt;BR /&gt;1.73228",.433071",900,&lt;BR /&gt;1.73228",.866142",3015,&lt;BR /&gt;0,.866142",15,&lt;BR /&gt;0,.433071",900,&lt;BR /&gt;0,0,3015&lt;BR /&gt;&lt;BR /&gt;what I am getting is a convex end on one side and a concave end on the other. It's showing as: (_(&amp;nbsp; &amp;nbsp;instead of&amp;nbsp; (_)&amp;nbsp; &amp;nbsp;&lt;BR /&gt;I'm sure it has something to do with the second 900 status code, but can't figure out what that needs to be to be orientated correctly.&lt;/P&gt;
&lt;P&gt;I am also getting a warning:"Undefined arc at line 50 of the 3d script"&lt;BR /&gt;Line 50 is the&amp;nbsp;&lt;EM&gt;CPRISM_ materialAttri...&amp;nbsp;&lt;/EM&gt;line; what needs to be defined there to eliminate this warning?&lt;BR /&gt;&lt;BR /&gt;Again, sorry for the basic stupid scripting question. Hoping someone can see this and correct my (probably obvious) error soon. THANKS!&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 01:45:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/CPRISM-question/m-p/380943#M1153</guid>
      <dc:creator>Patrick M</dc:creator>
      <dc:date>2023-05-20T01:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: CPRISM_ question</title>
      <link>https://community.graphisoft.com/t5/GDL/CPRISM-question/m-p/380945#M1154</link>
      <description>&lt;P&gt;looks like a rounding error, since you doing a 180deg arc&amp;nbsp; gdl gets confused as to whicj direction to go. you have 2 options:&lt;/P&gt;
&lt;P&gt;1: you add a slight gap on the&amp;nbsp; end of the second arc to be less that 180deg&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CPRISM_ materialAttribute_1, materialAttribute_1, materialAttribute_1,&lt;BR /&gt;7,.393701,&lt;BR /&gt;0,0,15,&lt;BR /&gt;1.73228,0,15,&lt;BR /&gt;1.73228,.433071,900,&lt;BR /&gt;1.73228,.866142,3015,&lt;BR /&gt;0,.866142,15,&lt;BR /&gt;0,.433071,900,&lt;BR /&gt;&lt;STRONG&gt;-.0001&lt;/STRONG&gt;,0,3015&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2:&amp;nbsp; (&lt;STRONG&gt;Better solution&lt;/STRONG&gt;) you use&amp;nbsp; the tangential arc by radius and angle which will ensure that the arc is always in the right direction&lt;/P&gt;
&lt;P&gt;CPRISM_ materialAttribute_1, materialAttribute_1, materialAttribute_1,&lt;BR /&gt;&lt;STRONG&gt;6&lt;/STRONG&gt;,.393701,&lt;BR /&gt;0,0,15,&lt;BR /&gt;1.73228,0,15,&lt;BR /&gt;1.73228,.433071,900,&lt;BR /&gt;1.73228,.866142,3015,&lt;BR /&gt;0,.866142,15,&lt;BR /&gt;&lt;STRONG&gt;.433071,180,2015&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you also have some quotes at the end of some coordinates that you should remove (probably the reason for the undefined arc error)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;also,&amp;nbsp; not necessary but you should use variables instead of hard coded&amp;nbsp; values when doing gdl.&amp;nbsp; Allows to adjust the object later and make it reusable.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 18:27:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/CPRISM-question/m-p/380945#M1154</guid>
      <dc:creator>julienK</dc:creator>
      <dc:date>2023-05-19T18:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: CPRISM_ question</title>
      <link>https://community.graphisoft.com/t5/GDL/CPRISM-question/m-p/380948#M1155</link>
      <description>&lt;P&gt;That got me what I needed! thanks!&lt;BR /&gt;&lt;BR /&gt;the hard coded parameters are only because this is a manufacturers object. Typically I'd allow for it to be adjustable... well, technically, I would typically just model it with a morph and save as object for somethign stupid simple like this...&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 19:00:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/CPRISM-question/m-p/380948#M1155</guid>
      <dc:creator>Patrick M</dc:creator>
      <dc:date>2023-05-19T19:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: CPRISM_ question</title>
      <link>https://community.graphisoft.com/t5/GDL/CPRISM-question/m-p/380952#M1156</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/11677"&gt;@julienK&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you also have some quotes at the end of some coordinates that you should remove (probably the reason for the undefined arc error)&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The double quotes are likely because those values are in inches (imperial), vs default/internal meters (no quotes) since 4dProof is a USA user.&amp;nbsp; The GDL interpreter does convert inch quantities to the corresponding metric value within scripts.&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 01:52:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/CPRISM-question/m-p/380952#M1156</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2023-05-20T01:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: CPRISM_ question</title>
      <link>https://community.graphisoft.com/t5/GDL/CPRISM-question/m-p/380958#M1157</link>
      <description>&lt;P&gt;I didn"t know that.&amp;nbsp; Explains why i got weird results when trying to fix it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 04:45:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/CPRISM-question/m-p/380958#M1157</guid>
      <dc:creator>julienK</dc:creator>
      <dc:date>2023-05-20T04:45:48Z</dc:date>
    </item>
  </channel>
</rss>

