Group edge pieces of fractured plane

   2846   2   1
User Avatar
Member
11 posts
Joined: Jan. 2015
Offline
Hi,

I'm trying to find a way to select only the edge pieces of an extruded and then fractured plane. This way I can make those edge pieces inactive (static).

Because I want to load this as an asset into Cinema 4D selecting the edge pieces by hand is not really an option.

This is the solution I came up with, but I can't figure out how to do it.
The voronoifracture creates an ‘inside’ and an ‘outside’ group, so if I could filter out all the primitives with more than 2 faces in the ‘outside’ group, I will have the right selection.

I found the expression $NVTX, which returns the number of vertices in a primitive, but I cannot find an equivalent for faces.

Maybe I'm thinking about it the wrong way, as I'm still quite new to houdini.

I've attatched a file where I made the edge pieces static by hand.

Hope someone can help me out.

Thanks,

Bas

Attachments:
example_select_edge_pieces.hipnc (375.2 KB)

User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
Hi,
if you only want edges the output of voronoifracture1 is your friend , create the output group inside, then use the geometry spreadsheet , set to primitives so you can see whats going on. You can then use a delete sop to dilate everything but the inside group. > then append a blast sop and use something like @name=piece0 and set to delete non selected to extract specific prim edge groups belonging to pieces.

Rob
Gone fishing
User Avatar
Member
11 posts
Joined: Jan. 2015
Offline
circusmonkey
Hi,
if you only want edges the output of voronoifracture1 is your friend , create the output group inside, then use the geometry spreadsheet , set to primitives so you can see whats going on. You can then use a delete sop to dilate everything but the inside group. > then append a blast sop and use something like @name=piece0 and set to delete non selected to extract specific prim edge groups belonging to pieces.

Rob

Hi Rob,

Thank you for your quick reply,

I'm afraid I'm not quite following you.
Isn't every piece both in the inside and the outside group? By edge pieces I mean the primitives that are on the outside/edge/border of the fractured plane.

Thanks,

Bas
  • Quick Links