← 返回函数库

roofPyramid

Misc 简单操作 已实现

语法

roofPyramid(...)

示例

Lot --> roofPyramid()

🎨 3D 预览 — 金字塔屋顶

@StartRule
Lot --> primitiveCube(6, 4, 6)
        extrude(5)
        comp(f) { top: Roof | side: Wall }

Roof --> roofPyramid(30)
         color(0.5, 0.25, 0.15)

Wall --> color(0.75, 0.72, 0.68)