cluster를 이용한 glue constraint
2018. 7. 27. 22:03ㆍStudy/Houdini_Skill
Building_glue constraint
각 특성에 맞게 constriant 를 만들어준다.
전체 노드
다 연결한 모습
DRY-WALL Constraint 모습
@cluster 를 만들어준다.
1 | f@cluster = nearpoint(1, @P); |
glue inside outside 를 만들기 위해서는 @cluster 가 vertex로 가야한다.
f@breakforce는 sim 부분에서 force가 얼마의 힘이 가에짐에 따라 부서지는 정도
1 2 3 4 5 6 7 8 9 10 11 12 13 | f@v1 = vertex(0, "cluster", @primnum, 0); f@v2 = vertex(0, "cluster", @primnum, 1); if(@v1 == @v2){ s@constraint_name = "glue_str"; s@constraint_type = "both"; f@breakforce = ch("str_brf"); @group_glue_str = 1; }else{ s@constraint_name = "glue_wk"; s@constraint_type = "both"; f@breakforce = ch("wk_brf"); } | cs |
glue constraint btw
wall 과 frame 사이에 있는 glue
1 2 3 | s@constraint_name = "glue_btw"; s@constraint_type = "both"; f@breakforce = ch("bf"); | cs |
'Study > Houdini_Skill' 카테고리의 다른 글
Proxy_UPRES (0) | 2018.07.27 |
---|---|
SOPSOLVER GLUE Relationship VEX (0) | 2018.07.27 |
Constraint_name & type (0) | 2018.07.19 |
Cluster_Convex_hull (0) | 2018.07.19 |
Basic_DOP (0) | 2018.07.19 |