AnsweredAssumed Answered

Envelope Operation

Question asked by Mortensen91 on Oct 26, 2017
Latest reply on Oct 27, 2017 by CLau-esristaff

Hello.

 

I'm trying to create a plateau on a sloped shape, and for that, I was thinking about using the "Envelope" operation, it would be nice if the top of the plateau was horizontal and the edges were sloped inward.

 

First I tried the extrude(world.up.flatTop) but the problem is that the sides of the plateau is 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". 

 

So I want to know if anybody has any idea of creating the plateau with sloped sites, Below is an image of my try with envelope, and the image to the right is exactly what I want, but unfortunately, it does not work when the shape is created from streets. 

 

 

´´´

@Range(0,90)
attr slopeAngleFront = 45
@Range(0,90)
attr slopeAngleSide = 45

@Startrule
Lot --> envelope(world.up, 10, 0, slopeAngleFront, 0, 0,
0, slopeAngleSide, 0, slopeAngleSide) Terrain

´´´

 

Kristian Mortensen

Outcomes