Select to view content in your preferred language

Can someone help me to model this kind of roof?

530
1
02-25-2020 11:20 PM
MariaKurzmann-Engler
Emerging Contributor

Is there someone with more experience in modelling this kind of roof? Thanks for help! 🙂

0 Kudos
1 Reply
CherylLau
Esri Regular Contributor

Generating curved shapes in cga is really difficult.  Instead, I would recommend inserting a pre-made asset in your case.  Then, insert your asset(s) using i().

It is possible, however, to create simpler shapes like the tops of the Taj Mahal (see example linked below) by combining parts of a sphere and a cone.  CGA offers the following 3D primitives: cube, sphere, cylinder, and cone.  The resolution of sphere, cylinder, and cone primitives can be specified using the sides and divisions parameters.  This means, you can make a cylinder whose top and bottom faces are hexagons (or any n-sided regular polygon).  By splitting and combining primitives together (and maybe also combining some results from roof operations), it is possible to get some simple shapes, but this is basically the limit of cga.

https://www.arcgis.com/home/item.html?id=d037b29aa9774797bb20bb047256adc2

To make something more complicated, you might be able to write a rule that builds the roof piece by piece from the bottom up using successive roofPyramid operations, or some other roof operation, with different angle settings on each level followed by split.  But, this is complicated, and you don't want to be generating this kind of geometry for a roof piece, and it probably still won't even be possible to get the shape you want, so I don't recommend this.  It is better to insert an asset.

0 Kudos