Selecting which edges get gables

Discussion created by codyslater on Apr 26, 2017
Latest reply on May 4, 2017 by codyslater

Good morning,

I'm working on a small building in CityEngine 2015.2 that (I believe) has a gabled roof.  Upon using the roofGable rule, the gables are automatically assigned.  I would like to know if there is some way I could assign which edges get gabled, as the automatic settings are assigning gables to the wrong, real-world, edges.  See images attached.



Here is my current section of code for the roofGable rule. The edge that needs to be assigned a gable is the first edge (0).



GableRoof --> 
roofGable(RoofAngle, 0, 0, true,0)
comp(f) {top:Texture("SlopedRoof") | side: Texture("RoofWall")}