Grasshopper

algorithmic modeling for Rhino

I am having some trouble figuring out how to achieve an offset 'grid' circle pattern created over a very irregular surface (see blue circles in attached image as what I want).  I have generated all the intersection points that I would like to use as the center points for the circles, but I am having trouble culling every other circle.  I think the root of the problem lies with the organization of my data trees.  Since I am still really new with Grasshopper, I can't say this for sure, but it looks like each intersection point is its own list?  If that is so, then its not possible to use Shift List or Null Index components.  Is their a way to organize these points into a list based on the line that it originated from which might help me use one of these components.  Or is their a totally different way of doing this? 

Thanks for any help.

Views: 1702

Attachments:

Replies to This Discussion

Hello

you can try the following

in most cases you would start by flattening your tree and then culling your list with a true false pattern to get the one by one result you want. this does not work because when you flatten the tree all the empty branches, that are produced when there is not an intersection between the curves, are removed. that results in a list than when culled with a true false pattern you don't get a one by one circle in the whole solution but at some point two circles become tangent.

so in order to keep the data structure intact you can work n data tree like in image above without altering the data structure and getting the result you are after.

cheers

alex

Attachments:

Alex,

Thank you so much for your clarifications.  The Panels and Param Viewers are really helpful.  I am still confused why you used the Cull Pattern on all 11778 items in Branch 1.  I would have expected that you would only Cull 6507 items (all the items where N=1).  I need to continue to digest all this and use it to play around with other data tree experiments.

Thanks again.

E

yes that what i did at first (look at group does not work) but that resulted in 'bad' true false pattern, this does not work because when you flatten the tree all the empty branches, that are produced when there is not an intersection between the curves, are removed.

i used cull pattern in tree structure in order to cull the circles without outputting tangent circles.

check file and you will see the difference between the two methods.

cheers

alex

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service