Jump to content
lyansart

How export cluster from the voronoi fracture?

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

Share this post


Link to post
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

Share this post


Link to post
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!

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×