<?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: Problem with building`s floors in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524256#M7142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume the hole might be unrelated. Please let us know more about the hole, if it persists.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2014 17:34:46 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2014-11-20T17:34:46Z</dc:date>
    <item>
      <title>Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524249#M7135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a rule that will generate a building with 4 floors, the second and the 3rd one are L shaped.&lt;/P&gt;&lt;P&gt;If I have no terrain in my scene, everything works perfectly normal, but if I add a terrain to my scene, align the lots to my terrain and assign the rule to them, the extrusion is very weird. I attached a print so you could understand better what I mean by weird extrusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I`m not sure if it`s because of the rule or because the lots are aligned to a sloped terrain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="test2.jpg" class="jive-image image-2" height="451" src="https://community.esri.com/legacyfs/online/31743_test2.jpg" style="width: 383px; height: 451.0888888888889px;" width="383" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="31742" alt="Test.jpg" class="jive-image image-1" height="367" src="https://community.esri.com/legacyfs/online/31742_Test.jpg" style="width: 772px; height: 367.252801992528px;" width="772" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 08:36:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524249#M7135</guid>
      <dc:creator>IonutAlixandroae</dc:creator>
      <dc:date>2014-11-20T08:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524250#M7136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put this before your extrude statement:&lt;/P&gt;&lt;P&gt;&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 your shape by scaling to zero in the Y direction, and relative one in X and Z. You were right about the sloping terrain causing it to not extrude right. I use this command at the start of many rules.  &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 12:56:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524250#M7136</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-11-20T12:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524251#M7137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I replied from my phone without seeing the images.&amp;nbsp; Now, I just have to say how much I like the images of your "very wierd" extruded buildings. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 15:57:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524251#M7137</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-11-20T15:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524252#M7138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I never knew I could use "s()" before extrude statement, thank you for the info &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;What do you mean by "like" ? &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;) haha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used your advice and the result is better, the problem persists now only for 1st floor(also now I have a hole in my building &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;))) ) . I will keep on trying and let you know &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again,&lt;/P&gt;&lt;P&gt;Ionut&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" height="314" src="https://community.esri.com/legacyfs/online/31827_1.png" style="height: 314px; width: 359.7281553398058px;" width="360" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="jive-image image-2" height="303" src="https://community.esri.com/legacyfs/online/31828_2.png" style="width: 364px; height: 302.94193548387096px;" width="364" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 17:16:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524252#M7138</guid>
      <dc:creator>IonutAlixandroae</dc:creator>
      <dc:date>2014-11-20T17:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524253#M7139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed the align function from "Project All" to "Project to Object Average" and it seems that now the problem is gone....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 17:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524253#M7139</guid>
      <dc:creator>IonutAlixandroae</dc:creator>
      <dc:date>2014-11-20T17:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524254#M7140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really should have said to run this at the very beginning of your start rule. That way the start shape is "flattened". This is the same as "Project to Object Average," except that you won't have to worry about what type of start shape you have (you can use the rule on footprints that have not been projected to average). To test this technique, project the footprint back to its distorted state using "project all" to terrain, then add that scale command as the first line of your start rule, and remove it from where you have it now. I should have been more specific, thanks!&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 17:32:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524254#M7140</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-11-20T17:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524255#M7141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, and I "like" your weird building because they look interesting in their distorted state.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 17:33:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524255#M7141</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-11-20T17:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524256#M7142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume the hole might be unrelated. Please let us know more about the hole, if it persists.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 17:34:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524256#M7142</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-11-20T17:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524257#M7143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks pretty cool. I feel like investigating cool looking distortions after seeing this. Glad everything worked out. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 17:41:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524257#M7143</guid>
      <dc:creator>DavidWasserman</dc:creator>
      <dc:date>2014-11-20T17:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524258#M7144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please correct me if I misunderstood your advice but I added s('1,0,'1) each time I had extrude statement ( I did the rule in a way that I used extrude for each floor ) with my buildings aligned to terrain with "Project All" function. The problem persist now only for 1st floor ( it`s aligned to slopy terrain) and the hole it`s still there ( practically it`s a remainder from LShape but it wasn`t supposed to be invisible so that I can see through the model, it should have been a free space where I could place another obj. balcony)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 17:46:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524258#M7144</guid>
      <dc:creator>IonutAlixandroae</dc:creator>
      <dc:date>2014-11-20T17:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524259#M7145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove that command from all places in your rule and ONLY include it at the very beginning. To explain why this works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the input shape is projected to a sloped terrain using "project all", then its vertices will be at different heights (different Y values). By using the scale command s('1,0,'1), you are keeping the X and Z scale exactly the same, but scaling the scope's Y dimension to zero, so you are "flattening" the shape in the Y direction. Therefore, extrusion of the initial shape will go straight up in the Y direction. Once you do that, then all of the subsequent extrusions will also be correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you see now why you would do this in the beginning of the start rule, and not before subsequent extrusions? Are you understanding exactly why this command works in this way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I should have been more explicit in my first reply to this thread. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 18:20:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524259#M7145</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-11-20T18:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524260#M7146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand perfectly &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again ! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 19:11:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524260#M7146</guid>
      <dc:creator>IonutAlixandroae</dc:creator>
      <dc:date>2014-11-20T19:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524261#M7147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome! I've seen you learn a lot of tricks here. ESRI Romania has a talented CGA author now. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 19:15:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524261#M7147</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-11-20T19:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with building`s floors</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524262#M7148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I`m doing my best to learn everyday something new &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; To be able to create and design models like you guys it`s necessary to work hard and also to be diligence. Would be a dream come true to see the work done at ESRI in Redlands; but who knows, maybe I`m lucky for a UC in next years to come &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again Chris ! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 19:24:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-building-s-floors/m-p/524262#M7148</guid>
      <dc:creator>IonutAlixandroae</dc:creator>
      <dc:date>2014-11-20T19:24:38Z</dc:date>
    </item>
  </channel>
</rss>

