Grasshopper

algorithmic modeling for Rhino

Hi, i’m having problem with a code: I have a grid that determines the center of circles and the radius is determined by attractors, my problem is: i need to take each circle separately, how can I do that? I’ve tried using List Item but it wasn’t successful. There is any way to do that?

Views: 432

Attachments:

Replies to This Discussion

Could you please post more information? I'm having a bit of trouble understanding exactly what you're aiming to do.

I have 225 circles generated using a grid. I aim to choose some circles (maybe 3 or 4) and create a curve with them (like Metaball, but in 2D). The matter is i can't select a group of circles. In the code I can select all circles, but i cannot select just some of them. I'd like select just some circles and take them to generate the curve. 

The code is uploaded, i think it can help to understand.

Attachments:

The only way I can think of doing this is to find the indexes of each of the circles you want, create a list of the indexes and use those with the list item component. I've devised a simple way of doing this by using an MD Slider to correspond to each of the centers of the circles, allowing you to see which circle is being used in the rhino viewport and then being able to see the index of that circle in a panel.


Attachments:

I think it will work.

Thanks!!! 

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service