generative 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: attractor, distance, point, scaling
Permalink Reply by Andrew Heumann on November 26, 2011 at 11:06am 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.
Permalink Reply by Joseph Brennan on November 26, 2011 at 12:01pm This works perfectly, thanks Andrew!
-Joe
© 2013 Created by Scott Davidson.
Powered by