Grasshopper

algorithmic modeling for Rhino

Hello,

i have a complex of curves and i managed to attract them by some points like its shown in the picture
 and now i want to use instead of points another curve as attractor(the yellow curve shown on jpg is the curve i want to use as attractor)
.Does anybody can help me on how to do this? (i have only my grasshoper script attached cause rhino is quite big file)

Thank you

Views: 1818

Attachments:

Replies to This Discussion

please internalize the curves and the points and upload the gh file again

how can i do that?

sorry i am really new user!

ok i think i did it 

Attachments:

hello you can right click and select internalize data, so that you dont need to upload the rhino file. (but i guess you figured it out).

can you please explain me what you are after. because the gh file seems to be spreading the curves according to the point and some min max values of spreading.

so in the curve version what happens?

i simply want the curve to be the attractor for the rest of the curves so that it can distort them (attract and repel them).the closest to the yellow curve the most distortion they will get. because before i had the points but every point could affect the curves individually and now i want only one factor so that the transformation will be more unified!

maybe i am not clear enough but thats all i was thinking.

Thank you!

ok. best guess is to subdivide the curve into multiple point and have these as the attractor points. but then the force and the threshold values need to be adjusted manually (their count to be same as points) which breaks the definition.

the vb component you have is from uto and is kind of old. you can always ask them.

when it comes to distance based attracting you will have to measure distance somehow. i cannot think of another way at the moment other than measuring distance between points that belong to these curves, or distances from point of the attractor curve to the other curves with curve closest point component. perhaps someone else could help. (perhaps vector field based solution with line charge component)

on a side note kangaroo plugin could help you. it could be used to approach this problem with physics. something similar to this you are after is to search this forum (and internet) for wooly paths/threads and see of it helps.

cheers

alex

Thank's a lot! i will try!

 

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service