How to create sloped facades

613
3
Jump to solution
10-07-2022 07:36 AM
fanfanwei
New Contributor II

大家好,

  • 如何用 CGA 建造如下所示的墙?

0 Kudos
1 Solution

Accepted Solutions
fanfanwei
New Contributor II

@StartRule
Lot-->
shapeL(20,40){shape:a|remainder:b}

a-->
extrude(20)
comp(f) { all : c(comp.index) }
c(compindex)-->
case compindex==4:
roofShed(30, 2)
case compindex==5:
roofShed(30, 4)
else:
D

View solution in original post

3 Replies
fanfanwei
New Contributor II

Hi all

How to build the wall as shown in the picture with CGA?

0 Kudos
fanfanwei
New Contributor II

 

@StartRule
Lot-->
shapeL(20,40){shape:a|remainder:b}

a-->
extrude(20)
comp(f) { all : c(comp.index) }
c(compindex)-->
案例 compindex==4:
roofShed(30, 2)
案例 compindex==5:
roofShed(30, 4)
其他:
D2.png

0 Kudos
fanfanwei
New Contributor II

@StartRule
Lot-->
shapeL(20,40){shape:a|remainder:b}

a-->
extrude(20)
comp(f) { all : c(comp.index) }
c(compindex)-->
case compindex==4:
roofShed(30, 2)
case compindex==5:
roofShed(30, 4)
else:
D