Jump to content

group/select voronoi pieces by bbox?


crozer

Recommended Posts

hey,

 

i have a geometry that i am fracturing with voronoi. i need to separate these pieces into active and passive pieces. instead of selecting them by name, i would like to select all the pieces within a bounding box/sphere.

i thought about using a group sop and selecting by bbox, but this selects points or primitives, and not my piece* groups from voronoi.

 

any ideas?

thank you so much!

Link to comment
Share on other sites

You could assign each a piece number to every point in that piece, then use the bounding box to select points.

this results in a point group and each point has the number of it's parent piece, using this you can then select the whole piece.

for assigning the piece number to the points you probably can use a attribute promote.

For the last step use a for loop to go over every piece and if it has a point in the group add the whole piece just as DASD suggested.

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