Grasshopper

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

 

Views: 2145

Attachments:

Replies to This Discussion

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. 

Attachments:

This works perfectly, thanks Andrew!

 

-Joe

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