<?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: How can I create the two shape build ? in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-the-two-shape-build/m-p/20145#M263</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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you guarantee that the base is always square, then I'd use an asset. Much easier than to create the form in CGA. If you want it to work on other shapes, read on .. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The lower one is quite simple.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;first, use a roof operation, then directly split that roof volume vertically&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;roofHip()
split(y) {'0.5 : RoofForm. | ~1 : NIL}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first one is a little more complex and can only be created with recursive rules, but using the same concept.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's an example of such a form in the Philadelphia Example, in the 'GIS-Driven Buildings.cga' rule. Track down the VaultRoof / DomeRoof.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;They're using a certain number of recursions, using that number to determine the new angles at each step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if you have more questions !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 20:48:16 GMT</pubDate>
    <dc:creator>MatthiasBuehler1</dc:creator>
    <dc:date>2021-12-10T20:48:16Z</dc:date>
    <item>
      <title>How can I create the two shape build ?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-the-two-shape-build/m-p/20144#M262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can I create the two shapes build use CGA rule ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Like the two Pics:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]19405[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]19406[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 21:37:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-the-two-shape-build/m-p/20144#M262</guid>
      <dc:creator>qingfengyang</dc:creator>
      <dc:date>2012-11-19T21:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create the two shape build ?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-the-two-shape-build/m-p/20145#M263</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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you guarantee that the base is always square, then I'd use an asset. Much easier than to create the form in CGA. If you want it to work on other shapes, read on .. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The lower one is quite simple.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;first, use a roof operation, then directly split that roof volume vertically&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;roofHip()
split(y) {'0.5 : RoofForm. | ~1 : NIL}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first one is a little more complex and can only be created with recursive rules, but using the same concept.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's an example of such a form in the Philadelphia Example, in the 'GIS-Driven Buildings.cga' rule. Track down the VaultRoof / DomeRoof.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;They're using a certain number of recursions, using that number to determine the new angles at each step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if you have more questions !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:48:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-the-two-shape-build/m-p/20145#M263</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2021-12-10T20:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create the two shape build ?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-the-two-shape-build/m-p/20146#M264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: fqyfqyfqy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's very nice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm a newuser of cityengine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 21:21:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-create-the-two-shape-build/m-p/20146#M264</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-11-20T21:21:48Z</dc:date>
    </item>
  </channel>
</rss>

