<?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 Generating editable building faces in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/generating-editable-building-faces/m-p/224679#M2973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I&amp;nbsp;want to write a rule to mass a footprint and create separate floors that can be edited with handles. Is there a way to generate masses with procedural editable faces?&lt;/P&gt;&lt;P&gt;I used a scaling factor with handles on the X and Y axis for rectangular shapes, however scaling doesn't work the same with other shapes. I was wondering if there's a way to generate editable faces that can be pushed and pulled with handles or moved around, just like when you're using the shape creation tools?&lt;/P&gt;&lt;P&gt;Thanks!&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/413505_pastedImage_1.jpg" /&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/413506_pastedImage_2.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2018 18:43:12 GMT</pubDate>
    <dc:creator>SadraDehghan1</dc:creator>
    <dc:date>2018-07-09T18:43:12Z</dc:date>
    <item>
      <title>Generating editable building faces</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/generating-editable-building-faces/m-p/224679#M2973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I&amp;nbsp;want to write a rule to mass a footprint and create separate floors that can be edited with handles. Is there a way to generate masses with procedural editable faces?&lt;/P&gt;&lt;P&gt;I used a scaling factor with handles on the X and Y axis for rectangular shapes, however scaling doesn't work the same with other shapes. I was wondering if there's a way to generate editable faces that can be pushed and pulled with handles or moved around, just like when you're using the shape creation tools?&lt;/P&gt;&lt;P&gt;Thanks!&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/413505_pastedImage_1.jpg" /&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/413506_pastedImage_2.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 18:43:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/generating-editable-building-faces/m-p/224679#M2973</guid>
      <dc:creator>SadraDehghan1</dc:creator>
      <dc:date>2018-07-09T18:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Generating editable building faces</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/generating-editable-building-faces/m-p/224680#M2974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sadra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an interesting and challenging problem. Right now you're limited to setbacks from cardinal sides (front, left, right, back) or as you've been doing scaling the whole object. We'd typically approach this by using a procedural rule for usage or facade on top of a form created using the push/pull tools.&amp;nbsp;We don't have a per-edge setback function yet, but that is something we are working on for the&amp;nbsp;2019.0 release to support procedural building and zoning forms. Once we have that then we'll have the best of both worlds, manual and procedural modeling of specific form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Wilkins (one of our resident CGA experts) took a shot at improving on the cardinal side workflow by using convexify to split a u-shaped building into parts. I'm attaching the&amp;nbsp;sample code here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt; * File: Geonet_SadraDehghan.cga&lt;BR /&gt; * Created: 18 Jul 2018 11:55:28 GMT&lt;BR /&gt; * Author: chri7180&lt;BR /&gt; */&lt;/P&gt;&lt;P&gt;version "2018.1"&lt;/P&gt;&lt;P&gt;attr FloorHeight = 4&lt;BR /&gt;#attr FloorCount =&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;@Handle(shape=Split1A, axis=x, type=move, skin=singleArrow)&lt;BR /&gt;@Range(0,5,stepsize=0.1,restricted=true)&lt;BR /&gt;attr split1 = 0&lt;/P&gt;&lt;P&gt;@Handle(shape=Split2A, axis=y, type=move, skin=singleArrow)&lt;BR /&gt;@Range(0,5,stepsize=0.1,restricted=true)&lt;BR /&gt;attr split2 = 0&lt;/P&gt;&lt;P&gt;@Handle(shape=Split3A, axis=x, type=move, skin=singleArrow)&lt;BR /&gt;@Range(0,5,stepsize=0.1,restricted=true)&lt;BR /&gt;attr split3 = 0&lt;/P&gt;&lt;P&gt;@Handle(shape=Split4A, axis=y, type=move, skin=singleArrow)&lt;BR /&gt;@Range(0,5,stepsize=0.1,restricted=true)&lt;BR /&gt;attr split4 = 0&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;@StartRule&lt;BR /&gt;Footprint --&amp;gt;&lt;BR /&gt; # Assume shape is flat.&lt;BR /&gt; alignScopeToGeometry(zUp, any, longest)&lt;BR /&gt; AlignedScope&lt;/P&gt;&lt;P&gt;AlignedScope --&amp;gt;&lt;BR /&gt; convexify&lt;BR /&gt; comp(f){all: ConvexPart}&lt;BR /&gt; &lt;BR /&gt;ConvexPart --&amp;gt;&lt;BR /&gt; Split1&lt;BR /&gt; &lt;BR /&gt;Split1 --&amp;gt;&lt;BR /&gt; case split1 &amp;gt; 0: split(x){split1: NIL | ~1: Split1A}&lt;BR /&gt; else: Split1A&lt;BR /&gt; &lt;BR /&gt;Split1A --&amp;gt; Split2&lt;/P&gt;&lt;P&gt;Split2 --&amp;gt;&lt;BR /&gt; case split2 &amp;gt; 0: split(y){split2: NIL | ~1: Split2A}&lt;BR /&gt; else: Split2A&lt;BR /&gt; &lt;BR /&gt;Split2A --&amp;gt; &lt;BR /&gt; rotateScope(0,0,180)&lt;BR /&gt; Split3&lt;/P&gt;&lt;P&gt;Split3 --&amp;gt;&lt;BR /&gt; case split3 &amp;gt; 0: split(x){split3: NIL | ~1: Split3A}&lt;BR /&gt; else: Split3A&lt;BR /&gt; &lt;BR /&gt;Split3A --&amp;gt; Split4&lt;/P&gt;&lt;P&gt;Split4 --&amp;gt;&lt;BR /&gt; case split4 &amp;gt; 0: split(y){split4: NIL| ~1: Split4A}&lt;BR /&gt; else: Split4A&lt;/P&gt;&lt;P&gt;Split4A --&amp;gt; X. #extrude(FloorHeight)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However it still doesn't get us all the way to what you want. We're working on it though.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric Wittner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 18:42:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/generating-editable-building-faces/m-p/224680#M2974</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-07-18T18:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Generating editable building faces</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/generating-editable-building-faces/m-p/224681#M2975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help! Looking forward to the 2019 release!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 21:34:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/generating-editable-building-faces/m-p/224681#M2975</guid>
      <dc:creator>SadraDehghan1</dc:creator>
      <dc:date>2018-07-18T21:34:07Z</dc:date>
    </item>
  </channel>
</rss>

