<?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: Material on complex profile wall in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Material-on-complex-profile-wall/m-p/13630#M28892</link>
    <description>&lt;BLOCKQUOTE&gt;laszlonagy wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;Mats_Knutsson wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;laszlonagy wrote:&lt;BR /&gt;Post the 3D Script here so we can check it out.&lt;/BLOCKQUOTE&gt;

Of course. It's an autoscripted object. &lt;BR /&gt;
The material definition aaaa is my material but it only applies to the "intestants" of the pipe and not the surfaces. There should be a material definition for each line in the 2D profile that is revolved. When I do a straight pipe I get it right with autoscripted ----ind(material,"Färg-07"),----&lt;BR /&gt;
&lt;BR /&gt;
&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; Mats&lt;BR /&gt;
&lt;BR /&gt;
revolve{2}       9,            0, 143.6102553225,    444, aaaa,&lt;BR /&gt;
        -0.003645035534536, 0.6587998942228,      1,     18, &lt;BR /&gt;
        -0.01244492975734, 0.6624449297573,      1,     18, &lt;BR /&gt;
        -0.02124482398015, 0.6587998942228,      1,     18, &lt;BR /&gt;
        -0.02488985951469,         0.65,      1,     18, &lt;BR /&gt;
        -0.02124482398015, 0.6412001057772,      1,     18, &lt;BR /&gt;
        -0.01244492975734, 0.6375550702427,      1,     18, &lt;BR /&gt;
        -0.003645035534536, 0.6412001057772,      1,     18, &lt;BR /&gt;
                  -0,         0.65,      1,     18, &lt;BR /&gt;
        -0.003645035534536, 0.6587998942228,      2,     18&lt;/BLOCKQUOTE&gt;

The first Material parameter applies to the two end surfaces.&lt;BR /&gt;
Then each segment has its own material definition. That is the 4th parameter, according to the GDL Manual.&lt;BR /&gt;
I modified all &lt;FONT color="#ff0048"&gt;&lt;B&gt;18&lt;/B&gt;&lt;/FONT&gt;s to &lt;FONT color="#ff0048"&gt;&lt;B&gt;aaaa&lt;/B&gt;&lt;/FONT&gt;.&lt;BR /&gt;

&lt;PRE&gt;revolve{2} 9, 0, 143.6102553225, 444, aaaa,
-0.003645035534536, 0.6587998942228, 1, aaaa,
-0.01244492975734, 0.6624449297573, 1, aaaa,
-0.02124482398015, 0.6587998942228, 1, aaaa,
-0.02488985951469, 0.65, 1, aaaa,
-0.02124482398015, 0.6412001057772, 1, aaaa,
-0.01244492975734, 0.6375550702427, 1, aaaa,
-0.003645035534536, 0.6412001057772, 1, aaaa,
-0, 0.65, 1, aaaa,
-0.003645035534536, 0.6587998942228, 2, aaaa&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
&lt;BR /&gt;
Ahhh!&lt;BR /&gt;
Beautiful! Thank you very much!&lt;BR /&gt;
I wrongly assumed the 18 was a statuscode for display. I should have checked the manual before.&lt;BR /&gt;
&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; Mats</description>
    <pubDate>Wed, 23 Jan 2008 14:28:02 GMT</pubDate>
    <dc:creator>Mats_Knutsson</dc:creator>
    <dc:date>2008-01-23T14:28:02Z</dc:date>
    <item>
      <title>Material on complex profile wall</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Material-on-complex-profile-wall/m-p/13626#M28888</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello GDL-ers,&lt;BR /&gt;
&lt;BR /&gt;
I was trying to make a simple gdl object by saving the 3D model and the add a material parameter. I've done this a dozen times but tonight i got stuck on complex profile wall. The cpw is in the code basically a revolve and it has only one material parameter but nothing happens when I replace the original autoscripted material parameter with my own.&lt;BR /&gt;
Pls help.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Mats&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Jan 2008 21:56:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Material-on-complex-profile-wall/m-p/13626#M28888</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2008-01-22T21:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Material on complex profile wall</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Material-on-complex-profile-wall/m-p/13627#M28889</link>
      <description>Post the 3D Script here so we can check it out.</description>
      <pubDate>Wed, 23 Jan 2008 13:17:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Material-on-complex-profile-wall/m-p/13627#M28889</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2008-01-23T13:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Material on complex profile wall</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Material-on-complex-profile-wall/m-p/13628#M28890</link>
      <description>&lt;BLOCKQUOTE&gt;laszlonagy wrote:&lt;BR /&gt;Post the 3D Script here so we can check it out.&lt;/BLOCKQUOTE&gt;

Of course. It's an autoscripted object. &lt;BR /&gt;
The material definition aaaa is my material but it only applies to the "intestants" of the pipe and not the surfaces. There should be a material definition for each line in the 2D profile that is revolved. When I do a straight pipe I get it right with autoscripted ----ind(material,"Färg-07"),----&lt;BR /&gt;
&lt;BR /&gt;
&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; Mats&lt;BR /&gt;
&lt;BR /&gt;
revolve{2}       9,            0, 143.6102553225,    444, aaaa,&lt;BR /&gt;
        -0.003645035534536, 0.6587998942228,      1,     18, &lt;BR /&gt;
        -0.01244492975734, 0.6624449297573,      1,     18, &lt;BR /&gt;
        -0.02124482398015, 0.6587998942228,      1,     18, &lt;BR /&gt;
        -0.02488985951469,         0.65,      1,     18, &lt;BR /&gt;
        -0.02124482398015, 0.6412001057772,      1,     18, &lt;BR /&gt;
        -0.01244492975734, 0.6375550702427,      1,     18, &lt;BR /&gt;
        -0.003645035534536, 0.6412001057772,      1,     18, &lt;BR /&gt;
                  -0,         0.65,      1,     18, &lt;BR /&gt;
        -0.003645035534536, 0.6587998942228,      2,     18</description>
      <pubDate>Wed, 23 Jan 2008 14:00:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Material-on-complex-profile-wall/m-p/13628#M28890</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2008-01-23T14:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Material on complex profile wall</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Material-on-complex-profile-wall/m-p/13629#M28891</link>
      <description>&lt;BLOCKQUOTE&gt;Mats_Knutsson wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;laszlonagy wrote:&lt;BR /&gt;Post the 3D Script here so we can check it out.&lt;/BLOCKQUOTE&gt;

Of course. It's an autoscripted object. &lt;BR /&gt;
The material definition aaaa is my material but it only applies to the "intestants" of the pipe and not the surfaces. There should be a material definition for each line in the 2D profile that is revolved. When I do a straight pipe I get it right with autoscripted ----ind(material,"Färg-07"),----&lt;BR /&gt;
&lt;BR /&gt;
&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; Mats&lt;BR /&gt;
&lt;BR /&gt;
revolve{2}       9,            0, 143.6102553225,    444, aaaa,&lt;BR /&gt;
        -0.003645035534536, 0.6587998942228,      1,     18, &lt;BR /&gt;
        -0.01244492975734, 0.6624449297573,      1,     18, &lt;BR /&gt;
        -0.02124482398015, 0.6587998942228,      1,     18, &lt;BR /&gt;
        -0.02488985951469,         0.65,      1,     18, &lt;BR /&gt;
        -0.02124482398015, 0.6412001057772,      1,     18, &lt;BR /&gt;
        -0.01244492975734, 0.6375550702427,      1,     18, &lt;BR /&gt;
        -0.003645035534536, 0.6412001057772,      1,     18, &lt;BR /&gt;
                  -0,         0.65,      1,     18, &lt;BR /&gt;
        -0.003645035534536, 0.6587998942228,      2,     18&lt;/BLOCKQUOTE&gt;

The first Material parameter applies to the two end surfaces.&lt;BR /&gt;
Then each segment has its own material definition. That is the 4th parameter, according to the GDL Manual.&lt;BR /&gt;
I modified all &lt;FONT color="#ff0048"&gt;&lt;B&gt;18&lt;/B&gt;&lt;/FONT&gt;s to &lt;FONT color="#ff0048"&gt;&lt;B&gt;aaaa&lt;/B&gt;&lt;/FONT&gt;.&lt;BR /&gt;

&lt;PRE&gt;revolve{2} 9, 0, 143.6102553225, 444, aaaa,
-0.003645035534536, 0.6587998942228, 1, aaaa,
-0.01244492975734, 0.6624449297573, 1, aaaa,
-0.02124482398015, 0.6587998942228, 1, aaaa,
-0.02488985951469, 0.65, 1, aaaa,
-0.02124482398015, 0.6412001057772, 1, aaaa,
-0.01244492975734, 0.6375550702427, 1, aaaa,
-0.003645035534536, 0.6412001057772, 1, aaaa,
-0, 0.65, 1, aaaa,
-0.003645035534536, 0.6587998942228, 2, aaaa&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Jan 2008 14:15:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Material-on-complex-profile-wall/m-p/13629#M28891</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2008-01-23T14:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Material on complex profile wall</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Material-on-complex-profile-wall/m-p/13630#M28892</link>
      <description>&lt;BLOCKQUOTE&gt;laszlonagy wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;Mats_Knutsson wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;laszlonagy wrote:&lt;BR /&gt;Post the 3D Script here so we can check it out.&lt;/BLOCKQUOTE&gt;

Of course. It's an autoscripted object. &lt;BR /&gt;
The material definition aaaa is my material but it only applies to the "intestants" of the pipe and not the surfaces. There should be a material definition for each line in the 2D profile that is revolved. When I do a straight pipe I get it right with autoscripted ----ind(material,"Färg-07"),----&lt;BR /&gt;
&lt;BR /&gt;
&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; Mats&lt;BR /&gt;
&lt;BR /&gt;
revolve{2}       9,            0, 143.6102553225,    444, aaaa,&lt;BR /&gt;
        -0.003645035534536, 0.6587998942228,      1,     18, &lt;BR /&gt;
        -0.01244492975734, 0.6624449297573,      1,     18, &lt;BR /&gt;
        -0.02124482398015, 0.6587998942228,      1,     18, &lt;BR /&gt;
        -0.02488985951469,         0.65,      1,     18, &lt;BR /&gt;
        -0.02124482398015, 0.6412001057772,      1,     18, &lt;BR /&gt;
        -0.01244492975734, 0.6375550702427,      1,     18, &lt;BR /&gt;
        -0.003645035534536, 0.6412001057772,      1,     18, &lt;BR /&gt;
                  -0,         0.65,      1,     18, &lt;BR /&gt;
        -0.003645035534536, 0.6587998942228,      2,     18&lt;/BLOCKQUOTE&gt;

The first Material parameter applies to the two end surfaces.&lt;BR /&gt;
Then each segment has its own material definition. That is the 4th parameter, according to the GDL Manual.&lt;BR /&gt;
I modified all &lt;FONT color="#ff0048"&gt;&lt;B&gt;18&lt;/B&gt;&lt;/FONT&gt;s to &lt;FONT color="#ff0048"&gt;&lt;B&gt;aaaa&lt;/B&gt;&lt;/FONT&gt;.&lt;BR /&gt;

&lt;PRE&gt;revolve{2} 9, 0, 143.6102553225, 444, aaaa,
-0.003645035534536, 0.6587998942228, 1, aaaa,
-0.01244492975734, 0.6624449297573, 1, aaaa,
-0.02124482398015, 0.6587998942228, 1, aaaa,
-0.02488985951469, 0.65, 1, aaaa,
-0.02124482398015, 0.6412001057772, 1, aaaa,
-0.01244492975734, 0.6375550702427, 1, aaaa,
-0.003645035534536, 0.6412001057772, 1, aaaa,
-0, 0.65, 1, aaaa,
-0.003645035534536, 0.6587998942228, 2, aaaa&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
&lt;BR /&gt;
Ahhh!&lt;BR /&gt;
Beautiful! Thank you very much!&lt;BR /&gt;
I wrongly assumed the 18 was a statuscode for display. I should have checked the manual before.&lt;BR /&gt;
&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; Mats</description>
      <pubDate>Wed, 23 Jan 2008 14:28:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Material-on-complex-profile-wall/m-p/13630#M28892</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2008-01-23T14:28:02Z</dc:date>
    </item>
  </channel>
</rss>

