Grasshopper

algorithmic modeling for Rhino

Hi

Goal in this simple VB attached is to collect first point in first branch, then next 2 points in the 2nd branch, then next 3 points in the 3rd branch, then next 4 points in the 4th branch...

...meaning that points on branches must be

 0, 1-2, 3-4-5, 6-7-8-9, 10-11-12-13-14...etc

Of course the VB doesn't work and I have no idea why.

Appreciate your help

Best, Peter

Views: 575

Attachments:

Replies to This Discussion

The Native Grasshopper way

Maybe you can work this logic into your VB component

EDIT: Shift list S=-1

Hmm...what happens "next"? see attached

PS: please can you switch off "draw icons" in your future replies? I definitely can't think with icons, he he

Take care, Peter

This one's better

Please can you switch on Draw Icons... :P

The words are far more confusing for me than the images for you. All I can say is thank god for spell check otherwise no one would make any sense out of what I spew forth.

Anyway, it works somehow (but omits the last item). That said I have something far more complicated in mind , therefor some enlightenment on that VB matter is urgently required (the visual thing is not for me, he he).

PS: one word equals 10000 pics (wait a minute: was it the other way round?)

Attachments:

Sorry for the c# response (but I'm a bit rusty with vb.net syntax).  But here's a script component that does what you're asking for.  There are online translators that are pretty good at converting (google can help find it).

Attachments:

Jon

Mille grazie > no need for translator as soon I figured out the logic. Remind me to provide you with my personal lethal toy (BMW S1000RR) if some vacations in Greece occur (Myconos and the likes).

Best, Peter

Attachments:

Sounds great, fond memories of Greece and would love to come back, actually my profile picture was taken on Santorini.

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