I am trying to get all of the different possible combinations between two lists of X and Y vectors. So if I have a list of three X and Y vectors it should give 9 different combinations so in total 27 items with three items in each branch.
Your example doesn’t make it clear what your combinations actually are. Are the positions of each item changing, or does the first item in each source only possibly appear in the first item of the result? Because that’s 2^3 = 8 combinations (which I think your example shows, judging by the size of the scrollbar) not 27…
Yes sorry should be 8 combination. I just did it manually as an example. I will have a slider controlling how many numbers there will be in each list. But they will always have the same amount. I want all the possible combinations.
Unfortunately, Grasshopper doesn’t have native binary components so I used a tiny bit of python to generate all the combinations of 0 and 1 that are x bits long (ie counting to 2^x) and used those bits to choose from the lists.