<?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: Building height with roof in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-height-with-roof/m-p/142846#M1890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Trigonometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you only know the maximum height you must assign a roof angle, then assuming a gable roof you eave height will be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;MaxHeight-(0.5*BuildingWidth*tan(roofAngle))&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;or for a shed roof&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;MaxHeight-(BuildingWidth*tan(roofAngle))&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or if you know the eave height the and the max height you can calulate the roof slope:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;atan(2*(MaxHeight-EaveHeight)/BuildingWidth)&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Shed:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;atan((MaxHeight-EaveHeight)/BuildingWidth)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;building width will equal &lt;/SPAN&gt;&lt;STRONG&gt;scope.sx&lt;/STRONG&gt;&lt;SPAN&gt; (or .sy or .sz) assuming the scope is aligned to the geometry and it is a building with a simple rectangular footprint.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Dec 2013 13:15:07 GMT</pubDate>
    <dc:creator>BenLeslie1</dc:creator>
    <dc:date>2013-12-05T13:15:07Z</dc:date>
    <item>
      <title>Building height with roof</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-height-with-roof/m-p/142845#M1889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking to create buildings with accurate height representation within a city.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; My lots contain a building height attribute, which allows me to create 3D buildings to the correct height. However, due to the fact that my height attribute data was collected using Lidar, my height attributes are representative of the highest point on the building (often the ridge or chimney on a roof). As such, when I place a roof on my extruded building the height becomes an over estimate by the amount of height the roof itself adds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way to incorporate the roof height within the building model attribute so that the height of the building is correct once the roof is added?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 09:56:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/building-height-with-roof/m-p/142845#M1889</guid>
      <dc:creator>JamieIngall</dc:creator>
      <dc:date>2013-12-04T09:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Building height with roof</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-height-with-roof/m-p/142846#M1890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Trigonometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you only know the maximum height you must assign a roof angle, then assuming a gable roof you eave height will be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;MaxHeight-(0.5*BuildingWidth*tan(roofAngle))&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;or for a shed roof&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;MaxHeight-(BuildingWidth*tan(roofAngle))&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or if you know the eave height the and the max height you can calulate the roof slope:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;atan(2*(MaxHeight-EaveHeight)/BuildingWidth)&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Shed:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;atan((MaxHeight-EaveHeight)/BuildingWidth)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;building width will equal &lt;/SPAN&gt;&lt;STRONG&gt;scope.sx&lt;/STRONG&gt;&lt;SPAN&gt; (or .sy or .sz) assuming the scope is aligned to the geometry and it is a building with a simple rectangular footprint.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 13:15:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/building-height-with-roof/m-p/142846#M1890</guid>
      <dc:creator>BenLeslie1</dc:creator>
      <dc:date>2013-12-05T13:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Building height with roof</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-height-with-roof/m-p/142847#M1891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great idea, it may get a little bit complex as i have a few different roof types under a random attribute selector, but I am sure I can work on the theory to come up with something,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 13:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/building-height-with-roof/m-p/142847#M1891</guid>
      <dc:creator>JamieIngall</dc:creator>
      <dc:date>2013-12-05T13:50:48Z</dc:date>
    </item>
  </channel>
</rss>

