<?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: Is there any way to determine the position of the cutting point on the model when dividing in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/is-there-any-way-to-determine-the-position-of-the/m-p/1209501#M10637</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="biaozeng_0-1662201750637.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50408iDB60F13D01632D5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="biaozeng_0-1662201750637.png" alt="biaozeng_0-1662201750637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to get the elevation effect on the left side instead of the repetitive effect on the right side based on each face. I tried to use UV segmentation, but it seems to not work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 03 Sep 2022 10:43:42 GMT</pubDate>
    <dc:creator>biaozeng</dc:creator>
    <dc:date>2022-09-03T10:43:42Z</dc:date>
    <item>
      <title>Is there any way to determine the position of the cutting point on the model when dividing</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/is-there-any-way-to-determine-the-position-of-the/m-p/1209494#M10636</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="biaozeng_0-1662195035535.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50407i7E209EC662CCB05E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="biaozeng_0-1662195035535.png" alt="biaozeng_0-1662195035535.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The first gray figure is the original shape, the red line is the cutting line I want, the middle is the actual cutting effect, and the bottom is what I want when I manually modify the shape&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2022 08:53:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/is-there-any-way-to-determine-the-position-of-the/m-p/1209494#M10636</guid>
      <dc:creator>biaozeng</dc:creator>
      <dc:date>2022-09-03T08:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to determine the position of the cutting point on the model when dividing</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/is-there-any-way-to-determine-the-position-of-the/m-p/1209501#M10637</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="biaozeng_0-1662201750637.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50408iDB60F13D01632D5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="biaozeng_0-1662201750637.png" alt="biaozeng_0-1662201750637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to get the elevation effect on the left side instead of the repetitive effect on the right side based on each face. I tried to use UV segmentation, but it seems to not work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2022 10:43:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/is-there-any-way-to-determine-the-position-of-the/m-p/1209501#M10637</guid>
      <dc:creator>biaozeng</dc:creator>
      <dc:date>2022-09-03T10:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to determine the position of the cutting point on the model when dividing</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/is-there-any-way-to-determine-the-position-of-the/m-p/1209503#M10638</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="biaozeng_1-1662202026353.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50409i80E114DD24D4C7BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="biaozeng_1-1662202026353.png" alt="biaozeng_1-1662202026353.png" /&gt;&lt;/span&gt;&lt;SPAN&gt;I used UV segmentation, but it still starts with each face. I hope these faces in front of me can apply a segmentation rule as a whole&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2022 10:48:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/is-there-any-way-to-determine-the-position-of-the/m-p/1209503#M10638</guid>
      <dc:creator>biaozeng</dc:creator>
      <dc:date>2022-09-03T10:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to determine the position of the cutting point on the model when dividing</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/is-there-any-way-to-determine-the-position-of-the/m-p/1210695#M10650</link>
      <description>&lt;P&gt;Hi I saw this and I think there is a way as I've worked on this before, but it depends on your initial shape (it won't work on all) based on what you've asked here you can use the information stored about edge length and combine it with a split recursion.&amp;nbsp; Basically obtain the edge lengths as an array :&lt;BR /&gt;edgeLength = scope.sx&lt;/P&gt;&lt;P&gt;attr edgesNumber = geometry.nEdges&lt;BR /&gt;attr egdeLengthArray = comp(e){border:edgeLength}&lt;/P&gt;&lt;P&gt;Then in the rule do some kind of split recursion...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Footprint--&amp;gt;&lt;BR /&gt;SplitArray(1,edgesNumber)&lt;/P&gt;&lt;P&gt;SplitArray(indx,mx)--&amp;gt;&lt;BR /&gt;case indx ==mx : NIL&lt;BR /&gt;else :&lt;BR /&gt;split(z){~1:SplitArray(indx+2,mx)|edgeLengthArray[indx]: x}&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You will need to rotatescope to ensure the split works and you might also need to change the indx it starts on (depends on what 0 edge is).&amp;nbsp; Hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Elliot&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 09:09:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/is-there-any-way-to-determine-the-position-of-the/m-p/1210695#M10650</guid>
      <dc:creator>ElliotHartley</dc:creator>
      <dc:date>2022-09-08T09:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to determine the position of the cutting point on the model when dividing</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/is-there-any-way-to-determine-the-position-of-the/m-p/1213032#M10654</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you very much for your reply. It really helped&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 17:16:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/is-there-any-way-to-determine-the-position-of-the/m-p/1213032#M10654</guid>
      <dc:creator>biaozeng</dc:creator>
      <dc:date>2022-09-15T17:16:41Z</dc:date>
    </item>
  </channel>
</rss>

