Grasshopper

algorithmic modeling for Rhino

Hi everyone, I encounter a question!!by using the shift list component , the Items in the list are moved towards the first of the list , not the end (as I expected)(the shift offset number is even positive)???why is it like that?

Views: 1880

Replies to This Discussion

Hi Ali,

Indices of lists start at 0 and go up in value the further along the list you go. The amount to shift is applied to the starting point of the new list. By shifting a list by +1 you are effectively saying you want the list to start at index 1 of the original list and -1 would be the last value of a wrapped list.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service