<?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: ROOF design Problem in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/roof-design-problem/m-p/159017#M2101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a rule for this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;version "2013.1"

HouseFootprint --&amp;gt;
 extrude(8)
 comp(f) {
&amp;nbsp; top: Gable |
&amp;nbsp; side: Facade. 
&amp;nbsp; # Period stops execution, instead of calling another rule
&amp;nbsp; # and names the final shape.
 }
 
 
Gable --&amp;gt;
 roofGable(30)
 comp(f) {
&amp;nbsp; # Send slanted roof shapes to two rules here:
&amp;nbsp; aslant: RoofToTexture SolarPanelMount |
&amp;nbsp; side: RoofFacade.
 }
 
SolarPanelMount --&amp;gt;
 # Use comp.index == 0 or 1 to identify face.
 # I first tried using geometry.isOriented(world.south).
 case comp.index == 1:
&amp;nbsp; split(x) {
&amp;nbsp;&amp;nbsp; '0.1 : NIL |
&amp;nbsp;&amp;nbsp; '0.8 : 
&amp;nbsp;&amp;nbsp;&amp;nbsp; split(y) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '0.1 : NIL |
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '0.8 : SolarPanels |
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '0.1 : NIL
&amp;nbsp;&amp;nbsp;&amp;nbsp; } |
&amp;nbsp;&amp;nbsp; '0.1 : NIL
&amp;nbsp; }
 else:
&amp;nbsp; NIL
 
SolarPanels --&amp;gt;
 t(0,0,1)
 color(1,0,0)
 # Code here to make this shape into panels.
 SolarPanelsTextured.
 
RoofToTexture --&amp;gt;
 # Texturing Code Here
 TexturedRoof.
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]33817[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 08:23:32 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-12-11T08:23:32Z</dc:date>
    <item>
      <title>ROOF design Problem</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/roof-design-problem/m-p/159016#M2100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Helloo everybody :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have a probleme and i hope someone will help me to solve it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my problem is to design a roof with a solar panel or to put the solar on the top of the roof.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i looket the example of redlands developpement, but i'm a beginner for using city engine, then i didnt understant the majorité of the rules in the redlands example. so can someone help to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is a picture of my building &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]33771[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 07:31:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/roof-design-problem/m-p/159016#M2100</guid>
      <dc:creator>Amirimohammed</dc:creator>
      <dc:date>2014-05-13T07:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: ROOF design Problem</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/roof-design-problem/m-p/159017#M2101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a rule for this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;version "2013.1"

HouseFootprint --&amp;gt;
 extrude(8)
 comp(f) {
&amp;nbsp; top: Gable |
&amp;nbsp; side: Facade. 
&amp;nbsp; # Period stops execution, instead of calling another rule
&amp;nbsp; # and names the final shape.
 }
 
 
Gable --&amp;gt;
 roofGable(30)
 comp(f) {
&amp;nbsp; # Send slanted roof shapes to two rules here:
&amp;nbsp; aslant: RoofToTexture SolarPanelMount |
&amp;nbsp; side: RoofFacade.
 }
 
SolarPanelMount --&amp;gt;
 # Use comp.index == 0 or 1 to identify face.
 # I first tried using geometry.isOriented(world.south).
 case comp.index == 1:
&amp;nbsp; split(x) {
&amp;nbsp;&amp;nbsp; '0.1 : NIL |
&amp;nbsp;&amp;nbsp; '0.8 : 
&amp;nbsp;&amp;nbsp;&amp;nbsp; split(y) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '0.1 : NIL |
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '0.8 : SolarPanels |
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '0.1 : NIL
&amp;nbsp;&amp;nbsp;&amp;nbsp; } |
&amp;nbsp;&amp;nbsp; '0.1 : NIL
&amp;nbsp; }
 else:
&amp;nbsp; NIL
 
SolarPanels --&amp;gt;
 t(0,0,1)
 color(1,0,0)
 # Code here to make this shape into panels.
 SolarPanelsTextured.
 
RoofToTexture --&amp;gt;
 # Texturing Code Here
 TexturedRoof.
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]33817[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:23:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/roof-design-problem/m-p/159017#M2101</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T08:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: ROOF design Problem</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/roof-design-problem/m-p/159018#M2102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your proposition &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it's a good exemple for designing solar panel independtly of the roofs&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 12:34:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/roof-design-problem/m-p/159018#M2102</guid>
      <dc:creator>Amirimohammed</dc:creator>
      <dc:date>2014-05-21T12:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: ROOF design Problem</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/roof-design-problem/m-p/159019#M2103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why do you distinguish between "case comp.index == 1 and 0" ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;m.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 10:57:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/roof-design-problem/m-p/159019#M2103</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2014-05-26T10:57:15Z</dc:date>
    </item>
  </channel>
</rss>

