Jump to content

How to stamp to groups?


Recommended Posts

I created a small test network, that I want to use for copy stamping and have all the parameters randomized. So I have a netwrok that creates an object, I have a randomized grid - so I use both of them to copy stamp. Now the problem is that I can only assign new group if I use regular copy parameter but not an input points. So all object end up in one group (because number of copies is set to 1) How to I go about it? How to copy stamp on points and have each object be in a seperate group?

Link to comment
Share on other sites

I created a small test network, that I want to use for copy stamping and have all the parameters randomized. So I have a netwrok that creates an object, I have a randomized grid - so I use both of them to copy stamp. Now the problem is that I can only assign new group if I use regular copy parameter but not an input points. So all object end up in one group (because number of copies is set to 1) How to I go about it? How to copy stamp on points and have each object be in a seperate group?

There are a couple ways. Instead of copy/stamp the group, after the copy SOP you could create a connectivity SOP followed by a partition SOP. In the partition SOP > Rule parameter put something like this in, myGroup_$CLASS.

If you wanted to go the copy/stamp route, create a stamp variable in the copy SOP called "grp" with a value of $PT. Create a group SOP on the primitives you want to copy. In the Group SOP > Name parameter put this

group_`stamp("../copy1", "group", 0)`

I included a basic example demonstrating this.

copyStampGroup_001sl.hip

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...