<?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: erect building and facade wizard in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/erect-building-and-facade-wizard/m-p/159236#M2109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe use extrude(world.y, ceil(rand(8,10)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought you want to flatten the footprint. This code extrudes exactly vertically up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to deal with more precise code to get a bit better results for the facades.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this should get you a bit further for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;Matthias Buehler&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN lang="EN-US"&gt;Head of 3D Technologies&lt;/SPAN&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;twitter: @MattB3D&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;Garsdale Design Limited &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:matthias.buehler@garsdaledesign.co.uk" target="_blank"&gt;matthias.buehler@garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.garsdaledesign.co.uk/" target="_blank"&gt;www.garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Feb 2015 12:25:09 GMT</pubDate>
    <dc:creator>MatthiasBuehler</dc:creator>
    <dc:date>2015-02-24T12:25:09Z</dc:date>
    <item>
      <title>erect building and facade wizard</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/erect-building-and-facade-wizard/m-p/159233#M2106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have attached an image with this post and i have two questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 . in the image my building is not straight and it is slightly tilted or slanted becuase of the elevation. can u kindlly tell me is there any function or something which i can use so that my building is constructed erect or straight even if there is elevation or depression in the geometry (e.g. any function to construct a basement with correct height)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. i manipulated the image using the facade wizard of city engine and u can see that the .cga rule file is applied on all the 3 faces of front side of my building. is there any way to avoid this or is there any way to just make city engine create just one face at the front side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;waiting for response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 16:50:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/erect-building-and-facade-wizard/m-p/159233#M2106</guid>
      <dc:creator>Muhammad_ShoiabMalik</dc:creator>
      <dc:date>2015-02-23T16:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: erect building and facade wizard</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/erect-building-and-facade-wizard/m-p/159234#M2107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Muhammad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1] Yes, this is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following code right at the beginning of your StartRule:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;alignScopeToAxes(y)&lt;/P&gt;&lt;P&gt;s('1,0,'1)&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;this will flatten the shape.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2] I assume you have 3 edges on the front of your building footprint, right?&lt;/P&gt;&lt;P&gt;--&amp;gt; if yes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; maybe clean the input polygon or use the cleanupGeometry() operation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; otherwise, use the 'comp.index' to drive on which facade polygon you want which facade wizard rule applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;Matthias Buehler&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN lang="EN-US"&gt;Head of 3D Technologies&lt;/SPAN&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;twitter: @MattB3D&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;---------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;Garsdale Design Limited &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:matthias.buehler@garsdaledesign.co.uk" target="_blank"&gt;matthias.buehler@garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.garsdaledesign.co.uk/" target="_blank"&gt;www.garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 17:07:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/erect-building-and-facade-wizard/m-p/159234#M2107</guid>
      <dc:creator>MatthiasBuehler</dc:creator>
      <dc:date>2015-02-23T17:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: erect building and facade wizard</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/erect-building-and-facade-wizard/m-p/159235#M2108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1] i tried what u said... i got something like half of the house above the street and half below the street and also this way the facade is messed up&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2] i also tried the cleanupgeometry() oepration. this doesn't work also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;House1 --&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setback(2){street.front : FrontYard | remainder : Building1}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Facade --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; facade_house_1.Facade&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FrontYard --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setupProjection(0, scope.xy, '1, '1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; projectUV(0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; texture("Grass/green grass 4.png")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Building1--&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alignScopeToAxes(y)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s('1,0,'1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; extrude(ceil(rand(8,10)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; comp(f) { front: Facade | top: Top1 | all: X }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cleanupGeometry(faces, 0)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Top1&amp;nbsp; --&amp;gt; roofHip(30, 1, false) Roof1&lt;/P&gt;&lt;P&gt;Roof1 --&amp;gt; setupProjection(0, scope.xy, '1, '1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; texture("Roof/roof4.jpg")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; projectUV(0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set(trim.horizontal, true)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; comp(f) { all : X }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 11:54:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/erect-building-and-facade-wizard/m-p/159235#M2108</guid>
      <dc:creator>Muhammad_ShoiabMalik</dc:creator>
      <dc:date>2015-02-24T11:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: erect building and facade wizard</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/erect-building-and-facade-wizard/m-p/159236#M2109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe use extrude(world.y, ceil(rand(8,10)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought you want to flatten the footprint. This code extrudes exactly vertically up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to deal with more precise code to get a bit better results for the facades.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this should get you a bit further for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;Matthias Buehler&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN lang="EN-US"&gt;Head of 3D Technologies&lt;/SPAN&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;twitter: @MattB3D&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;Garsdale Design Limited &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:matthias.buehler@garsdaledesign.co.uk" target="_blank"&gt;matthias.buehler@garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.garsdaledesign.co.uk/" target="_blank"&gt;www.garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 12:25:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/erect-building-and-facade-wizard/m-p/159236#M2109</guid>
      <dc:creator>MatthiasBuehler</dc:creator>
      <dc:date>2015-02-24T12:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: erect building and facade wizard</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/erect-building-and-facade-wizard/m-p/159237#M2110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have one more query... i have around 20 or 30 cga facade rule files and i want to put these rule files randomly on the footprints in my scene. any idea how do i do that? like some code snippet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 15:48:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/erect-building-and-facade-wizard/m-p/159237#M2110</guid>
      <dc:creator>Muhammad_ShoiabMalik</dc:creator>
      <dc:date>2015-02-26T15:48:12Z</dc:date>
    </item>
  </channel>
</rss>

