Jump to content

Clustering wood fractures


Recommended Posts

Hi guys, for one of my projects I'm fracturing and simulating an entire house. Most of the work is almost done though I'm having a issue, When having a collision on my wood frame, every single piece/splinter fly off (Which makes sense, theres nothing to glue multiple pieces together to break as bigger chunks) Is there a way to glue/cluster pieces into bigger chunks to make the sim more realistic as it breaks apart? I could do this perfectly with normal fractures such as the outer layer but the wood with this type of geo I seem to keep having issues, I tried using "RBD Cluster" and "Glue cluster" with not much luck. wondering if anything had any idea on how to achieve this? 

Thanks in advance!

Capture.png

Link to comment
Share on other sites

1 hour ago, cwhite said:

I think RBD Cluster does exactly what you're looking for - what did you try (and what didn't work?)

With the RBD clusters, I cant seem to find a values that give me a good result (I'm sure its just my lack of knowledge and probably missing something dead obvious)

all the help is appreciated!

 

Screenshot 2019-04-16 at 23.29.20 copy.jpg

Link to comment
Share on other sites

Your piece names aren't unique - each iteration of the for loop is producing pieces with the same names. If you drop an Extract Centroid SOP down, you'll see what the RBD Cluster SOP is working with (and why you get odd clusters)

Link to comment
Share on other sites

34 minutes ago, cwhite said:

Your piece names aren't unique - each iteration of the for loop is producing pieces with the same names. If you drop an Extract Centroid SOP down, you'll see what the RBD Cluster SOP is working with (and why you get odd clusters)

Ah right, I think I see what you mean. Sorry silly question but where should I name the pieces? In which node sorry?

Link to comment
Share on other sites

You can do it in Voronoi Fracture by varying the Name Prefix based on the current iteration number.

A more general approach that works well for multiple levels of fracturing is to set up names on the input pieces (for unfractured pieces, use e.g. the Assemble SOP), then change the Name Attribute parameter on Voronoi Fracture to Append and set the Name Prefix to whatever separator you want (e.g. "_"). This will name the sub-pieces by appending to the parent piece's name.

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