Cannot return rhino objects as list


I wrote some code to shift list (in this case, the list is points. I want to return list of all possible shifts, so I am returning list of list of points)
e.g. given [1, 2, 3], I need: [[1, 2, 3], [3, 1, 2], [2, 3, 1]]
The problem is, once I return this list, I just get the ‘deque’ object I use, which can’t be used by anything. Is there a ‘return list of list’ function I a missing here?

Thanks a lot!

check out this article

Thanks a lot for your help! This makes many of my scripts possible now!

Why do you need python for this when it can be done with 1 Shift Listcomponent?


1 Like

Thanks for your help! I am trying to get all rotations from just one module