<?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: Iterate innerRect in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/iterate-innerrect/m-p/9593#M113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sean,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A few notes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Distributing buildings on a Lot can be done in an infinite variation, so that process is a design process. No computer and no software can calculate a 'good' solution, so I usually say all design processes shall be done manually.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; in CE :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Design --&amp;gt; Statistics = ok !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Statistics --&amp;gt; Design = not ok !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Designing is an iterative process and the CGA model generation starts at one point and ends somewhere, so you have basically 1 iteration for a given set of attributes. But testing for the 'best' combination is an endless endeavor, so CE cannot do this for you, sadly. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd recommend you do the following :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Write some Lot subdivision code which includes convexify() and some dimension/area checks to make sure that buildings do not overlap.&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;Lot --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; convexify(100)
&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From there, play with splitting these shapes with different approaches ( stripes, .. ) which give you a realistic distribution. Then, add some reporting to compare the resulting geometry values with the target values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm honest that CGA is not the best tool for realistic 'per shape' parcelling tasks, but I've done some tests in past that give you good results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if that 'theory' makes sense so far ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;m.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 20:24:01 GMT</pubDate>
    <dc:creator>MatthiasBuehler1</dc:creator>
    <dc:date>2021-12-10T20:24:01Z</dc:date>
    <item>
      <title>Iterate innerRect</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/iterate-innerrect/m-p/9592#M112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Right now I have building files scattered around a lot. Each lot is assigned a capacity value. I want to display the number of potential new structures based on the capacity value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the innerRect to limit the extent of the scattering because the scatter() function allowed for my models to overlap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to itrerate innerRect so that I can have have many innerRect within a lot?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to take the lot with all the buildings thrown on them and transform them into something like the second picture.&amp;nbsp; Is this possible?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 17:32:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/iterate-innerrect/m-p/9592#M112</guid>
      <dc:creator>SeanAdkins</dc:creator>
      <dc:date>2013-08-13T17:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate innerRect</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/iterate-innerrect/m-p/9593#M113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sean,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A few notes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Distributing buildings on a Lot can be done in an infinite variation, so that process is a design process. No computer and no software can calculate a 'good' solution, so I usually say all design processes shall be done manually.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; in CE :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Design --&amp;gt; Statistics = ok !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Statistics --&amp;gt; Design = not ok !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Designing is an iterative process and the CGA model generation starts at one point and ends somewhere, so you have basically 1 iteration for a given set of attributes. But testing for the 'best' combination is an endless endeavor, so CE cannot do this for you, sadly. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd recommend you do the following :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Write some Lot subdivision code which includes convexify() and some dimension/area checks to make sure that buildings do not overlap.&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;Lot --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; convexify(100)
&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From there, play with splitting these shapes with different approaches ( stripes, .. ) which give you a realistic distribution. Then, add some reporting to compare the resulting geometry values with the target values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm honest that CGA is not the best tool for realistic 'per shape' parcelling tasks, but I've done some tests in past that give you good results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if that 'theory' makes sense so far ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;m.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/iterate-innerrect/m-p/9593#M113</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2021-12-10T20:24:01Z</dc:date>
    </item>
  </channel>
</rss>

