Group (by Box) only whole Pieces of Fractured Object

   2195   2   1
User Avatar
Member
2 posts
Joined: Oct. 2013
Offline
Hello,

I am still new to Houdini and got the following Problem to solve:

I got a fractured Object and want to use a Box to Group a specific area
of the fractured Object.
BUT I want to select only whole Pieces.
In other words:

If one or more Primitives with the Attribute NAME are in Box, assign
ALL Primitives with same Value of Attribute NAME to Group “X”.


Example 1:
If Prim A (with Atb. NAME = “Piece5”) is in Box, assign ALL Prim
with Atb. NAME == “Piece5” to Group “X”.

Example 2:
If Prim B (With Atb. NAME = “Piece2”) and Prim C (Atb. NAME = “Piece9”) are
in Box, assign ALL Prim with Atb. NAME == “Piece2” OR NAME == “Piece9” to Group “X”.

So in the end it should work for n Primitives in Box.


How can I achieve this?

Thanks in advance

Lukas
http//lukasarts.jimdo.com/
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Maybe Houdini has this tool ,I don't know :?

But don't forget that Houdini is very very powerful software and you can make every things on it !

I made a simple tool for this subject and you can use it .

Just check attached file

Attachments:
JK_Whole_Prim_Select.hip (162.0 KB)

https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1769 posts
Joined: Dec. 2006
Offline
This can be made with only 2 groups, although it can be slow on complex geometry, but it is very simple.

Attachments:
db_selectWholePieces01.zip (96.8 KB)

daniel bukovec | senior fx td | weta digital
qLib -- http://qlab.github.io/qLib/ [qlab.github.io]
  • Quick Links