<?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: Extrude Lshape splits the base shape in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/extrude-lshape-splits-the-base-shape/m-p/466613#M6351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem as coded now, is that when you call the Footprint rule, you are sending it an extruded volume, and then running shapeL on the volume. ShapeL needs a 2D shape with scope so that the shape is in the xz plane. Make your start rule like this to fix it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lor --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; extrude(height)&lt;/P&gt;&lt;P&gt;&amp;nbsp; comp(f) {top: alignScopeToAxes(y) Footprint | side: Side.}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... so now you are sending the top to Footprint, and change the top scope to xz since the extrude sets all faces to xy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Oct 2014 14:57:09 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2014-10-29T14:57:09Z</dc:date>
    <item>
      <title>Extrude Lshape splits the base shape</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/extrude-lshape-splits-the-base-shape/m-p/466610#M6348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to make a rule for a house where the Lot is extruded to a certain height,&lt;/P&gt;&lt;P&gt;than the remainder is split into a terrace and the rest is further extruded (Lshape).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to do this but the problem is that when I make the Lshape for the upper part,&lt;/P&gt;&lt;P&gt;it also splits the bottom shape; and this really messes me up when I want to 'decorate' the façade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to merge the whole bottom part, or not have it split in the first place?&lt;IMG alt="Lshape split.jpg" class="jive-image image-1" src="/legacyfs/online/25712_Lshape split.jpg" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 10:36:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/extrude-lshape-splits-the-base-shape/m-p/466610#M6348</guid>
      <dc:creator>AlexandruVasile</dc:creator>
      <dc:date>2014-10-29T10:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Lshape splits the base shape</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/extrude-lshape-splits-the-base-shape/m-p/466611#M6349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexandru,&lt;/P&gt;&lt;P&gt;Can you post the cga in question? I'm sure this is an easy fix.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 13:54:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/extrude-lshape-splits-the-base-shape/m-p/466611#M6349</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-10-29T13:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Lshape splits the base shape</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/extrude-lshape-splits-the-base-shape/m-p/466612#M6350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sure, here is the cga:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attr height = 5&lt;/P&gt;&lt;P&gt;attr Ldepth = 10&lt;/P&gt;&lt;P&gt;attr Lwidth = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lor --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; extrude(height) Footprint&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Footprint --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; shapeL(Ldepth, Lwidth) {shape : LFootprint | remainder : Terrase}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LFootprint --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; comp(f) {top: Attic}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attic --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; extrude(height)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I'm not sure how to embed the code here in conversation...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured out the fact that the 'problem' comes from the "remainder"&lt;/P&gt;&lt;P&gt;I kind of found a way around it where I extrude a very thin intermediate 'story'.&lt;/P&gt;&lt;P&gt;No one will ever know it's there &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 14:03:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/extrude-lshape-splits-the-base-shape/m-p/466612#M6350</guid>
      <dc:creator>AlexandruVasile</dc:creator>
      <dc:date>2014-10-29T14:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Lshape splits the base shape</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/extrude-lshape-splits-the-base-shape/m-p/466613#M6351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem as coded now, is that when you call the Footprint rule, you are sending it an extruded volume, and then running shapeL on the volume. ShapeL needs a 2D shape with scope so that the shape is in the xz plane. Make your start rule like this to fix it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lor --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; extrude(height)&lt;/P&gt;&lt;P&gt;&amp;nbsp; comp(f) {top: alignScopeToAxes(y) Footprint | side: Side.}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... so now you are sending the top to Footprint, and change the top scope to xz since the extrude sets all faces to xy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 14:57:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/extrude-lshape-splits-the-base-shape/m-p/466613#M6351</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-10-29T14:57:09Z</dc:date>
    </item>
  </channel>
</rss>

