<?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 Wallhole Materials in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Wallhole-Materials/m-p/251469#M3780</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi all,&lt;BR /&gt;
&lt;BR /&gt;
Does anyone know how the default doors and windows modify the material of the hole they create within a wall?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 24 May 2023 10:27:22 GMT</pubDate>
    <dc:creator>Lingwisyer</dc:creator>
    <dc:date>2023-05-24T10:27:22Z</dc:date>
    <item>
      <title>Wallhole Materials</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wallhole-Materials/m-p/251469#M3780</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi all,&lt;BR /&gt;
&lt;BR /&gt;
Does anyone know how the default doors and windows modify the material of the hole they create within a wall?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:27:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wallhole-Materials/m-p/251469#M3780</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-05-24T10:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Wallhole Materials</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wallhole-Materials/m-p/251470#M3781</link>
      <description>I believe it is just a case of setting the material before the WALLHOLE commend.&lt;BR /&gt;
&lt;BR /&gt;
I actually use the WALLNICHE command so I can get a different material on the inside and outside.&lt;BR /&gt;
I just set it to match the internal and external wall surfaces.&lt;BR /&gt;
I also set a different pen for the internal and external lines so I can change them if I need to.&lt;BR /&gt;
&lt;BR /&gt;
Something like this.&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&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=0	!!outside - the bottom edge of the cutting form will be visible
m5=0	!!inside - the top edge of the cutting form will be visible
m7=0	!!controls the viewpoint dependent visibility of the lengthwise edge

PEN pen_lin
MATERIAL WALL_MAT_B
WALLNICHE 4, 1, 1*0 + 2*1 + 8*0 + 16*0 + 32*0 + 64*0 + 128*0,
0, 0, 1, -K_-extend_niche,
	-(a*0.5),0,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,
	(a*0.5),0,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,
	(a*0.5),b,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,
	(-a*0.5),b,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7


PEN pen_lin_int
MATERIAL WALL_MAT_A
WALLNICHE 4, 1, 1*0 + 2*1 + 8*0 + 16*0 + 32*0 + 64*0 + 128*0,
0, 0, 1, C_-K_+extend_niche,
	-(a*0.5),0,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,
	(a*0.5),0,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,
	(a*0.5),b,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,
	(-a*0.5),b,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7
&lt;/PRE&gt;

Barry.</description>
      <pubDate>Fri, 12 Oct 2018 06:51:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wallhole-Materials/m-p/251470#M3781</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-10-12T06:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Wallhole Materials</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wallhole-Materials/m-p/251471#M3782</link>
      <description>Coolios. That was easy enough. Two niches, one for the interior, one for the exterior. Creates a hole with four options for the material; inside, outside, side, wrap.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;If gs_wall_mat = "Interior" then
		SET MATERIAL WALL_MAT_A
	else
		If gs_wall_mat = "Side" then
				SET MATERIAL WALL_MAT_EDGE
			else
				SET MATERIAL WALL_MAT_B
		endIf
endIf

WallNiche 4, 1, 2,
	0,	0,	1,	-WIDO_SILL,
	0,	0,	0,
	A,	0,	0,
	A,	B,	0,
	0,	B,	0

If gs_wall_mat = "Wrap" then
		SET MATERIAL WALL_MAT_A
endIf

WallNiche 4, 1, 2,
	0,	0,	1,	WALL_THICKNESS,
	0,	0,	0,
	A,	0,	0,
	A,	B,	0,
	0,	B,	0&lt;/PRE&gt;

&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Fri, 12 Oct 2018 07:24:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wallhole-Materials/m-p/251471#M3782</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2018-10-12T07:24:30Z</dc:date>
    </item>
  </channel>
</rss>

