<?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 Basic problem that i cannot solve!&amp;nbsp; :) in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/basic-problem-that-i-cannot-solve-nbsp/m-p/484624#M6555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Been struggling with this for a a while now, I don`t think that its a major problem, but Ive never used Python..so here goes....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im trying to texture the sides of some imported and extruded OSM data. The texture is text, and displays in the first 3m&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of the building in a 3 x 3 m block...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that if the "face" of the building is too small, or say the building side has a few more angles in it, then the text (texture) is cut short...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]26207[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't want to the texture to "stretch" because it will look weird...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way in the rule file to basically say that : if the split (of 3m) cannot fit into the face of the building then don't split it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jul 2013 14:11:25 GMT</pubDate>
    <dc:creator>GrenSpencer</dc:creator>
    <dc:date>2013-07-25T14:11:25Z</dc:date>
    <item>
      <title>Basic problem that i cannot solve!  :)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/basic-problem-that-i-cannot-solve-nbsp/m-p/484624#M6555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Been struggling with this for a a while now, I don`t think that its a major problem, but Ive never used Python..so here goes....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im trying to texture the sides of some imported and extruded OSM data. The texture is text, and displays in the first 3m&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of the building in a 3 x 3 m block...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that if the "face" of the building is too small, or say the building side has a few more angles in it, then the text (texture) is cut short...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]26207[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't want to the texture to "stretch" because it will look weird...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way in the rule file to basically say that : if the split (of 3m) cannot fit into the face of the building then don't split it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 14:11:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/basic-problem-that-i-cannot-solve-nbsp/m-p/484624#M6555</guid>
      <dc:creator>GrenSpencer</dc:creator>
      <dc:date>2013-07-25T14:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Basic problem that i cannot solve!  :)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/basic-problem-that-i-cannot-solve-nbsp/m-p/484625#M6556</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;have you tried using a conditional rule, ie:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Wall--&amp;gt; case scope.sx &amp;gt;= 3 : split(x){ {3 : TileTexture }*| ~1 : Tile}
&amp;nbsp;&amp;nbsp; else : Tile &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This says that is the wall is greater or equal to three metres then it will split it every three meters and enter the tile with the writing on, and any remainding space will be a plain tile. But if it is smaller than 3 metres then it'll just insert the plain tile.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:22:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/basic-problem-that-i-cannot-solve-nbsp/m-p/484625#M6556</guid>
      <dc:creator>JoanneO_Brien</dc:creator>
      <dc:date>2021-12-11T21:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Basic problem that i cannot solve!  :)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/basic-problem-that-i-cannot-solve-nbsp/m-p/484626#M6557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That has worked perfectly thank you! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Its the Scope that i need to learn..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 08:54:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/basic-problem-that-i-cannot-solve-nbsp/m-p/484626#M6557</guid>
      <dc:creator>GrenSpencer</dc:creator>
      <dc:date>2013-07-26T08:54:47Z</dc:date>
    </item>
  </channel>
</rss>

