generative 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.
Tags:
Permalink Reply by McKinnley Workman on September 21, 2011 at 2:06pm 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
Permalink Reply by castroecosta on September 26, 2011 at 9:38am
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
Permalink Reply by McKinnley Workman on October 2, 2011 at 10:10am Got it!
Thanks!
© 2013 Created by Scott Davidson.
Powered by