概要
roofShed(angle)
roofShed(angle, index)
参数
- angle (float):屋顶的坡度角
- index (float):边的索引值,调整该值可以改变单坡面墙的位置,默认值为0
-
-
示例
-
roofShed(angle)
-
index默认为0
-
attr height =20 Lot--> #拉伸20 extrude(height) #将顶面分解出 comp(f) { side : Facade.|top : roof } attr angle =15 roof-->#屋顶规则 roofShed(angle)
-
-
-
roofShed(angle, index)
-
设置index为1
-
attr height =20 Lot--> #拉伸20 extrude(height) #将顶面分解出 comp(f) { side : Facade.|top : roof } attr angle =15 roof-->#屋顶规则 roofShed(angle,1)
-
-
设置index为2
-
attr height =20 Lot--> #拉伸20 extrude(height) #将顶面分解出 comp(f) { side : Facade.|top : roof } attr angle =15 roof-->#屋顶规则 roofShed(angle,2)
-
设置index为3
-
attr height =20 Lot--> #拉伸20 extrude(height) #将顶面分解出 comp(f) { side : Facade.|top : roof } attr angle =15 roof-->#屋顶规则 roofShed(angle,3)
-
-
设置index为4
-
attr height =20 Lot--> #拉伸20 extrude(height) #将顶面分解出 comp(f) { side : Facade.|top : roof } attr angle =15 roof-->#屋顶规则 roofShed(angle,4)