Hi All
Hope you all are safe and well
I have a problem with my cga code that I have no idea how to fix. Trying to create edge fence for Lots by using the setback rule, what I have are Lots has street attribute. When I use the setback rule it works fine until i extrude it. As shown below somehow the edge that was the back of the street was extruded the same as street front whilst the sides worked fine.
Please help

The code I used:
version "2019.1"
@Enum ("yes","no")
attr fencing = "no"
attr fence_Width =0.025
@StartRule
Lot -->
cleanupGeometry(all, 0.1)
print(array)
Lawn_Border
Lawn_Border-->
case fencing=="yes": offset(-fence_Width) Build_Fence
else: Lawn
Build_Fence --> comp(f) { inside = Lawn | border= Fence_Sort }
Fence_Sort--> setback( comp(fe) { street.front = 5 }) { all = Front_Fence label("Front Fence") | remainder=Rear_Fence}
Front_Fence-->
extrude(world.y,1.2)
Rear_Fence-->
extrude(world.y,1.8)
Lawn-->
extrude(0.05)
color("#b3c989")