Grasshopper

algorithmic modeling for Rhino

Hello,
I would like to move points on the radial lines of a circle like can be seen in the attached radial move_1.jpg. I was able to achieve it successfully through a very simple definition where I create vectors from the center to the points which lie on the circle.

now I want to do the same thing with many circles stacked one on top of another where I can control the amplitude of the vectors for each circle. However, I am not able to ensure that the vectors are only drawn in the xy plane. The second image shows the problem.

I have tried approaching it in the following way but am stuck: I want vectors between centers and points only if their z coordinate matches. I have attempted using dispatch but am afraid I did not get too far.

All help is appreciated.

Views: 1653

Attachments:

Replies to This Discussion

To make a match between which centerpoint the vectors should be drawn from you need to add a graft component. From the center component you only have one path, but from the divide curve component you have six. So by adding a graft component to the center you'll get six paths.

Lars,
What you suggest works quite well with the small file that was attached with my previous post. However, when I take this to my real model (which is quite a bit more complicated!), this does not seem to work as well.

Would you mind taking a look at the at the attached files to see how I can get the desired result? I have highlighted the specific part of the definition with I need help with. As you may see, each "center" is drawing a vector to multiple 'levels' of circumference points.

I really appreciate your kind help. Thank you.
Attachments:

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service