Grasshopper

algorithmic modeling for Rhino

Hi

Hope some can help with this:

If I have a serie of different numbers:

x1 = 4

x2 = 8

x3 = 1

...

xn = ??

 

how do u make it do like this:

e.g.:

 

for list.lenght = n

y1= x1

y2 = x1+x2

y3 = x1+x2+x3

..

yn = x1+x2+x3+..+xn

 

Thx

Views: 299

Replies to This Discussion

It's a component function designed by David already. Mass Addition component (lots of plus symbols) and get the second value 'Pr'.
hehe ..aha, thx

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