<?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 Material // Fill Direction in section/elevation in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Material-Fill-Direction-in-section-elevation/m-p/221660#M3801</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;I've programmed a Door for a shower wall and the Material Fill is mirrored if the Door is mirrored.&lt;BR /&gt;It looks very jarring compared to the Glas wall next to it.&lt;BR /&gt;&lt;BR /&gt;Is it somehow possible to define the direction of the fill based on the Global direction as supposed to the orientation of the Object?&lt;/DIV&gt;</description>
    <pubDate>Wed, 15 Sep 2021 07:31:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-15T07:31:51Z</dc:date>
    <item>
      <title>Material // Fill Direction in section/elevation</title>
      <link>https://community.graphisoft.com/t5/GDL/Material-Fill-Direction-in-section-elevation/m-p/221660#M3801</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I've programmed a Door for a shower wall and the Material Fill is mirrored if the Door is mirrored.&lt;BR /&gt;It looks very jarring compared to the Glas wall next to it.&lt;BR /&gt;&lt;BR /&gt;Is it somehow possible to define the direction of the fill based on the Global direction as supposed to the orientation of the Object?&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 07:31:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Material-Fill-Direction-in-section-elevation/m-p/221660#M3801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-15T07:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Material // Fill Direction in section/elevation</title>
      <link>https://community.graphisoft.com/t5/GDL/Material-Fill-Direction-in-section-elevation/m-p/221661#M3802</link>
      <description>There is a GDL command that queries whether a door or window is mirrored or not. Using that return as a boolean, you could insert a section to change to texture orientation.&lt;BR /&gt;
&lt;BR /&gt;
Page 578 in the GDL Reference Guide?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Thu, 12 Nov 2020 01:24:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Material-Fill-Direction-in-section-elevation/m-p/221661#M3802</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2020-11-12T01:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Material // Fill Direction in section/elevation</title>
      <link>https://community.graphisoft.com/t5/GDL/Material-Fill-Direction-in-section-elevation/m-p/221662#M3803</link>
      <description>&lt;BLOCKQUOTE&gt;Arnaut2604 wrote:&lt;BR /&gt;
I've programmed a Door for a shower wall and the Material Fill is mirrored if the Door is mirrored.&lt;BR /&gt;
It looks very jarring compared to the Glas wall next to it.&lt;BR /&gt;
&lt;BR /&gt;
Is it somehow possible to define the direction of the fill based on the Global direction as supposed to the orientation of the Object?
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
Look into the use of VERT and COOR to redefine the material orientation.&lt;BR /&gt;
You will need to trap it if the object is mirrored.&lt;BR /&gt;
&lt;BR /&gt;
So something like ...&lt;BR /&gt;

&lt;PRE&gt;body -1
MATERIAL ....
PRISM_ .... (or what ever it is you use to model the door panel)

if SYMB_MIRRORED = 1 then
    VERT 0,0,0 !Origin
    VERT -1,0,0 !X direction
    VERT 0,1,0 !Y direction
    VERT 0,0,1 !Z direction
    COOR 2+256,1,2,3,4
    body -1
endif&lt;/PRE&gt;

&lt;BR /&gt;
I think the '-1' for the X direction will mirror the material.&lt;BR /&gt;
I am not able to check it at the moment, but I am pretty sure it is something like that.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 12 Nov 2020 01:27:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Material-Fill-Direction-in-section-elevation/m-p/221662#M3803</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2020-11-12T01:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Material // Fill Direction in section/elevation</title>
      <link>https://community.graphisoft.com/t5/GDL/Material-Fill-Direction-in-section-elevation/m-p/221663#M3804</link>
      <description>Perfect! Worked a charm!&lt;BR /&gt;
Thanks so much!&lt;BR /&gt;
&lt;BR /&gt;
I spent hours trying and couldn't get it to work &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 12 Nov 2020 16:18:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Material-Fill-Direction-in-section-elevation/m-p/221663#M3804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-12T16:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Material // Fill Direction in section/elevation</title>
      <link>https://community.graphisoft.com/t5/GDL/Material-Fill-Direction-in-section-elevation/m-p/221664#M3805</link>
      <description>&lt;BLOCKQUOTE&gt;Arnaut2604 wrote:&lt;BR /&gt;
Perfect! Worked a charm!&lt;BR /&gt;
Thanks so much!&lt;BR /&gt;
&lt;BR /&gt;
I spent hours trying and couldn't get it to work &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt;
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
Awesome.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 13 Nov 2020 01:39:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Material-Fill-Direction-in-section-elevation/m-p/221664#M3805</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2020-11-13T01:39:38Z</dc:date>
    </item>
  </channel>
</rss>

