Grasshopper

algorithmic modeling for Rhino

hi all - i am preeetty new to grasshopper, and am looking for a way to constrain volume of a lofted + capped surface.

basic principle: i want to have a set volume lofted between two curves from rhino so that i can edit them individually, the problem is i want to be able to change the curves and have the volume of the lofted and capped "box" stay the same. i know this is going to be alot harder than it seems haha

thanks

Views: 1882

Replies to This Discussion

You'll need to decide a property that Grasshopper can change to make sure the volume stays the same. Perhaps the loft distance (distance between the two curves)?
In this case the Galapagos solver is useful.

Try the attached example.
First load the rhino file, then the grasshopper file.
Edit the curves as you like (In the Rhino window) just make sure they stay planar or else the "Cap holes" won't work.
Enter the desired volume in the yellow text component.
Then start Galapagos by double clicking that component / choose "Solver" / press "Start Solver"
Galapagos will change the loft distance and try to find a setting where the volume of the loft matches the desired value.

Good luck!
Attachments:
thanks for the fast response and yea tweaking that length seems like a good place to start but for some reason the galapagos solver isnt coming up on my grasshopper doc, i tried to find it, is it a download? (im sorry, im very new to grasshopper)
Have you got the latest version?
i figured out a different way actually, seems a little more direct, let me know what you think.
Attachments:
That seems a lot more straight-forward. I get different volume results though when I change the curves. It may need some fine-tuning.
yes i think it has to do with the equation for volume. it may be a bit restricted to an extruded rectangle - let me know if you have any other thoughts, im very interested in grasshopper as an initial design/sketch phase tool in addition to its other applications

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