Pointgroups and Foreach

   3415   3   0
User Avatar
Member
77 posts
Joined: 7月 2006
Offline
Since foreach doesn't work with pointgroups, how would one go about fusing mutiple groups of points separately?
User Avatar
Member
52 posts
Joined: 6月 2009
Offline
U can fuse multiple pointgroups using a copy sop. Take a look at the attached file. Hope this helps u.

Attachments:
Fusing_pointgroups.hip (58.3 KB)

User Avatar
Member
77 posts
Joined: 7月 2006
Offline
Thanks Raavenish,

I'm not quite sure I understand what's going on in the file. You've made 3 point groups, then the delete sop references a group that doesn't exist (group_0). The fuse sop then fuses everything that's remaining together.

I'm really looking for a way to fuse/snap each one of those separate groups of points together, so that each group ends up in the averaged position of the points in each group. I can do that by hand one by one, but need a more procedural approach.

Thanks!
User Avatar
Member
77 posts
Joined: 7月 2006
Offline
After another search of the forums I found the answer:

http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=18723&highlight=foreach+pointgroup [sidefx.com]

I've attached a file for future reference.

~M

Attachments:
fusing_pointgroups_in_a_foreach_sop.hip (64.9 KB)

  • Quick Links