<?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: CGA Facade parts in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/cga-facade-parts/m-p/190680#M2532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt's answer is saying that if you want to apply a &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;split&lt;/SPAN&gt; to the result of a &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;comp&lt;/SPAN&gt;, you can't put the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;split&lt;/SPAN&gt; right after the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;comp&lt;/SPAN&gt;, but instead, you need to put the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;split&lt;/SPAN&gt; inside the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;comp&lt;/SPAN&gt;.&amp;nbsp; For example, let's say you start with a building that is a cube.&amp;nbsp; If you want to use &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;comp&lt;/SPAN&gt; to get a facade (one side of the cube) and then apply a &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;split&lt;/SPAN&gt; to the facade, you need to perform the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;split&lt;/SPAN&gt; inside the curly braces of the&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;comp&lt;/SPAN&gt;.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;comp(f) { side: split(y) { ~floor_height: Floor }* }&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You could also put the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;split&lt;/SPAN&gt; in a &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Facade&lt;/SPAN&gt; rule.&amp;nbsp; This is the same as above:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;comp(f) { side: Facade }
	
Facade --&amp;gt;
   split(y) { ~floor_height: Floor }*
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 09:35:46 GMT</pubDate>
    <dc:creator>CherylLau</dc:creator>
    <dc:date>2021-12-11T09:35:46Z</dc:date>
    <item>
      <title>CGA Facade parts</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cga-facade-parts/m-p/190676#M2528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everybody !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i recently tried my first cga steps - and encountered a strange effect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After splitting a Building into several Floors (as in the Tutorial) i tried to map a facade to a Floor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;comp(f) { top: Top | front : nord | back : sued | left : ost | right :&amp;nbsp; west } split(y){ HoeheEG: Floor(split.index)fassadenstreifen.Facade | Hoehe1und2Stock: Floor(split.index) | Hoehe1und2Stock: Floor(split.index)&amp;nbsp; | {~Hoehe1und2Stock: Floor(split.index)}*&amp;nbsp;&amp;nbsp; | Hoehe1und2Stock: Floor(999)&amp;nbsp;&amp;nbsp; | 0.5 : s('1,'1,0.3) LedgeAsset}&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;fassadenstreifen.Facade is an imported cga Facade, created using the facade wizard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;regardless what kind of facade or texture i try to attach to my Ground Floor, the result is always something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]20309[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as you can see, the facade is shimmering through the building - did i do something wrong, mapping the facade directly to the Floor ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for all answers !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Flol&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Dec 2012 10:44:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cga-facade-parts/m-p/190676#M2528</guid>
      <dc:creator>floLang</dc:creator>
      <dc:date>2012-12-29T10:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: CGA Facade parts</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cga-facade-parts/m-p/190677#M2529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Flol !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue is that you duplicate the shapes in your code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you write :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Rule --&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; comp(f) { .. } &amp;nbsp;&amp;nbsp;&amp;nbsp; split(y) { .. }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you look at :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;A --&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; B. &amp;nbsp;&amp;nbsp;&amp;nbsp; C.&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A results in 2 copies : B. and C.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you want is to actually split the RESULT of the comp(f), so e.g. the north facade. So for this, just make a new Rule and put the split in the new rule.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 11:35:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cga-facade-parts/m-p/190677#M2529</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-01-03T11:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: CGA Facade parts</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cga-facade-parts/m-p/190678#M2530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Mathias !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;good to know, that duplicates of facades mix like this !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings Flol&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 13:22:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cga-facade-parts/m-p/190678#M2530</guid>
      <dc:creator>floLang</dc:creator>
      <dc:date>2013-01-04T13:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: CGA Facade parts</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cga-facade-parts/m-p/190679#M2531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please explain it a little bit more, im confused trying to do the same but with no luck !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 07:03:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cga-facade-parts/m-p/190679#M2531</guid>
      <dc:creator>BilalMustafa</dc:creator>
      <dc:date>2019-10-07T07:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: CGA Facade parts</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cga-facade-parts/m-p/190680#M2532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt's answer is saying that if you want to apply a &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;split&lt;/SPAN&gt; to the result of a &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;comp&lt;/SPAN&gt;, you can't put the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;split&lt;/SPAN&gt; right after the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;comp&lt;/SPAN&gt;, but instead, you need to put the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;split&lt;/SPAN&gt; inside the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;comp&lt;/SPAN&gt;.&amp;nbsp; For example, let's say you start with a building that is a cube.&amp;nbsp; If you want to use &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;comp&lt;/SPAN&gt; to get a facade (one side of the cube) and then apply a &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;split&lt;/SPAN&gt; to the facade, you need to perform the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;split&lt;/SPAN&gt; inside the curly braces of the&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;comp&lt;/SPAN&gt;.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;comp(f) { side: split(y) { ~floor_height: Floor }* }&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You could also put the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;split&lt;/SPAN&gt; in a &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Facade&lt;/SPAN&gt; rule.&amp;nbsp; This is the same as above:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;comp(f) { side: Facade }
	
Facade --&amp;gt;
   split(y) { ~floor_height: Floor }*
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:35:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cga-facade-parts/m-p/190680#M2532</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2021-12-11T09:35:46Z</dc:date>
    </item>
  </channel>
</rss>

