CherylLau
金宝搏吧
‎11-18-2015
获得20个徽章
一周年纪念 探路者
查看所有获得的徽章
一周前
558 的帖子了
0 荣誉给
45 解决方案
258 荣誉收到
取消
显示结果
显示只有 | 而是搜索
你的意思是:

我的想法

(0份创意提交)

CherylLau的最新贡献

帖子
primitiveCube s(10,5,5) color("#ff0000") CheckPortaloTuris CheckPortaloTuris --> case overlaps(): NIL else: KeepBuilding

 

It's also possible to use labels.  For example, if you want to only check if they occlude with the white buildings (and it doesn't matter if they occlude with other red buildings), then use a label in the occlusion query, and put a rule onto the white buildings which assigns the label.

const occluderLabel = "WhiteBuilding"

CheckPortaloTuris -->
	case overlaps(inter, occluderLabel):
		NIL
	else:
		KeepBuilding

// assign this rule to the white buildings
WhiteBuilding -->
	label(occluderLabel)

 

-->
0
0
2
帖子
BlockCenter SubdivideIntoLots BlockCenter with( centroidInScope := convert(world, scope, pos, centroidInWorld) ) --> primitiveCube s(cubeWidth, cubeWidth, cubeWidth) t(centroidInScope[0]-0.5*cubeWidth, centroidInScope[1]-0.5*cubeWidth, centroidInScope[2]-0.5*cubeWidth) label(blockCentroidLabel) NIL SubdivideIntoLots --> splitAndSetbackPerimeter(0) { splitDist: splitDist: Lot }* { remainder: SubdivideIntoLots } Lot with( distToCentroid := minimumDistance(intra, blockCentroidLabel) ) --> case distToCentroid < tallBuildingThres: TallBuilding else: House

 

-->
1
1
26
帖子
1
1
16
的想法
0
0
77
帖子
0
0
49
的想法
0
0
138
帖子
extrude(eave_height) Mass. comp(f) { top: HangarRoof } HangarRoof --> alignScopeToGeometry(zUp, any, longest) rotateScope(0, 0, 90) primitiveCylinder(2*num_hangar_divisions) s('1, '1, 2*roof_height) t(0, 0, '-0.5) split(z) { ~1: NIL | ~1: HangarRoof. }

 

CherylLau_1-1664805472125.png

 

-->
1
0
78
帖子
0
1
1046
帖子
0
3.
2064
帖子
0
0
670
活动提要
联系我
在线状态
离线
最后到访日期
一周前
    最新的标签
    还没有标签