<?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: CARTOONY BUILDING RULE? in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218037#M2875</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;I believe the rounding of the corners could be handled during rendering ... need to check with the tech guy.&lt;/P&gt;&lt;P&gt;However, being a non-programmer/non-scripter and on a tight schedule at the moment, I would really appreciate a bit more elaboration on the 'very easy' part &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; Could you direct me so I can try to figure it out or (even better for me) provide a basic script I can tweak?&lt;/P&gt;&lt;P&gt;I learn best using the existing scripts and fiddle with them, did the same for 'complete streets' and a train track.&amp;nbsp; I wouldn't still be able to build the script myself but I do understand the steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The building footprints are in reality almost always slanted, not sure if that complicates things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks and happy easter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Apr 2015 17:48:57 GMT</pubDate>
    <dc:creator>ErwinVervacke</dc:creator>
    <dc:date>2015-04-05T17:48:57Z</dc:date>
    <item>
      <title>CARTOONY BUILDING RULE?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218035#M2873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be possible (and how) to generate building models that have an overhanging roof with thickness and that have rounded vertical edges at the facade?&amp;nbsp; See picture.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2015-04-02 at 22.24.30 .png" class="image-1 jive-image" src="/legacyfs/online/81352_Screen Shot 2015-04-02 at 22.24.30 .png" style="width: 620px; height: 401px;" /&gt;&lt;/P&gt;&lt;P&gt;I'm looking into a more cartoony style but will need to generate the models completely in CE.&amp;nbsp; Polycount is less of an issue but manual labor will kill us &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 20:27:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218035#M2873</guid>
      <dc:creator>ErwinVervacke</dc:creator>
      <dc:date>2015-04-02T20:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: CARTOONY BUILDING RULE?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218036#M2874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is all very easy, except for the rounded corners. You will have to use a 3D model asset to insert the rounded corner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Chris&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 19:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218036#M2874</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-04-03T19:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: CARTOONY BUILDING RULE?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218037#M2875</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;I believe the rounding of the corners could be handled during rendering ... need to check with the tech guy.&lt;/P&gt;&lt;P&gt;However, being a non-programmer/non-scripter and on a tight schedule at the moment, I would really appreciate a bit more elaboration on the 'very easy' part &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; Could you direct me so I can try to figure it out or (even better for me) provide a basic script I can tweak?&lt;/P&gt;&lt;P&gt;I learn best using the existing scripts and fiddle with them, did the same for 'complete streets' and a train track.&amp;nbsp; I wouldn't still be able to build the script myself but I do understand the steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The building footprints are in reality almost always slanted, not sure if that complicates things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks and happy easter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Apr 2015 17:48:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218037#M2875</guid>
      <dc:creator>ErwinVervacke</dc:creator>
      <dc:date>2015-04-05T17:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: CARTOONY BUILDING RULE?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218038#M2876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd try to avoid making corners round with assets, since you will run into problems when dealing with non-rectangular footprints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd use a recursive rule that creates the bevels, similar to the 'dome roof' of the 'Desert City Example'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need more inputs.&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;SPAN style="color: #eb7a3d;"&gt;Interested in CityEngine Training or Services? Contact me!&lt;/SPAN&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;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, 06 Apr 2015 13:54:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218038#M2876</guid>
      <dc:creator>MatthiasBuehler</dc:creator>
      <dc:date>2015-04-06T13:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: CARTOONY BUILDING RULE?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218039#M2877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rule below, and also attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/82557_Capture.JPG" style="height: auto;" /&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;version "2014.1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attr heightToRoof = 3.2&lt;/P&gt;&lt;P&gt;attr roofAngle = 40&lt;/P&gt;&lt;P&gt;attr overhangX = 0.5&lt;/P&gt;&lt;P&gt;attr overhangY = 0.5&lt;/P&gt;&lt;P&gt;attr roofExtrusion = 0.15&lt;/P&gt;&lt;P&gt;@Range (0,10)&lt;/P&gt;&lt;P&gt;attr wallThatYourFrontDoorGoesOn = 0&lt;/P&gt;&lt;P&gt;@Color&lt;/P&gt;&lt;P&gt;attr roofColor = "#804000"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@StartRule&lt;/P&gt;&lt;P&gt;BuildingFootprint --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; alignScopeToAxes(y)&lt;/P&gt;&lt;P&gt;&amp;nbsp; s('1,0,'1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; extrude(heightToRoof)&lt;/P&gt;&lt;P&gt;&amp;nbsp; comp(f) { top: Roof | side: Wall }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roof --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; roofGable(roofAngle, overhangX, overhangY)&lt;/P&gt;&lt;P&gt;&amp;nbsp; comp(f) {top: ExtrudeRoof | aslant: ExtrudeRoof | side: X.}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExtrudeRoof --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; extrude(world.y, roofExtrusion)&lt;/P&gt;&lt;P&gt;&amp;nbsp; color(roofColor)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wall --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; case comp.index == rint(wallThatYourFrontDoorGoesOn) % comp.total:&lt;/P&gt;&lt;P&gt;&amp;nbsp; WallWithDoorAndWindow&lt;/P&gt;&lt;P&gt;&amp;nbsp; else:&lt;/P&gt;&lt;P&gt;&amp;nbsp; X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WallWithDoorAndWindow --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; split(x) {~0.3: X. |&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1: DoorWall |&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0.5: X. |&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1.2: WindowWall |&lt;/P&gt;&lt;P&gt;&amp;nbsp; ~0.3: X.&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DoorWall --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; split(y) {2.2: Inset | ~1: X.}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WindowWall --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; split(y) {0.8: X. | 1.4: Inset | ~1: X.}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inset --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; extrude(-0.08)&lt;/P&gt;&lt;P&gt;&amp;nbsp; comp(f){side: reverseNormals X. | top: reverseNormals X.}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 16:54:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218039#M2877</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-04-06T16:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: CARTOONY BUILDING RULE?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218040#M2878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Erwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just checked creating the beveled corners. That seems to be trickier than thought, especially with concave footprints since you can not synchronize the bevel with neighboring facade shapes. I think this is not really possible in CGA, but would have to dig a lot deeper..&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;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, 07 Apr 2015 14:05:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218040#M2878</guid>
      <dc:creator>MatthiasBuehler</dc:creator>
      <dc:date>2015-04-07T14:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: CARTOONY BUILDING RULE?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218041#M2879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Chris!&amp;nbsp; Have had a lot of other issues to deal with but this rule works like a charm &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 15:26:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cartoony-building-rule/m-p/218041#M2879</guid>
      <dc:creator>ErwinVervacke</dc:creator>
      <dc:date>2015-05-07T15:26:06Z</dc:date>
    </item>
  </channel>
</rss>

