Hello,
Does anyone know which operation I need to use to split the parapet wall of the building attached similar to the Google image?Thanks!
Solved! Go to Solution.
I had a go and this looked pretty good to me - I'm not sure you'll get the sizes identical unless each wall is the same length.
Lot-->
extrude(10)
comp(f){top:Top|side:Sides.}
Top-->
offset(-0.5)
comp(f){inside:Roof.|border:Battlement}
Battlement-->
split(x){~1:Merlon|{~2:Crenel.|~2:Merlon}*|~2:Crenel.|~1:Merlon}
Merlon-->
extrude(2)
(edited to correct terminology)
I think this section of CE documentation should help
Unless I misunderstand what youre asking..
Hi,
Did you have a look at the official tutorial 9?
CityEngine Tutorials - Tutorial 9: Advanced shape grammar
This will give you a good intro in how to tackle your specific building..
Good luck!
Matt
Matthias Buehler
Head of 3D Technologies
twitter: @MattB3D
------------------------------------
Garsdale Design Limited
Hi Ben and Matthias,
Thanks for your reply.
I tried split operation but was not successful to make the crenellation or the gap between the splits equally.
I looked at the tutorial before but will double check it and go through it again.
in case you came up with any ideas in making the crenellation for parapet walls, please let me know!
thanks
I had a go and this looked pretty good to me - I'm not sure you'll get the sizes identical unless each wall is the same length.
Lot-->
extrude(10)
comp(f){top:Top|side:Sides.}
Top-->
offset(-0.5)
comp(f){inside:Roof.|border:Battlement}
Battlement-->
split(x){~1:Merlon|{~2:Crenel.|~2:Merlon}*|~2:Crenel.|~1:Merlon}
Merlon-->
extrude(2)
(edited to correct terminology)
Thank you very much Ben!! It works