<?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: Wallniche side materials in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226929#M3583</link>
    <description>Oh god, gdl, the BIG SECRET OF ARCHICAD...&lt;BR /&gt;
How do you learned it please, a 500 page book (gdl cookbook) wont be helpful to implement gdl quickly and use it's power in an office</description>
    <pubDate>Mon, 30 Aug 2021 20:15:55 GMT</pubDate>
    <dc:creator>Ahmed_K</dc:creator>
    <dc:date>2021-08-30T20:15:55Z</dc:date>
    <item>
      <title>Wallniche side materials</title>
      <link>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226923#M3577</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;What's the secret for having custom surfaces in a WALLNICHE?&lt;BR /&gt;The status bit 256 is set, the materials (surfaces) as well, but it changes nothing.&lt;BR /&gt;Any insight here?&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 May 2023 06:45:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226923#M3577</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2023-05-25T06:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Wallniche side materials</title>
      <link>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226924#M3578</link>
      <description>I battled with this initially too. In the end I found you just use the wallniche without the material set for each line and instead set the material before. You can even see in my example where I hid my original material setting.&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;for k = 1 to vardim1(nodes_x)
	put _nodes_x&lt;K&gt;, _nodes_y&lt;K&gt;, 31	!1+4+8+16, MATWallReveal
next k
material MATWallReveal
wallniche nsp/3, 1, 2+16,
	0,0,1,	0,
	get(nsp)
&lt;/K&gt;&lt;/K&gt;&lt;/PRE&gt;

"MATWallReveal" in this example is a variable determined by either the external and internal wall surfaces or by a custom setting when the user opts to turn the custom setting on.&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;if bCustRevealMat then
	MATWallReveal	= _iSurfaces[5][1]
	MATWallOpposite = _iSurfaces[6][1]
else
	if WIDO_REVEAL_SIDE then
		if elTYPE = 1 then MATWallReveal	= WALL_MAT_A
		if elTYPE = 1 then MATWallOpposite 	= WALL_MAT_B

	else
		if elTYPE = 1 then MATWallReveal	= WALL_MAT_B
		if elTYPE = 1 then MATWallOpposite 	= WALL_MAT_A
	endif
endif
&lt;/PRE&gt;

so simple... once you know.</description>
      <pubDate>Mon, 30 Aug 2021 01:14:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226924#M3578</guid>
      <dc:creator>Kristian Bursell</dc:creator>
      <dc:date>2021-08-30T01:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Wallniche side materials</title>
      <link>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226925#M3579</link>
      <description>Funny, I was working on this just last week.&lt;BR /&gt;
This is what I used.&lt;BR /&gt;

&lt;PRE&gt;	
	m1=1	!!the polygon will create a visible edge upon entry into the body being cut
	m2=1	!!depth - the lengthwise edge of the cutting form will be visible
	m3=1	!!the polygon will create a visible edge upon exiting the body being cut
	m4=1	!!outside - the bottom edge of the cutting form will be visible
	m5=1	!!inside - the top edge of the cutting form will be visible
	m7=0	!!controls the viewpoint dependent visibility of the lengthwise edge

	MATERIAL rear_mat
		WALLNICHE 4, 1, 1*0 + 2*0 + 8*0 + 16*1 + 32*0 + 64*0 + 128*0 + 256*1,
		0, 0, 1, 0,
			-(a*0.5),0,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,bot_edge_mat,
			(a*0.5),0,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,left_edge_mat,
			(a*0.5),b,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,top_edge_mat,
			(-a*0.5),b,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,Right_edge_mat&lt;/PRE&gt;

The material for the rear of the niche is set with the standard MATERIAL command.&lt;BR /&gt;
The edges are all controlled in the niche code.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Mon, 30 Aug 2021 01:56:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226925#M3579</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2021-08-30T01:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Wallniche side materials</title>
      <link>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226926#M3580</link>
      <description>Would not the point of 256 be to have each side of the niche independent? Setting a material before hand only allows you to define a uniform side material.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Mon, 30 Aug 2021 02:42:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226926#M3580</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2021-08-30T02:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Wallniche side materials</title>
      <link>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226927#M3581</link>
      <description>Sorry I was not assuming a different material for each side. I have not needed this yet so haven't tested it.&lt;BR /&gt;
&lt;BR /&gt;
Barry seems to have it working fine though, and that is with the 256 (+ the 16 also).&lt;BR /&gt;
&lt;BR /&gt;
Perhaps the issue runxel is witnessing is due to the settings of the mask codes as well.</description>
      <pubDate>Mon, 30 Aug 2021 02:53:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226927#M3581</guid>
      <dc:creator>Kristian Bursell</dc:creator>
      <dc:date>2021-08-30T02:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Wallniche side materials</title>
      <link>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226928#M3582</link>
      <description>Guys, thanks for so much input!&lt;BR /&gt;
That was very helpful indeed! Glad to have you all here.&lt;BR /&gt;
&lt;BR /&gt;
I got it sorted out.&lt;BR /&gt;
So what was the issue here?&lt;BR /&gt;
First of all, the first status bit j1 &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;cancels&lt;E&gt;&lt;/E&gt; the 256 j9 bit!&lt;BR /&gt;
This is not documented in the GDL manual, and in the german translation I had open the wording is a bit off, so I misinterpreted that the first bit has to be set, while it is in fact the other way around.</description>
      <pubDate>Mon, 30 Aug 2021 09:05:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226928#M3582</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2021-08-30T09:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Wallniche side materials</title>
      <link>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226929#M3583</link>
      <description>Oh god, gdl, the BIG SECRET OF ARCHICAD...&lt;BR /&gt;
How do you learned it please, a 500 page book (gdl cookbook) wont be helpful to implement gdl quickly and use it's power in an office</description>
      <pubDate>Mon, 30 Aug 2021 20:15:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/226929#M3583</guid>
      <dc:creator>Ahmed_K</dc:creator>
      <dc:date>2021-08-30T20:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Wallniche side materials</title>
      <link>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/305516#M3584</link>
      <description>&lt;P&gt;Form me, I don't really need to do very many things with .gdl.&amp;nbsp; &amp;nbsp;So it is a smaller thing to learn how to use a few scripts that I never wrote myself anyway &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; .&amp;nbsp; Mostly is is a matter of just adding a few lines of script to some existing object to get it to do what I want.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 21:42:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Wallniche-side-materials/m-p/305516#M3584</guid>
      <dc:creator>Steve Jepson</dc:creator>
      <dc:date>2021-09-09T21:42:31Z</dc:date>
    </item>
  </channel>
</rss>

