Grasshopper

algorithmic modeling for Rhino

hello, I' working on an experiment in bamboo and have documented a few curves that I got from my experiments. I wanted to know how i would be able to create an expression so dat I can just tweak variables in that expression to generate more curves from the documented ones in a maximum minimum range. The documented curve is a reverse curve.

I have started finding the equation by a standard quadratic equation whith 3 known points on the curve. may be it will work. Please give suggestion towards going ahead with it. 

Views: 1441

Replies to This Discussion

Hi Nikita,

 

although Nurbs curves are based on polynomials, it is not particularly easy to use them to approximate f(x) = axN + bxN-1 + cxN-2+...+z equations. 

Reverse curves will require at least a third power in there, so you'll need to find cubic equations at the very least. It's probably easiest to write your equations as expressions using sliders as variables:

Unless I have misunderstood the problem...

--

David Rutten

david@mcneel.com

Attachments:

hey ...firstly,thank you for replying..

well may be u are right because the documented curves show more than 2 points controlling it (after switching the control points on), hence i think just 2degree curve wont be sufficient...im uploading the rhino file to show my documented curve so that it will be clearer.. i want to specifically have that dipping of the curve in the expression as it is specific to the material used in the actual experiment.iv used centimetres while documenting. I will look into cubic equations immediately.

thank you

Attachments:

Hi David,

          I have been able to find the equations for my documented curves using excel sheets, I'v also been able to minimise the error between the two curves as much as I can. What I wanted to know was, if I could decompose an equation into its constants and variable so that I can move head into influencing them with a certain parameter.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service