Grasshopper

algorithmic modeling for Rhino

hi everybody. how do you do for create a function f=1/(x*x)? it's opposite parabole. I begin on this software, the question is maybe stupid. Thank you in advance....

Views: 519

Replies to This Discussion

Hi Overlord,

 

Actually 1/x² is a hyperbola. It is technically possible to create a 1/x nurbs curve with 3 control points, but you have to know exactly where to place them and what the weights should be.

 

Another possibility would be to create a range of numbers (say, 1000 numbers between 0.1 and 10.0) and use an expression to compute a Y value for every X number. Then you can create points from the original values and the values coming out of the expression and fit a curve (nurbs curve or polyline) through the points.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hi,

Just as you said, you can use a function component :D

Here what david told you:

and check: http://www.wolframalpha.com/input/?i=1%2F%28x*x%29

 

 

perfect . thanks everyboby

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