<?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: WALL_FLIPPED doesn't work in 3D in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257115#M2942</link>
    <description>Regardless of WALL_FLIPPED, WALL_SKINS_PARAMS is ordered differently when the wall is flipped. The way to deal with it is to not care about it.&lt;BR /&gt;
&lt;BR /&gt;
The orientation of windows can be confusing, three globals are affected, here is an &lt;A href="http://gdl.graphisoft.com/gdl-basics/simple-doors-and-windows" target="_blank"&gt;explanation with drawings&lt;/A&gt;.</description>
    <pubDate>Tue, 06 Apr 2021 10:21:03 GMT</pubDate>
    <dc:creator>Peter Baksa</dc:creator>
    <dc:date>2021-04-06T10:21:03Z</dc:date>
    <item>
      <title>WALL_FLIPPED doesn't work in 3D</title>
      <link>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257110#M2937</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I'm experiencing an issue where the WALL_FLIPPED global parameter doesn't work in 3D (window sub type). It will work fine in 2D, and when I open the parameters dialog in 3D preview. But in the 3D window, or in a section view, it won't work.&lt;BR /&gt;&lt;BR /&gt;This is a problem, as the order of the WALL_SKINS_PARAMS (which I get lining thickness from) is dependent on the wall direction.&lt;BR /&gt;&lt;BR /&gt;I've had a look at the GS window, but can't figure out how they deal with this issue.&lt;BR /&gt;&lt;BR /&gt;Is this a know bug? What's the workaround?&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Sep 2021 07:41:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257110#M2937</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2021-09-14T07:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: WALL_FLIPPED doesn't work in 3D</title>
      <link>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257111#M2938</link>
      <description>You can use &lt;B&gt;WIDO_REVEAL_SIDE&lt;/B&gt; to tell you which side you are on, then count from there.&lt;BR /&gt;
&lt;BR /&gt;
Something along the lines of
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;IF WIDO_REVEAL_SIDE = 0 then
	ROTy 180
	MULx -1
endIF

...

IF WIDO_REVEAL_SIDE = 0 then
		...WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][2]
	ELSE
		...WALL_SKINS_PARAMS[1][2]
endIF&lt;/PRE&gt;

&lt;BR /&gt;
For me, using the toggles mentioned in 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;GDL Reference Guide&lt;E&gt;&lt;/E&gt; always resulted in my window sitting outside the wall in half of the cases... So I came up with the above which seems to work for me.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.&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;Note: Just realised that in the pictured object, while the inside / outside is static, the left / right is following the opening direction which it should not be.&lt;E&gt;&lt;/E&gt;</description>
      <pubDate>Tue, 06 Apr 2021 06:59:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257111#M2938</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2021-04-06T06:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: WALL_FLIPPED doesn't work in 3D</title>
      <link>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257112#M2939</link>
      <description>I have never really looked at this until now.&lt;BR /&gt;
I would consider it a bug - for 2 reasons.&lt;BR /&gt;
Using WALL_SKINS_PARAMS [1] [1] which is the fill for the first skin.&lt;BR /&gt;
&lt;BR /&gt;
One.&lt;BR /&gt;
Walls drawn from right to left.&lt;BR /&gt;
If a wall is drawn with ref line on the outside face and is not flipped, the first wall skin is actually the one furthest from the reference line - that doesn't make sense to me.&lt;BR /&gt;
&lt;BR /&gt;
However if a wall is drawn with ref line on the outside face and is flipped, the first wall skin is the one on the reference line - that to me is correct.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Two.&lt;BR /&gt;
Same as above but with the walls drawn from left to right.&lt;BR /&gt;
If a wall is drawn with ref line on the outside face and is flipped so it looks the same as the one drawn right to left, the first wall skin is the one on the reference line - that to me is correct.&lt;BR /&gt;
&lt;BR /&gt;
Drawn with ref line on the outside face and is not flipped so it looks like the right to left that is flipped, the first wall skin is the one furthest from the reference line - that to me is not correct.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
To me the first skin is the one on the outside face - as nominated in the composite setting dialogue.&lt;BR /&gt;
So regardless if the wall is drawn left to right or right to left, is flipped or not flipped - they should all be the same.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
The GDL manual also says that the WALL_FLIPPED global should work in the 3D script.&lt;BR /&gt;
If it doesn't, the trick (I think) would be to get the wall skin info from the master script and then use the results in the 3D script.&lt;BR /&gt;
But you would have to allow for the flipped / not flipped situation - which I don't think you should have to.&lt;BR /&gt;
&lt;BR /&gt;
I hope this image may help to illustrate the problem.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 06 Apr 2021 07:41:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257112#M2939</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2021-04-06T07:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: WALL_FLIPPED doesn't work in 3D</title>
      <link>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257113#M2940</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;
The GDL manual also says that ... global should work in the 3D script.&lt;BR /&gt;
If it doesn't, the trick (I think) would be to get the wall skin info from the master script and then use the results in the 3D script.&lt;/BLOCKQUOTE&gt;

That trick wouldn't work, a master script executed before xy script sees the same globals/requests/commands as xy script.</description>
      <pubDate>Tue, 06 Apr 2021 09:53:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257113#M2940</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2021-04-06T09:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: WALL_FLIPPED doesn't work in 3D</title>
      <link>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257114#M2941</link>
      <description>An easy test is to enter the code:&lt;BR /&gt;

&lt;PRE&gt;print WALL_FLIPPED&lt;/PRE&gt;

into the Master Script of a dummy window / door object  (make sure "Interrupt with error messages" is turned on in your Work Environment &amp;gt; Model Rebuild Options).&lt;BR /&gt;
&lt;BR /&gt;
Place this dummy window into a wall, and test in:&lt;BR /&gt;
Plan&lt;BR /&gt;
3D &lt;BR /&gt;
Section &lt;BR /&gt;
Parameters Dialog Preview (Plan, and then 3D).&lt;BR /&gt;
&lt;BR /&gt;
The results are correct in Plan &amp;amp; Parameters Dialog.&lt;BR /&gt;
The results are incorrect in 3D &amp;amp; section (always 0)</description>
      <pubDate>Tue, 06 Apr 2021 10:16:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257114#M2941</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2021-04-06T10:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: WALL_FLIPPED doesn't work in 3D</title>
      <link>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257115#M2942</link>
      <description>Regardless of WALL_FLIPPED, WALL_SKINS_PARAMS is ordered differently when the wall is flipped. The way to deal with it is to not care about it.&lt;BR /&gt;
&lt;BR /&gt;
The orientation of windows can be confusing, three globals are affected, here is an &lt;A href="http://gdl.graphisoft.com/gdl-basics/simple-doors-and-windows" target="_blank"&gt;explanation with drawings&lt;/A&gt;.</description>
      <pubDate>Tue, 06 Apr 2021 10:21:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257115#M2942</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2021-04-06T10:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: WALL_FLIPPED doesn't work in 3D</title>
      <link>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257116#M2943</link>
      <description>Thanks Peter (and Lingwisyer) - I will use the SYMB_ROTANGLE and WIDO_REVEAL_SIDE to work out what I need.  Regardless, the WALL_FLIPPED should still work in 3D.  Can you please report as a bug (if indeed it is)?  Ta.</description>
      <pubDate>Tue, 06 Apr 2021 10:26:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257116#M2943</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2021-04-06T10:26:26Z</dc:date>
    </item>
  </channel>
</rss>

