Grasshopper

algorithmic modeling for Rhino

I am working on a dynamic model, in which Kangaroo is used for circle packing.  The set-up of the file allows different values to be entered for the circle radii.  This means as many different types of circles can be created as necessary.  After they have been packed, I would like to split the circles into different data trees.  This would allow me to apply different transformations to each set of circle radius.  I have tried to learn more about splitting the data tree, but I can only find non-dynamic solutions so far.  A culling pattern is not dynamic, as it culls a set list number.

Thanks in advance, as it is doing my head in!

Views: 1119

Attachments:

Replies to This Discussion

To clarify, I mean the number of data trees in the 'output' section is in relation to the input of different circle radii...

:)

Unexpected treebranch grouping may help you :

Attachments:

My bad, had to use something similar today and figured out it didn't work as expected... This might fix it, let me know :)

Attachments:

And in case you want to sort geometry as well (i did).

Attachments:

Thank you so much!  I was trying to figure it out earlier, and I couldn't work out what was wrong... I will try this tomorrow and see if it works :)

Here's a simple way...use the Create Set component on your radii...here I've sorted your circles by radius to ensure that the set indices are sequentially ordered. Then graft your sorted circles and extract the path information and replace branches with the set indices for each item:

Hi David,

This is gold ! I really miss sets in my palette, I was going to ask for tips and explanation on the whole set of sets but I just find this : http://www.grasshopper3d.com/forum/topics/new-set-components-sniffi...

Thank you so much David! This really helped and is a simple solution to it

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service