Search - User list
Full Version: Adding area attributes for each piece primitive to new attirbute
Root » Houdini Learning Materials » Adding area attributes for each piece primitive to new attirbute
Hello, it's my first post here, I have tried to find an answer to this, but I couldn't (if I'm wrong please paste the link to topic/tutorial/ anything)

But continuing, I'm trying to delete small pieces from boolean fracture. I'm measuring area for each piece prim and I would like to sum all of area in new attribute, then if it is to small it will be deleted. Down below is a picture.
Does anybody know how to sum all area attributes down horizontally. My friend told me that there was a tutorial about that, but I can't find it.

Also plus question, does someone knows if it is possible to do a GROUP for each piece like in Vornoi Fracture Setiing “Create Otput Groups” ?

A popular workflow seems to be to identify pieces with a Connectivity SOP, which creates a primitive attribute assigning numbers to the pieces, and then converting the pieces to polygon soup primitives with a PolySoup SOP. (It's not at all what I expected people would use polygon soups for when they were added, but I'm glad they've come in handy for this.) Then, the Measure SOP can compute the volume of each piece, and anything smaller than a specified volume can be deleted. This is what the attached example does. Hopefully that helps!
Thank you, this is very helpfull!
I made an HDA for this that deletes prims by area individually, by connectivity or keeping the largest N pieces, with the ability to invert, keep points, etc:


I have created a tool, that you can use to remove very small pieces, by consolidating them with other pieces. - So no holes get created.

As the algorithm is strongly parallelized, the tool works quickly and reliably even with complex geometry.

Graph Coloring is used to make this possible.

I made a tutorial about this tool. - Alternatively you can also just download the tool from the video description below. []
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB