概要
roofPyramid(angle)
参数
angle:屋顶的坡角
注意
金字塔顶点在顶面的投影的点的坐标为顶面多边形各个顶点坐标的平均值
示例
roofPyramid(angle)
attr height =20 Lot--> #拉伸20 extrude(height) #将顶面分解出 comp(f) { side : Facade.|top : roof } attr angle =30 roof-->#屋顶规则 roofPyramid(angle)
![]()
![]()