Jump to content

Cloth Attach Constraint based on points in a group


Recommended Posts

Hey guys

 

I'm playing around with some cloth and I'm wondering if there is a way to add an expression to the "Constrained points" of "Cloth Attach Constraint" node?

 

I have a selection of points in a group all ready, is there anyway I can read the content of this group inside the DOP network? An expression? point(something something)?

 

All ideas are welcome. I'm just really tired of manually selecting each point every time the freaking model updates.

 

Cheers!

 

EDIT: Or a way to use a loop selection tools when the "Attach to Body" shelf tool prompts you to select points to attach. SHIFT+A+MMB doesn't work.

Edited by maansrune
Link to comment
Share on other sites

SOLVED.

 

I found the expression I was looking for:

 

`pointlist("../OUT_CLOTH", "neck_grp")`

 

It only required that the initial group was created with a selection of point rather than primitives. Is there a way to convert a group entity after the fact? Like from primitives to points?

Link to comment
Share on other sites

can't you just put the name of the group into Constrained Points parm instead of pointlist() expression?

 


... Is there a way to convert a group entity after the fact? Like from primitives to points?...

Group SOP/Edit/Convert

Link to comment
Share on other sites

can't you just put the name of the group into Constrained Points parm instead of pointlist() expression?

 

 

I tried, it didn't seem to work, but if you have experience with it working I might have done something wrong.

 

 

Group SOP/Edit/Convert

 

Thanks man, appreciated :)

Link to comment
Share on other sites

  • 1 year later...

I have the same issue and I can`t solve this. I have a geometry SOP, where I create a group node with points I wish to constrain.

Neither expression nor group name in Constrained Points of Cloth Attach Constraint node in DOP Network works.
 

Expression:

`pointlist("../MY_GEO", "CONSTR_GROUP")`

 

clothConstrain.hipnc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...