<?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 Balcony design  for corner wall in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/balcony-design-for-corner-wall/m-p/1184164#M10549</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am thinking balcony modeling&lt;/P&gt;&lt;P&gt;But i dont know how can i do this style&lt;/P&gt;&lt;P&gt;Hiw Can i start this style&lt;/P&gt;&lt;P&gt;Sorry my poor english&lt;/P&gt;</description>
    <pubDate>Sun, 19 Jun 2022 03:51:19 GMT</pubDate>
    <dc:creator>zizicocata</dc:creator>
    <dc:date>2022-06-19T03:51:19Z</dc:date>
    <item>
      <title>Balcony design  for corner wall</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/balcony-design-for-corner-wall/m-p/1184164#M10549</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am thinking balcony modeling&lt;/P&gt;&lt;P&gt;But i dont know how can i do this style&lt;/P&gt;&lt;P&gt;Hiw Can i start this style&lt;/P&gt;&lt;P&gt;Sorry my poor english&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jun 2022 03:51:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/balcony-design-for-corner-wall/m-p/1184164#M10549</guid>
      <dc:creator>zizicocata</dc:creator>
      <dc:date>2022-06-19T03:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Balcony design  for corner wall</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/balcony-design-for-corner-wall/m-p/1297391#M11047</link>
      <description>&lt;P&gt;This post discusses corner balconies that go inwards into the building:&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-cityengine-questions/balcony-design-for-the-corner-of-the-building/m-p/694323" target="_blank"&gt;https://community.esri.com/t5/arcgis-cityengine-questions/balcony-design-for-the-corner-of-the-building/m-p/694323&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Corner balconies that extrude outwards from the building mass are slightly different.&amp;nbsp; I tried to find a solution based on the inner corner balcony discussion from the post above, but the solution I found is a little different.&amp;nbsp; I made the side railings and the outer railings separately.&amp;nbsp; This code works for rectangular and non-rectangular quads, but it does not work for non-quads because it assumes that the footprint has 4 vertices.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;attr Height = 21
attr Floor_Height = 3
attr Balcony_Width = 10
attr Balcony_Depth = 3
attr Balcony_Slab_Thickness = 0.3
attr Balcony_Railing_Height = 1
attr Balcony_Railing_Depth = 0.1

const m = 2		// multiply by some factor to make sure balcony is long enough for acute angled corners


Lot --&amp;gt;
	extrude(Height)
	comp(f) { side: Facade(comp.index) | all: X. }
	
Facade(facadeInd) --&amp;gt;
	split(y) { Floor_Height: Floor(facadeInd, split.index) }*
	
Floor(facadeInd, floorInd) --&amp;gt;
	case floorInd%2==facadeInd%2:
		split(x) { Balcony_Width-Balcony_Depth: BalconyTile(true) | ~1: X. }
	else:
		split(x) { ~1: X. | Balcony_Width-Balcony_Depth: BalconyTile(false) }
		
BalconyTile(isFirst) --&amp;gt;
	Wall.
	OuterBalconyRailings(isFirst)
	SideBalconyRailings(isFirst)
	s(scope.sx+m*Balcony_Depth, Balcony_Slab_Thickness, Balcony_Depth)
	t(-m*Balcony_Depth*float(isFirst), 0, 0)
	primitiveCube
	BalconySlab.
	
OuterBalconyRailings(isFirst) --&amp;gt;
	s(scope.sx+m*Balcony_Depth, Balcony_Railing_Height, Balcony_Railing_Depth)
	t(-m*Balcony_Depth*float(isFirst), Balcony_Slab_Thickness, Balcony_Depth-Balcony_Railing_Depth)
	primitiveCube
	
SideBalconyRailings(isFirst) --&amp;gt;
	s('1, Balcony_Railing_Height, 0)
	t(0, Balcony_Slab_Thickness, 0)
	split(x) { ~float(isFirst): NIL | Balcony_Railing_Depth: extrude(Balcony_Depth-Balcony_Railing_Depth) X. }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="corner_balconies.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72726iAAE3731CEDE44C31/image-size/large?v=v2&amp;amp;px=999" role="button" title="corner_balconies.png" alt="corner_balconies.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 22:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/balcony-design-for-corner-wall/m-p/1297391#M11047</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2023-06-08T22:28:31Z</dc:date>
    </item>
  </channel>
</rss>

