Grasshopper

algorithmic modeling for Rhino

Shift List Offsetting First Item instead of Last?

Hello

I wanted to eliminate the last item on a list. In this case, the point nr 10 (-38.94, 0.0, 0.0)

Shift List does just that, it offsets the entire list a specified value, and if w set to false they are not put back in the start.

Why is my shift list offsetting A,B,C,D,E to B,C,D,E instead of A,B,C,D?

Thanks

Shynn

Views: 1177

Replies to This Discussion

Set S = -1 but if you want to delete the last item you should use [Cull Index] component with i = -1

Alright thanks, I could also reverse the list. I was just wondering, is shift list working right?

I thought the last item on the list was the one that fell off of it when offseted, not the 0. 

0 A | 0(+1) B

1 B | 1(+1) C

2 C | 2(+1)D

3 D | 3(+1)E

4 E |

Anyways, I culled the last item on 3 lists, using the same cull component, how can I resaparete them in the original 3 lists again? Thanks for any help.

Attachments:

So, this is what you want?

Thank you, that helps, but actually I need to separate the 3 list of points, so that I can input them into a 3 point arc component. So after the cull index, how do I unmerge the lists into 3 again?

Nevermind, explode tree did it. Thanks again.

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