Grasshopper

algorithmic modeling for Rhino

Hey guys!

I am trying to insert VB where I need a loop to occur and am running into some problems.

 

With Grasshopper I create two irregular curves with one sitting higher than the other. Then I divide these curves into 10 points. I now want to index the list of points for the top curve and the list of points for the bottom curve and match up each point on the bottom curve with each point on the top curve so that I can create a curve through them and then a pipe around each of the curves.

 

 

Views: 432

Attachments:

Replies to This Discussion

I for the VB code I just have a loop from 0 to 8. But I want each indexed value from one curve to pair up with the corresponding indexed value on the other curve so that I can connect the two points with a line. Then I will have 8 dinnerent lines connecting the top and bottom curves

 

I'd say you don't need VB for that. GH works with lists for this kind of problems.

I'd recommend you to read the Primer, page 18, it will shed some light on this...

http://www.liftarchitects.com/journal/2009/3/25/the-grasshopper-pri...

 

good luck,

Eduardo

Got it!

Thanks!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service