On the bottom of the page <https://cehelp.esri.com/help/index.jsp?topic=/com.procedural.cityengine.help/html/manual/is/manually/d3.html> you can see how to insert an edge into an existing roof to create a cross-gabled roof. Is it possible to achieve this with City Engine rules that can be used in Python in ArcGIS Pro with "Features from City Engine rules"? Thanks
You can create gable roofs (starting from a 2D footprint of the roof) using the roofGable() operation. You can put a handle on the entire roof shape (volume, not ridge edge) to be able to change the height of roof.
roofGable Operation
@Handle(shape=RoofMass) attr roof_height = 3 RoofFootprint --> roofGable(byHeight, roof_height) RoofMass RoofMass --> Mass. <SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
To control the heights separately for the two parts of an L shaped footprint, you would need to break up the footprint into to parts so that each part could be assigned its own handle.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.