<?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: ShapeL, shapeU and shapeO doesn't work in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/shapel-shapeu-and-shapeo-doesn-t-work/m-p/703669#M9227</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;I'm pretty sure the issue is the following :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;shapeLOU() and setback() all need the scope to be aligned yUp. After a comp(f) {}, the scope is aligned zUp, so this will not directly work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use e.g. 'alignScopeToGeometry(yUp, 0)' to make this work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2013 00:53:57 GMT</pubDate>
    <dc:creator>MatthiasBuehler1</dc:creator>
    <dc:date>2013-01-08T00:53:57Z</dc:date>
    <item>
      <title>ShapeL, shapeU and shapeO doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/shapel-shapeu-and-shapeo-doesn-t-work/m-p/703667#M9225</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;SPAN&gt;i would like to use shape for my building, but don't know why it only does cubes shape instead of L, U or O shapes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;maybe wrong way i used it i paste my code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;version "2010.3"
attr Bat_Height = rand(15,30)
attr CoursSize = rand(-5,-20)
attr BatVar = rand(5,30)

Lot--&amp;gt;offset(-0.5)Global
Global--&amp;gt;comp(f) { border : Murs |inside : Cours }
Cours--&amp;gt;offset(CoursSize)CoursComp
CoursComp--&amp;gt;comp(f) { border : CoursRecre | 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inside : CompLycee}
CompLycee--&amp;gt;shapeL(BatVar,BatVar) { shape : extrude(Bat_Height)FormComp | 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; remainder : CoursRecre}

//extrude(Bat_Height)FormComp
FormComp--&amp;gt;comp(f) { front : Entree|
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; streetSide : CoteFenetre | 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; noStreetSide : CoteCours | 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; top : Toit }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
CoteCours--&amp;gt;color("#FF0000") 
CoteFenetre--&amp;gt;color("#FFFF00")
Entree--&amp;gt; color("#00FFFF")
Murs--&amp;gt;comp(f) { front : MurEntree| 
&amp;nbsp;&amp;nbsp;&amp;nbsp; side : MursFerme }
MurEntree--&amp;gt;split(x) { 3 : Shape }*
MursFerme--&amp;gt;extrude(3)

CoursRecre--&amp;gt;setupProjection(0, scope.xy, 1, 1)
&amp;nbsp;&amp;nbsp;&amp;nbsp; projectUV(0)
&amp;nbsp;&amp;nbsp;&amp;nbsp; texture("images/Textures/Roads/Asphalt.jpg")&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 09:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/shapel-shapeu-and-shapeo-doesn-t-work/m-p/703667#M9225</guid>
      <dc:creator>anthonymagdelaine</dc:creator>
      <dc:date>2013-01-07T09:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: ShapeL, shapeU and shapeO doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/shapel-shapeu-and-shapeo-doesn-t-work/m-p/703668#M9226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think your issue is in this section : &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;CoursComp--&amp;gt;comp(f) { border : CoursRecre | inside : CompLycee}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not 100% sure the best way to correct this but I was wondering why you don't just use setbacks for the different sides? Might work out easier rather than multiple component functions as I think it's getting confused within it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:35:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/shapel-shapeu-and-shapeo-doesn-t-work/m-p/703668#M9226</guid>
      <dc:creator>JoanneO_Brien</dc:creator>
      <dc:date>2021-12-12T05:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: ShapeL, shapeU and shapeO doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/shapel-shapeu-and-shapeo-doesn-t-work/m-p/703669#M9227</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;I'm pretty sure the issue is the following :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;shapeLOU() and setback() all need the scope to be aligned yUp. After a comp(f) {}, the scope is aligned zUp, so this will not directly work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use e.g. 'alignScopeToGeometry(yUp, 0)' to make this work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 00:53:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/shapel-shapeu-and-shapeo-doesn-t-work/m-p/703669#M9227</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-01-08T00:53:57Z</dc:date>
    </item>
  </channel>
</rss>

