Grasshopper

algorithmic modeling for Rhino

Hello all,

I am trying to set up a facade extrusions study utilizing attractor points that read vector distances and then extrude based on the distance from the attractor point. Right now I am only able to figure out how to create a linear relationship. It is shown below in the attachments. The code is included.

My goal is to create a non-linear exponential increase in the extrusions to the attractor point.

What I've done is subdivide the surface and map a circle into each panel's centroid. Then I Vect2Pt to the attractor point. Using this vector distance I've created the inverse relationship of the vector to create a positive extrusion in the Y direction (positive in relation to the point, not in the coordinate plane).

It looks appropriate when I only have two panels included, but when I include the whole length of panels it created a domain that is too large for my use. I want the extrusion relationship to be limited to a particular distance from the attractor, say ~ 60'.

How can I create a non-linear relationship in these extrusions?

I tried to mess around with limiting the domain but it won't work because it just wont extrude those outside of the distance. I also tried playing around with Dispatch to say anything over X' will extrude, anything below will not. It does not create a good smooth curve to taper off the extrusions though. It creates \_______ instead of a smooth exponential relationship that I am shooting for.

Would it just be a heavy math formula that I place into input of the AMP node?

Any help would be greatly appreciated.

Thanks,

Kevin Griendling

Views: 799

Attachments:

Replies to This Discussion

Sorry I accidently loaded the screencaps as PSD.

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2026   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service