<?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: Problem With Trimmed Geo and Balconies in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427378#M5858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: thyandrecardoso&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at the screens on that post: the last one ("doubt1.jpg") was taken using YOUR asset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now it makes more sense that my asset doesn't get new faces. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, still does not explain why certain &lt;/SPAN&gt;&lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;split directions&lt;/SPAN&gt;&lt;SPAN&gt; don't cause new faces to be created....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; just to be clear, you actually meant using 'my (AndrÃ©'s) own' asset, right ?&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2012 12:49:55 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2012-03-26T12:49:55Z</dc:date>
    <item>
      <title>Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427369#M5849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I have a problem &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm building balconies, and I'm relying on the trim planes to "join" balconies on different facades:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
BalconyStripe --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; s('3, '1, balconyLength)
&amp;nbsp;&amp;nbsp;&amp;nbsp; center(x)
&amp;nbsp;&amp;nbsp;&amp;nbsp; i("builtin:cube:notex")
&amp;nbsp;&amp;nbsp;&amp;nbsp; BalconySupport
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that after trimming I get NO endings on the volume, just a hole. Like in the screenshot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone help me with this? What's the best approach for these situations?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AndrÃ©&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:27:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427369#M5849</guid>
      <dc:creator>AndréCardoso</dc:creator>
      <dc:date>2021-12-12T16:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427370#M5850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;*Bump* &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me with this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 13:48:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427370#M5850</guid>
      <dc:creator>AndréCardoso</dc:creator>
      <dc:date>2012-03-22T13:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427371#M5851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: matthiasbuehler&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*normal* [ haha, 3d graphics 'inside joke' ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hi .. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try these files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is a hack though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to know : if you cut a &lt;/SPAN&gt;&lt;STRONG&gt;profile &lt;/STRONG&gt;&lt;SPAN&gt;with a split, the 'closing geometry' is created. thus in this example, we align the scope to some very specific edges to cut from one side, then from the other side to close the geo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;though since these edges are specific to each assets, they need be found/set manually (play with the values to find them). then, set the miniCutDepth to something small, like 0.005.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the case why there are no geometries created was just a development decision some time ago. this may change one day.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;use the provided asset, but adapt the path to it ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;not CGA-related :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as an architect, I MUST [ &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; ] say that the profile you are using is an ornamental 'band', but is not directly used as a 'form' for a balcony in reality. yes, some details are important .. hehe.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 13:58:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427371#M5851</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-03-23T13:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427372#M5852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;*normal* [ haha, 3d graphics 'inside joke' ]&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Lol&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;hi .. &lt;BR /&gt;&lt;BR /&gt;try these files.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;this is a hack though.&lt;BR /&gt;&lt;BR /&gt;to know : if you cut a &lt;STRONG&gt;profile &lt;/STRONG&gt;with a split, the 'closing geometry' is created. thus in this example, we align the scope to some very specific edges to cut from one side, then from the other side to close the geo.&lt;BR /&gt;&lt;BR /&gt;though since these edges are specific to each assets, they need be found/set manually (play with the values to find them). then, set the miniCutDepth to something small, like 0.005.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the case why there are no geometries created was just a development decision some time ago. this may change one day.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;use the provided asset, but adapt the path to it ..&lt;BR /&gt;&lt;BR /&gt;matt&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, first it seems the asset you sent me is with the normals all wrong. So I opted to use the asset I've been using &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; This is from the CE examples, and is attached here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second, I could not reproduce the behaviour you explained. No "closing geometries" were created after I splited the geom. Also, I had to change the rules a bit, concerning the split axes, and operation order.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I even tried some last resort things, like a comp(f)... but see the pictures attached! There you can see the rules and the results. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's worth saying that I was inspecting the results both with backface culling on and off...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;ps.&lt;BR /&gt;&lt;BR /&gt;not CGA-related :&lt;BR /&gt;as an architect, I MUST [ &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; ] say that the profile you are using is an ornamental 'band', but is not directly used as a 'form' for a balcony in reality. yes, some details are important .. hehe.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's why on our office we're all computer engineers &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 16:14:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427372#M5852</guid>
      <dc:creator>AndréCardoso</dc:creator>
      <dc:date>2012-03-23T16:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427373#M5853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And this solution is just stupid -- see the screen attached&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;:S&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 16:48:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427373#M5853</guid>
      <dc:creator>AndréCardoso</dc:creator>
      <dc:date>2012-03-23T16:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427374#M5854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: matthiasbuehler&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hi !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just retried with this with my original asset : the asset itself works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;though, there may some other things which go wrong :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to make the edge-finding process faster, create an attr of the left and right indices, then use the slider in the Inspector &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when retrying here at home, I weirdly found other indices (left 5 and right 7). puzzling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make sure your scale.sx is large enough to be trimmed even at sharp angles, so maybe scale it to '20 !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of course, if not all geometry is trimmed, the number of edges is not correct, so the whole point of this hack is lost.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here's the proof that it works with my code and asset. [sorry, could have posted also before !]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]12979[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;let me know .. !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Mar 2012 23:14:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427374#M5854</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-03-24T23:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427375#M5855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, it seems you were right about your asset. I tried again and I saw the results. The backface culling must've confused me... sorry!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Concerning the indices, I also found different results weather I was in Linux or Windows ... :S&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HOWEVER, I still did not found a way to solve my problem, with my asset. I think I might just use yours, but I would like to understand this out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - using you asset, when choosing &lt;/SPAN&gt;&lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;incorrect&lt;/SPAN&gt;&lt;SPAN&gt; edges the asset was split, but no new faces were created! Why? For example, on the screen I chose edge number 4 and the asset was split from the back. &lt;/SPAN&gt;&lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;Shouldn't I have gotten a new face there?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I went through all the indices on the asset I was using, and could not replicate the behaviour! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not understanding this very well, because I don't know exactly when new faces are created! Am I missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; hi !&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;I just retried with this with my original asset : the asset itself works.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;though, there may some other things which go wrong :&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;1]&amp;nbsp; &lt;BR /&gt;to make the edge-finding process faster, create an attr of the left and right indices, then use the slider in the Inspector &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;when retrying here at home, I weirdly found other indices (left 5 and right 7). puzzling.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;2]&amp;nbsp; &lt;BR /&gt;make sure your scale.sx is large enough to be trimmed even at sharp angles, so maybe scale it to '20 !&amp;nbsp; &lt;BR /&gt;of course, if not all geometry is trimmed, the number of edges is not correct, so the whole point of this hack is lost.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;here's the proof that it works with my code and asset. [sorry, could have posted also before !]&amp;nbsp; &lt;BR /&gt;[ATTACH=CONFIG]12979[/ATTACH]&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;let me know .. !&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 09:45:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427375#M5855</guid>
      <dc:creator>AndréCardoso</dc:creator>
      <dc:date>2012-03-26T09:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427376#M5856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: matthiasbuehler&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hi !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've had a look at your asset and it makes sense that it &lt;/SPAN&gt;&lt;STRONG&gt;cannot be&lt;/STRONG&gt;&lt;SPAN&gt; closed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CE can only close 'cylinder - like', CLOSED assets, even if the ends are missing as on my asset. your asset is open on the back side, thus it is not closed as an 'O', but open as a 'C', profile-wise spoken.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;once you have it closed, make sure you &lt;/SPAN&gt;&lt;STRONG&gt;merge &lt;/STRONG&gt;&lt;SPAN&gt;all the vertices and eges properly to make the tube mathematically 'watertight'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ok ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll track the linux/windows changing indices down !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 11:40:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427376#M5856</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-03-26T11:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427377#M5857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt; - using&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;you &lt;/SPAN&gt;asset, when choosing incorrect edges the asset was split, but no new faces were created! Why? For example, on the screen I chose edge number 4 and the asset was split from the back. &lt;FONT color="#FF0000"&gt;Shouldn't I have &lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;just to be clear, you actually meant using 'my (AndrÃ©'s) own' asset, right ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 11:50:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427377#M5857</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2012-03-26T11:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427378#M5858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: thyandrecardoso&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at the screens on that post: the last one ("doubt1.jpg") was taken using YOUR asset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now it makes more sense that my asset doesn't get new faces. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, still does not explain why certain &lt;/SPAN&gt;&lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;split directions&lt;/SPAN&gt;&lt;SPAN&gt; don't cause new faces to be created....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; just to be clear, you actually meant using 'my (AndrÃ©'s) own' asset, right ?&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 12:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427378#M5858</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-03-26T12:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427379#M5859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And thanks for the explanation &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I'm going to change my balconies to use your asset &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;hi !&lt;BR /&gt;&lt;BR /&gt;I've had a look at your asset and it makes sense that it &lt;STRONG&gt;cannot be&lt;/STRONG&gt; closed.&lt;BR /&gt;&lt;BR /&gt;CE can only close 'cylinder - like', CLOSED assets, even if the ends are missing as on my asset. your asset is open on the back side, thus it is not closed as an 'O', but open as a 'C', profile-wise spoken.&lt;BR /&gt;&lt;BR /&gt;once you have it closed, make sure you &lt;STRONG&gt;merge &lt;/STRONG&gt;all the vertices and eges properly to make the tube mathematically 'watertight'.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ok ?&lt;BR /&gt;&lt;BR /&gt;I'll track the linux/windows changing indices down !&lt;BR /&gt;&lt;BR /&gt;matt&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 12:51:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427379#M5859</guid>
      <dc:creator>AndréCardoso</dc:creator>
      <dc:date>2012-03-26T12:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427380#M5860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: thyandrecardoso&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I told you, I was trying to use your asset "profileAsset.obj" instead of the one I've been using on the balconies. But the asset you gave me comes with normals pointing inside. If you import the asset into CE, and turn on "Backface Culling" you'll see through it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the interesting part:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- to overcome this, I made a small change to your previous CGA code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;PutBalcony --&amp;gt;
 s('20, thickness, depth)
 center(x)
 i(profileAsset)
 reverseNormals
 LeftTrim(leftEdgeID)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And now I can't seem to produce the closing geometry anymore. I think I tried all the edge IDs...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you replicate this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427380#M5860</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T16:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427381#M5861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Of course that, for this specific case -- using your asset, with the normals as they are -- a simple workaround is to leave the "reverseNormals" command to last place:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
LeftTrim(n) --&amp;gt;
 alignScopeToGeometry(yUp, n)
 alignScopeToAxes(y)
 split(z) {miniCutDepth : NIL | ~1 : RightTrim(rightEdgeID)}

RightTrim(n) --&amp;gt;
 alignScopeToGeometry(yUp, n)
 alignScopeToAxes(y)
 split(z) {miniCutDepth : NIL | ~1 : reverseNormals X.}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This way, using the indices 3 and 1 to "split" the geometry continues to work!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you explain me what is going on? I'm a bit confused here...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:27:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427381#M5861</guid>
      <dc:creator>AndréCardoso</dc:creator>
      <dc:date>2021-12-12T16:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427382#M5862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: matthiasbuehler&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hi !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;indeed, the normals of my asset were inverted. how EVER that happened .. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
attr depth = 2
attr thickness = 0.3
attr miniCutDepth = 0.5

profileAsset = "assets/profileAsset_normalsOutside.obj"


attr leftEdgeID = 0
attr rightEdgeID = 2

Lot --&amp;gt;
 extrude(10)
 split(y){~3 : comp(f) {side :Facade(split.index) | top : Roof.} }*

Facade(i) --&amp;gt;
 case i != 0 &amp;amp;&amp;amp; p(0.6) :
&amp;nbsp; Facade.
&amp;nbsp; PutBalcony
 else :
&amp;nbsp; Facade.

PutBalcony --&amp;gt;
 s('20, thickness, depth)
 center(x)
 i(profileAsset)
 LeftTrim(leftEdgeID)

LeftTrim(n) --&amp;gt;
 print (geometry.nEdges)
 alignScopeToGeometry(yUp, n)
 split(z) {~1 : RightTrim(rightEdgeID) | miniCutDepth : NIL}

RightTrim(n) --&amp;gt;
 alignScopeToGeometry(yUp, n)
 split(z) { ~1 : X. | miniCutDepth : NIL}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I adapted the code as seen here and it works again (you can even delete the additional alignScopeToAxes(y) in the Left and RightTrim rules, as done here). Note the 'new' indices which work here. I tested those indices both on Windows and Linux (including backface culling) !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* * *&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I faced the same issue as you did where it &lt;/SPAN&gt;&lt;STRONG&gt;seemed that no index seems to work &lt;/STRONG&gt;&lt;SPAN&gt;: that fix was easy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;since the normals drive the scope alignment (and the normals were inverted), inverting the asset to the 'correct sidedness' inverts the split direction. this means that the split order has to be reversed (note that ~1 : is now first in the split)!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with the indices 0 and 2 and the new asset, everything works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* * *&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*phew* .. I'm glad the edge indexing after the trim is consistent on both Linux and Windows !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;more questions ? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;btw. sorry for the confusion with the normals !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:14:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427382#M5862</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T19:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427383#M5863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Now, that's more clearer &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for the time spent around this problem, finally understood it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, no more questions... for the time being &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;André&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 21:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427383#M5863</guid>
      <dc:creator>AndréCardoso</dc:creator>
      <dc:date>2012-03-27T21:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Trimmed Geo and Balconies</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427384#M5864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: matthiasbuehler&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ha !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it's been a nice session indeed ! &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 12:16:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-trimmed-geo-and-balconies/m-p/427384#M5864</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-03-28T12:16:32Z</dc:date>
    </item>
  </channel>
</rss>

