Grasshopper

algorithmic modeling for Rhino

does any one know how to create stream like

{0}

0

{1}

1

2

{2}

3

4

5

{3}

6

7

8

{4}

9

10

11

12

then ~~more~~

thx lot...

Views: 331

Replies to This Discussion

Hey,

{0}

0

{1}

1

2

{2}

3

4

5

{3}

6

7

8

9

{4}

9

10

11

12

13

14

???

yes....

like so?

Attachments:

yes ...you got it  David Stasiuk thx a lot ~~i'm still trying more easy way@@...

VB:

Private Sub RunScript(ByVal I As Integer, ByRef A As Object)

Dim I_ As New DataTree(Of Int32)
Dim ctr As int32

For idx As Int32 = 0 To I
For idx_ As Int32 = 0 To idx
I_.Add(ctr, New GH_Path(idx))
ctr += 1
Next
Next

A = I_

End Sub

:)

It's a bit complicated ...

nice

it's not i want.... David Stasiuk answer is what i need...but still thx.^^

now i'm still trying use simple way to generate stream 

Wei,

It is however the same result.

thx~^_^ ... now i know how to do that~

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service