<?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: Split at 'Joint' (Street Network) in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/split-at-joint-street-network/m-p/647247#M8594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand correctly, you would like to split the shape as if you were making street lanes.&amp;nbsp; For this, you could split in the v direction.&amp;nbsp; Streets have u coordinates that follow the street and v coordinates that cross the street perpendicularly.&amp;nbsp; (This is uv set 0.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #600060;"&gt;split&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;(v, uvSpace, 0) { '0.5 : &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #600060;"&gt;C&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | '0.5 : &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #600060;"&gt;C&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the documentation on the uv coordinates on street shapes:&lt;/P&gt;&lt;P&gt;&lt;A href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/is/create/uvs.html?resultof=%22%73%74%72%65%65%74%22%20%22%75%76%22%20" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/is/create/uvs.html?resultof=%22%73%74%72%65%65%74%22%20%22%75%76%22%20"&gt;Street and Intersection Shape UVs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the documentation on uv splits (uv split example on bottom of page):&lt;/P&gt;&lt;P&gt;&lt;A href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/op_split.html?resultof=%22%73%70%6c%69%74%22%20" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/op_split.html?resultof=%22%73%70%6c%69%74%22%20"&gt;split Operation&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 May 2016 08:19:40 GMT</pubDate>
    <dc:creator>CherylLau</dc:creator>
    <dc:date>2016-05-10T08:19:40Z</dc:date>
    <item>
      <title>Split at 'Joint' (Street Network)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/split-at-joint-street-network/m-p/647246#M8593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using a Street Network to create 3D models which are not streets. The vertices along the imported lines have different elevations.&lt;/P&gt;&lt;P&gt;Part of the process involves to apply a 'split(z)' on the shapes generated from the Street Network. Unfortunetly, the split seems to offset the models in some parts.&lt;/P&gt;&lt;P&gt;I have identified some problems at the 'Joint':&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="199172" alt="" class="image-1 jive-image" height="395" src="https://community.esri.com/legacyfs/online/199172_pastedImage_0.png" style="width: 451px; height: 395.225px;" width="451" /&gt;&lt;/P&gt;&lt;P&gt;zoomed in:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="199173" alt="" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/199173_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rule looks like this (I do not use a @StartRule as I let CE find out which rule to start with, Street, Joint, Crossing, etc):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7ed529;"&gt;&lt;EM&gt;Joint --&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7ed529;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; split(z){'0.5:C | '0.5:C}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7ed529;"&gt;&lt;EM&gt;C --&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7ed529;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; extrude(world.y,20)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to avoid the split to offset from the line direction ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 04:22:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/split-at-joint-street-network/m-p/647246#M8593</guid>
      <dc:creator>TD</dc:creator>
      <dc:date>2016-05-10T04:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Split at 'Joint' (Street Network)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/split-at-joint-street-network/m-p/647247#M8594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand correctly, you would like to split the shape as if you were making street lanes.&amp;nbsp; For this, you could split in the v direction.&amp;nbsp; Streets have u coordinates that follow the street and v coordinates that cross the street perpendicularly.&amp;nbsp; (This is uv set 0.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #600060;"&gt;split&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;(v, uvSpace, 0) { '0.5 : &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #600060;"&gt;C&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | '0.5 : &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #600060;"&gt;C&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the documentation on the uv coordinates on street shapes:&lt;/P&gt;&lt;P&gt;&lt;A href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/is/create/uvs.html?resultof=%22%73%74%72%65%65%74%22%20%22%75%76%22%20" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/is/create/uvs.html?resultof=%22%73%74%72%65%65%74%22%20%22%75%76%22%20"&gt;Street and Intersection Shape UVs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the documentation on uv splits (uv split example on bottom of page):&lt;/P&gt;&lt;P&gt;&lt;A href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/op_split.html?resultof=%22%73%70%6c%69%74%22%20" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/op_split.html?resultof=%22%73%70%6c%69%74%22%20"&gt;split Operation&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 08:19:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/split-at-joint-street-network/m-p/647247#M8594</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2016-05-10T08:19:40Z</dc:date>
    </item>
  </channel>
</rss>

