Selecting all connected primitives that's inside a bounding box

   2834   4   0
User Avatar
Member
28 posts
Joined: Sept. 2018
Offline
Hi!

Let's say I have a mesh sphere that's half inside a bounding box in a group node. Is there any way I can procedurally “grow” the selection to add all the rest of the connected primitives to that sphere?
User Avatar
Member
900 posts
Joined: Feb. 2016
Offline
Do you want to expand your selection to the immediate connected prims?

If so, create a point group, and then promote it to primitives with the group promote node(be sure to have UNchecked the include only elementes entirely contained in original group). The new group will now include immediate connected prims.
Repeat this in a for loop to expand furthermore.

This is the same idea of the group expand node of the GameDev toolset.
Edited by Andr - June 2, 2019 08:33:38
User Avatar
Member
28 posts
Joined: Sept. 2018
Offline
Thanks for fast feedback!

I tried, but the result isn't what I was looking for. I would like to have all the primitives that makes up the selected spheres like in this example: link [www.dropbox.com]
User Avatar
Member
900 posts
Joined: Feb. 2016
Offline
oh now I understand, have a look at the attached file

not super efficient I must say, but it should works

Attachments:
whole_group.hiplc (77.5 KB)

User Avatar
Member
28 posts
Joined: Sept. 2018
Offline
Smart solution! Really cool of you to make this example, thanks a lot!
  • Quick Links