<?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: Make polygons follow terrain surface in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/make-polygons-follow-terrain-surface/m-p/328211#M4511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked!!, Thanks Matt!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/293675_Untitled.jpg" style="width: 620px; height: 314px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 31 Dec 2016 22:00:40 GMT</pubDate>
    <dc:creator>F_RContreras</dc:creator>
    <dc:date>2016-12-31T22:00:40Z</dc:date>
    <item>
      <title>Make polygons follow terrain surface</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/make-polygons-follow-terrain-surface/m-p/328208#M4508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I watched a video about the M Buehler Favela project, and I want to know how he make a group of polygons follow the terrain surface, he use it to trees and vegetation, I know about the align shape to terrain, but it seems like he use a big polygon and then he divide it into a grid that he adapts to the terrain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Dec 2016 18:26:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/make-polygons-follow-terrain-surface/m-p/328208#M4508</guid>
      <dc:creator>F_RContreras</dc:creator>
      <dc:date>2016-12-18T18:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Make polygons follow terrain surface</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/make-polygons-follow-terrain-surface/m-p/328209#M4509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felix&lt;/P&gt;&lt;P&gt;I think &lt;A href="https://community.esri.com/migrated-users/25105" target="_blank"&gt;Matthias Buehler&lt;/A&gt;‌ does something like this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;draw some shapes covering the terrain&lt;/LI&gt;&lt;LI&gt;select the shapes&lt;/LI&gt;&lt;LI&gt;then run a python script to perform a block subdivision on them&lt;/LI&gt;&lt;/OL&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;subdsettings &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; SubdivideShapesSettings&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
subdsettings&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;setLotSubdivisionMethod&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"RECURSIVE"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
subdsettings&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;setLotAreaMin&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;100.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
subdsettings&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;setLotAreaMax&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;100.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
subdsettings&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;setIrregularity&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

terrainShapes &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; ce&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;subdivideShapes&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ce&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;selection&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; subdsettings&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

terrain &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; ce&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;getObjectsFrom&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ce&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;scene&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ce&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;isMapLayer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

settings &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; AlignShapesSettings&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
settings&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;setHeightmap&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ce&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;getName&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;terrain&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
settings&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;setAlignFunction&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"PROJECT_ALL"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

ce&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;alignShapes&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;terrainShapes&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; settings&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:33:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/make-polygons-follow-terrain-surface/m-p/328209#M4509</guid>
      <dc:creator>ThomasFuchs</dc:creator>
      <dc:date>2021-12-11T15:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Make polygons follow terrain surface</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/make-polygons-follow-terrain-surface/m-p/328210#M4510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what I did is I just drew a big rectangular shape over the whole terrain, then wrote a rule that splits x*z* into squares. I then converted the squares model to a shapes, divided it up into separate shapes for each square and projected those square shapes down onto the terrain. I had to repeat this a couple of times until I was happy with the square size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 10:29:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/make-polygons-follow-terrain-surface/m-p/328210#M4510</guid>
      <dc:creator>MatthiasBuehler3</dc:creator>
      <dc:date>2016-12-30T10:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Make polygons follow terrain surface</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/make-polygons-follow-terrain-surface/m-p/328211#M4511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked!!, Thanks Matt!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/293675_Untitled.jpg" style="width: 620px; height: 314px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Dec 2016 22:00:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/make-polygons-follow-terrain-surface/m-p/328211#M4511</guid>
      <dc:creator>F_RContreras</dc:creator>
      <dc:date>2016-12-31T22:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Make polygons follow terrain surface</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/make-polygons-follow-terrain-surface/m-p/328212#M4512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yep, that's exactly the way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers!&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jan 2017 15:25:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/make-polygons-follow-terrain-surface/m-p/328212#M4512</guid>
      <dc:creator>MatthiasBuehler3</dc:creator>
      <dc:date>2017-01-01T15:25:01Z</dc:date>
    </item>
  </channel>
</rss>

