Using extrusion will produce such redundant faces. How to remove them?
Hi,
This is because you have multiple initial shapes next to each other.
There are two way to get ride of the faces in-between:
1. Combine the sidewalk shapes together into one:
Note: The shape created is not updated when you make changes to your street network.
2. Using occlusion queries:
Sidewalk --> extrude(10)
comp(f) { side : Wall }
Wall --> case touches(inter): NIL // using inter occlusion
else : Wall.
See comp operation, touches() function and context and occlusion queries in the cga docs for more infos.
Hope this helps!
Cheers
Jonas
It works. The number of scenes has been reduced a lot. Thank you very much!