algorithmic modeling for Rhino
let's say I have a list of numbers: 1,2,3,4,5,6,7,8,9
now I want to sum the first 1,2,3,4,5,6,7,8 and 9 in the list ... so the result is going to be:
1
1+2 = 3
1+2+3 = 6
1+2+3+4 = 10
1+2+3+4+5 = 15
1+2+3+4+5+6 = 21
1+2+3+4+5+6+7 = 28
1+2+3+4+5+6+7+8 = 36
1+2+3+4+5+6+7+8+9 = 45
Is there a tool, that can do me that job?
How do I get this List {1,3,6,10,15,21,28,36,45}?
Tags:
split list works fine
Did you read my other reply. The mass addition component has a partial list output which will handle this
I did ... You are more than right! ... I love you man!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by