one list by -1 while disabling index wrapping. Essentially, this removes the first item from one list and the last item from the other list. Conceptually, these are your lists:
Source List: [0, 1, 2, 3, 4, 5]
Shift List 1: [0, 1, 2, 3, 4]
Shift List 2: [1, 2, 3, 4, 5]
If you input these lists into a Line component, you will connect each respective list item with the other, essentially 0-1, 1-2, 2-3, etc.
…
ep is to understan the logics of what you want to do, in your case, build 4 point surfaces (u also need to know the right direction to build the surfaces). Then you can write an hipotetic list (by hand in a paper) of what you want. In your case the list was (0, 1, 3, 2) (2, 3, 5, 4) (4, 5, 7, 6), etc... if you can imagine building 2 lists, each one with the sequences (0, 2, 4, 6, etcc) and (1, 3, 5, 7, etc..) then you can manage with shift and graft to finally have four lists. A( 0 1 2 3 ...) B (1 3 5 etc..) C(3 5 7 etc..) D (2 4 6 etc..). And to achieve the 2 first lists, you need to get the odd and the pair numbers. The cull pattern does that amazingy well. With a pattern True-False you get de pair numbers, and with the False-True pattern you get de odd numbers.
Hope it was clear enough…
Added by Pep Tornabell at 5:32am on November 19, 2009
ant to find all paths where exactly two items are the same like in branch {1}. How can I solve this in VB? Is there an easy "search in list" class or do I have to iterate over all items by myself ??
Regards Alex…
FabCafe Tokyoの金岡です。10/27(月) 19:00~ 『Open Fab Night for Rhinoceros+Grasshopper』を開催することになりました!皆様お気軽にお越しください!
詳しくはこちら↓https://www.facebook.com/events/602014139921202/