Grasshopper

algorithmic modeling for Rhino

can attractors make influence on the opposite direction?

Dear all,

I make a surface that becomes doubled curved when I place some attractor points.
I have some points on top and some others on the bottom.
I want to have the opposite influence on the top and on the bottom,
I mean, I want the top to have an influence on positive y direction,
but the bottom negative y direction.
I know this is posible if you place f(x) component and for x to put 1/(x).
I'm doing this for the bottom attractors, but it gives an error...

Does somebody know why?
Attached I have the gh file that I'm working on.

thanks for your help in advance :)
maria

Views: 439

Attachments:

Replies to This Discussion

I see that you have some instances of 0 going into the component you have labeled, which in turn asks Grasshopper to divide by 0, which it cannot do. I'm not entirely sure if I understand the objective, but perhaps you want a -x instead of a 1/x?
Hi JL,
thanks for your reply,
what do you mean I have instances of 0?
Can you be more specific?
Maria, I'm not sure if the sliders are in their original positions, so you may find slighly different values, but as I have them now, item 20 in the list being generated by the minimum component and being used your x input is the number 0, so including (1/x) in your equation would end up being (1/0) for at least that one instance.

I hope this clarifies my point, even if it doesn't offer a whole lot of direction for improvment.
ah, yes, now I understand.. it's true, the problem is the value of 0 of some of my points,
so I have to set minimum 1..
thanks a lot! :)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service