How can I split a street to remove the entry and exit?

452
1
Jump to solution
06-14-2020 07:02 PM
AbeleGiandoso
Occasional Contributor

Hi

Is there a way to use the split operation to remove the entry and exit parts of a street and keep the portion which has the regular street width?

some variation of 

split(u, uvSpace, 0)

Here Street and intersection shape UV—ArcGIS CityEngine Resources | Documentation 

the docs says that :

 The central region of the geometry is normalized along its length from 0 to 1, and across its width by 0 to the number of lanes. 
The entry and exit of a street shape are parameterized to blend with the central region. For example the entry (above, blue) and exit (green) u-values are oriented and scaled to match the central region (red). The entry has negative U values, and the exit has U values greater than 1.

How can I say, "cut everything with UVs which are out of the 0,1 range?

Cheryl Lau, Simon Haegler any idea? 

Thanks

A

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
MatthiasBuehler3
Occasional Contributor

Hi,

yes, you can do this with the UV split.

One side has negative values in v-coords, so you can use the absolute of that to cut off that part. On the other side, you can cut by the distance of the (max v) - floor(max v) ((or very similar)).

Check the vmin, vmax functions.

Cheers,

matt

matthias buehler | founder & CTO | msc arch eth zurich

View solution in original post

1 Reply
MatthiasBuehler3
Occasional Contributor

Hi,

yes, you can do this with the UV split.

One side has negative values in v-coords, so you can use the absolute of that to cut off that part. On the other side, you can cut by the distance of the (max v) - floor(max v) ((or very similar)).

Check the vmin, vmax functions.

Cheers,

matt

matthias buehler | founder & CTO | msc arch eth zurich