<?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: Envelope Operation in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/envelope-operation/m-p/304609#M4213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The taper() and roofShed() operations are good ideas.&amp;nbsp; These functions or envelope() followed by a rotateScope() and a split or two might help you get what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, you can convert the dynamic shapes (the lot created by the street network) to static shapes (Select lot -&amp;gt; Graph -&amp;gt; Convert to Static Shapes).&amp;nbsp; Then, you can delete the object attribute called streetWidth in the Inspector (Inspector -&amp;gt; Object Attributes -&amp;gt; right click on streetWidth -&amp;gt; Delete).&amp;nbsp; Deleting this attribute will remove the ability to define polygon edges as street.front, street.side, street.back, etc.&amp;nbsp; Then, envelope() will use the object.xxx selectors instead.&amp;nbsp; You can specify the object.front edge by selecting it -&amp;gt; Shapes -&amp;gt; Set First Edge.&amp;nbsp; The disadvantage of doing this is that your shapes will not be associated with the street network anymore.&amp;nbsp; So, if you change the street network, the static shapes won't change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Oct 2017 09:47:23 GMT</pubDate>
    <dc:creator>CherylLau</dc:creator>
    <dc:date>2017-10-27T09:47:23Z</dc:date>
    <item>
      <title>Envelope Operation</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/envelope-operation/m-p/304606#M4210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying&amp;nbsp;to create a plateau on a sloped shape, and for that, I was thinking about using the&amp;nbsp;"Envelope" operation, it would be nice if the top of the plateau was horizontal and the edges were sloped inward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I tried the extrude(world.up.flatTop) but the problem is that the sides of the plateau is&amp;nbsp;vertical and not sloped, after that, I looked at the envelope operation, and this works as long as the startshape is not generated from streets. I think this is because all the edges are facing a street and therefore is "street.front".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want to know if anybody has any idea&amp;nbsp;of creating the plateau&amp;nbsp;with sloped sites, Below is an image of my try with envelope, and the image to the right is exactly&amp;nbsp;what I want, but unfortunately, it does not work when the shape is created from streets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="381412" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/381412_Envelope.JPG" style="width: 620px; height: 291px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;´´´&lt;/P&gt;&lt;P&gt;@Range(0,90)&lt;BR /&gt;attr slopeAngleFront = 45&lt;BR /&gt;@Range(0,90)&lt;BR /&gt;attr slopeAngleSide = 45&lt;/P&gt;&lt;P&gt;@Startrule&lt;BR /&gt;Lot --&amp;gt; envelope(world.up, 10, 0, slopeAngleFront, 0, 0,&lt;BR /&gt; 0, slopeAngleSide, 0, slopeAngleSide) Terrain&lt;/P&gt;&lt;P&gt;´´´&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kristian Mortensen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 11:45:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/envelope-operation/m-p/304606#M4210</guid>
      <dc:creator>KristianMortensen1</dc:creator>
      <dc:date>2017-10-26T11:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Envelope Operation</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/envelope-operation/m-p/304607#M4211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kristian,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just spit balling ideas here, but do you get close to the results you want if you use a setback function, and then have the setbacks taper up/roof shed up to the middle portion you want to model? Then the setbacks become a method of controlling the slope at each point along the road.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For context, I had to do something similar for making ramps onto &lt;A href="https://nacto.org/publication/urban-bikeway-design-guide/cycle-tracks/raised-cycle-tracks/"&gt;Raised Bike Lanes &lt;/A&gt;on a street shape, and this (with some comp/shape manipulation) worked for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;David&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 21:29:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/envelope-operation/m-p/304607#M4211</guid>
      <dc:creator>DavidWasserman</dc:creator>
      <dc:date>2017-10-26T21:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Envelope Operation</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/envelope-operation/m-p/304608#M4212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;Hello David.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That could work, at least for the front. but not for the sides as the angle which is used to create the roofshed&amp;nbsp;is not the same all along the edge of the site, do to the upward slope of the startshape.&amp;nbsp; I think the envelope would be a very nice way to do it, but as mentioned all the edges are named the same which is a problem.&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;But I'm probably going to use a combination of the "Extrude(world.up.flatTop)", and the roofshed. But if you have any other ideas they will be highly appreciated&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw David, you streets rules&amp;nbsp;are very very nice! Like the level of detail and effort you put into it &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 09:08:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/envelope-operation/m-p/304608#M4212</guid>
      <dc:creator>KristianMortensen1</dc:creator>
      <dc:date>2017-10-27T09:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Envelope Operation</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/envelope-operation/m-p/304609#M4213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The taper() and roofShed() operations are good ideas.&amp;nbsp; These functions or envelope() followed by a rotateScope() and a split or two might help you get what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, you can convert the dynamic shapes (the lot created by the street network) to static shapes (Select lot -&amp;gt; Graph -&amp;gt; Convert to Static Shapes).&amp;nbsp; Then, you can delete the object attribute called streetWidth in the Inspector (Inspector -&amp;gt; Object Attributes -&amp;gt; right click on streetWidth -&amp;gt; Delete).&amp;nbsp; Deleting this attribute will remove the ability to define polygon edges as street.front, street.side, street.back, etc.&amp;nbsp; Then, envelope() will use the object.xxx selectors instead.&amp;nbsp; You can specify the object.front edge by selecting it -&amp;gt; Shapes -&amp;gt; Set First Edge.&amp;nbsp; The disadvantage of doing this is that your shapes will not be associated with the street network anymore.&amp;nbsp; So, if you change the street network, the static shapes won't change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 09:47:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/envelope-operation/m-p/304609#M4213</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2017-10-27T09:47:23Z</dc:date>
    </item>
  </channel>
</rss>

