<?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: Trim a Flat Top in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581299#M7862</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;in fact your&amp;nbsp;CGA Rule has brought me a lot, thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the buildings in some places are still too high, so a staircase would be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you also have a CGA Rule for the stairs, that would be great &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2019 16:46:03 GMT</pubDate>
    <dc:creator>BurakAydin1</dc:creator>
    <dc:date>2019-10-08T16:46:03Z</dc:date>
    <item>
      <title>Trim a Flat Top</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581294#M7857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following problem:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;since i have a hilly terrain, i extrude the buildings with the command "extrude(world.up.flatTop,0)". However, the flat tops are much too high in some places (see "flatTop").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to trim these flat tops? Preferably so that the door is always on the floor, or a flat top is created from the door onwards. &lt;A href="https://community.esri.com/migrated-users/54574"&gt;Matthias Buehler&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/172220"&gt;Cheryl Lau&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/22123"&gt;Geoff Taylor&lt;/A&gt;‌&lt;A href="https://community.esri.com/migrated-users/60037"&gt;David Wasserman&lt;/A&gt;‌&lt;A href="https://community.esri.com/migrated-users/35348"&gt;Chris Wilkins&lt;/A&gt;‌&lt;A href="https://community.esri.com/migrated-users/170932"&gt;Thomas Fuchs&lt;/A&gt;‌&lt;A href="https://community.esri.com/migrated-users/289244"&gt;Michelle Mathias&lt;/A&gt;‌&lt;A href="https://community.esri.com/migrated-users/73807"&gt;L R&lt;/A&gt;‌&lt;A href="https://community.esri.com/migrated-users/343189"&gt;Martin Manzer&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/6877"&gt;Elliot Hartley&lt;/A&gt;‌&lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 14:38:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581294#M7857</guid>
      <dc:creator>BurakAydin1</dc:creator>
      <dc:date>2019-10-07T14:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trim a Flat Top</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581295#M7858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To some extent given the degree of the slope, it is not clear if the problem is the need to reduce the height or just to add stairs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is to potentially identify the best place to put the door based on the sampled ground elevation of each side shape, but I am not sure elevation sampling is that exact.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am curious if the resetGeometry and scope.elevation functions/elements would help here, but I have not gotten to test them that deeply.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 16:51:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581295#M7858</guid>
      <dc:creator>DavidWasserman</dc:creator>
      <dc:date>2019-10-07T16:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trim a Flat Top</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581296#M7859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;creating stairs would be an option, but how do you create the stair rule for it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That would be the best solution, but i don't know how to identify the best place for the door.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are&amp;nbsp;&lt;EM&gt;resetGeometry&lt;/EM&gt;&amp;nbsp;and &lt;EM&gt;slope.elevation&amp;nbsp;&lt;/EM&gt;commands? I haven't found anything in the &lt;EM&gt;cityengine help&lt;/EM&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 18:16:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581296#M7859</guid>
      <dc:creator>BurakAydin1</dc:creator>
      <dc:date>2019-10-07T18:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trim a Flat Top</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581297#M7860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;re: new commands:&amp;nbsp; resetGeometry is new as of 2019.0. scope.elevation is old. I assume accuracy of scope.elevation is based on resolution of Esri's elevation service in the part of the world you are at.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 20:53:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581297#M7860</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-10-07T20:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Trim a Flat Top</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581298#M7861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's an example of a way I've dealt with hills and foundations in the past. Not addressing stairs tonight, maybe tomorrow. CGA rule is attached.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/461390_FoundationExample_geonet.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 23:15:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581298#M7861</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-10-07T23:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trim a Flat Top</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581299#M7862</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;in fact your&amp;nbsp;CGA Rule has brought me a lot, thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the buildings in some places are still too high, so a staircase would be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you also have a CGA Rule for the stairs, that would be great &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 16:46:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581299#M7862</guid>
      <dc:creator>BurakAydin1</dc:creator>
      <dc:date>2019-10-08T16:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Trim a Flat Top</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581300#M7863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have other stair rules for specific cases, but I just made a simple version here (meaning very few options). It uses the Foundation example from yesterday. It rotates the door down to make the stairs using an imported stair rule.&amp;nbsp; You have to adjust the height manually - finding a solution to that is out of my time frame. Also, I added a doorIndex attribute to tell it which wall gets the door (uses split.index).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rules attached here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="461413" alt="stairs rule pics" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/461413_StairsRule.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 18:47:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581300#M7863</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-10-08T18:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Trim a Flat Top</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581301#M7864</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;your rules are great. Now everything looks much better (see "stairs").&lt;/P&gt;&lt;P&gt;But some of the heights are not right, as you already mentioned (see "stairs1").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll probably solve it with &lt;EM&gt;s()&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N&lt;SPAN&gt;evertheless you helped me a lot, thank you very much&amp;nbsp;&lt;/SPAN&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG alt="stairs" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/461618_stairs.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="stairs1" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/461619_stairs1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 18:24:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581301#M7864</guid>
      <dc:creator>BurakAydin1</dc:creator>
      <dc:date>2019-10-10T18:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trim a Flat Top</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581302#M7865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for taking a look at this Chris!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 16:27:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/trim-a-flat-top/m-p/581302#M7865</guid>
      <dc:creator>DavidWasserman</dc:creator>
      <dc:date>2019-10-15T16:27:37Z</dc:date>
    </item>
  </channel>
</rss>

