Grasshopper

algorithmic modeling for Rhino

Hello all,

I have to generate a curve that is specifically defined by a math function in Rhino.

So I got Rhino 4 and added the Grasshopper plugin.  Went into the Params and added a slider which goes from 0 to 530 for the y value, and another slider for the x values (0 - 775), then i connected this to a function container and put this in the expression field:

(2/3) * (3.14159265(y) * x)^2 * y

Then I connected the output to a Quick Graph to see what happens.  So far it wont evaluate.  It says the right hand side in the function is empty???

X will go from 0 to 775 mm and y goes from 0 up to 530.33 mm

???

Views: 4299

Replies to This Discussion

does this help?

Attachments:

Well the function seems to evaluate now, the way YOU did it.  Now if I can just figure out how to define a curve with those points...

I would use a VB node, the attached screenshot should give you an idea of passing in two numbers and retrieving a point. You can generate an array of points and pass that into an IntrpCrv Node.

Attachments:

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