Grasshopper

algorithmic modeling for Rhino

Hi All,

I am having some trouble making a list of data, created by 2 integer sliders:

Slider 1 controls how many 'ribs' I have
Slider 2 controls how many 'cross ribs' I have on each 'rib' (i.e. how many sub-divisions I have on the rib defined in the previous slider)

I have 3 spans/sets of ribs

The list I need to generate starts with a tree branch that starts from 0-to the last number of subdivisions in the first rib (i.e. 15)...the second tree branch starts from the 2nd span's first rib and counts its (i.e. 15) subdivisions...and so on

the list should look something like this:

0:0 - 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
0:1 - 48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63
0:2 - 96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111

this will continue until it reaches the point where it has reached the number of ribs I have

I have attached an excel file which shows the data I need...the tree branches need to catch the values going across the row

Any help would be great

Thanks

M.

Views: 104

Attachments:

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service