algorithmic modeling for Rhino
Hi All,
I am trying to scale a bunch of curves dependent on their distance to attractor points. Essentially, the closer they are to the attractor, the smaller they should get. As you can see in the attached definition, the definition works with one attractor point. It is acheiving the affect I am looking for. But I want to do this with multiple attractor points located throughout the screening system, and I want the points to act independently from each other, without compounding effect.
Thanks!
-Joe
Tags:
I think in your case the easiest thing will be to simply take the smallest distance. Instead of grafting your attractors, try grafting the other points before giving them to the distance component. Then sort the output, and use list item with index 0 to extract the smallest distance from each list. Then just flatten the resulting list and feed it into your divide component.
This works perfectly, thanks Andrew!
-Joe
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by