Jump to content

How export cluster from the voronoi fracture?


lyansart

Recommended Posts

Hi everyone

I'm trying to follow some voronoi exercises but i'm stuck on trying to export the cluster attribute from the voronoi fracture. If i dive inside the voronoi, everything i touch become red, but i need to do a cluster constrain so i need the attribute cluster.. How do i get it outside the voronoi? 

thank you

Link to comment
Share on other sites

Actually, you can get the cluster attribute without having to dive inside the voronoi node. These are the settings you need to change:

  • On the 'Cut' tab, set 'Connectivity Partition' to 'None'
  • On the 'Cluster' tab, turn ON 'Cluster Pieces', and then turn ON 'Create Constraint Network'
  • On the 'Attributes' tab, turn OFF 'Create Name Attribute' (it's important that you create the name separately, for example on an Assemble node downstream, otherwise this won't work)
  • Also on the 'Attributes' tab, turn ON 'Keep Internal Attributes', then delete the word next to all of them except 'Primitive Piece'. I usually then write 'cluster' next to 'Primitive Piece' for clarity.

Now if you look at your primitives on the geometry spreadsheet, you'll see there's an attribute (cluster, or whatever you've called it) which you can use to create constraint networks etc.

See attached hip file for an example setup, with unbreakable constraint network set up between the clusters. You can do way more interesting things but this just shows you the clusters are holding together as they should. Note also the switch on the left which you can use to switch between seeing the pieces and seeing the clusters.

Good luck!

Voronoi_Clusters.hipnc

  • Like 5
Link to comment
Share on other sites

On 9/26/2016 at 7:05 PM, localstarlight said:

Actually, you can get the cluster attribute without having to dive inside the voronoi node. These are the settings you need to change:

  • On the 'Cut' tab, set 'Connectivity Partition' to 'None'
  • On the 'Cluster' tab, turn ON 'Cluster Pieces', and then turn ON 'Create Constraint Network'
  • On the 'Attributes' tab, turn OFF 'Create Name Attribute' (it's important that you create the name separately, for example on an Assemble node downstream, otherwise this won't work)
  • Also on the 'Attributes' tab, turn ON 'Keep Internal Attributes', then delete the word next to all of them except 'Primitive Piece'. I usually then write 'cluster' next to 'Primitive Piece' for clarity.

Now if you look at your primitives on the geometry spreadsheet, you'll see there's an attribute (cluster, or whatever you've called it) which you can use to create constraint networks etc.

See attached hip file for an example setup, with unbreakable constraint network set up between the clusters. You can do way more interesting things but this just shows you the clusters are holding together as they should. Note also the switch on the left which you can use to switch between seeing the pieces and seeing the clusters.

Good luck!

Voronoi_Clusters.hipnc

Thank you SO MUCH, you really helped me to figure it out!

 

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