I am working in Blender and Python 3.x.
I would like to use the iterated values of:
list(itertools.product([0,1,2,3], repeat = 3))
>>> [(0, 0, 0), (0, 0, 1), (0, 0, 2), (0, 0, 3), ... (3, 3, 2), (3, 3, 3)]
(64 total products/permutations) And insert their respective values, one set at a time, into the following method:
def vid(h,j,k):
m = h
s = j
b = k
Is it possible to accomplish this with some form of a loop so that, say, (0, 0, 0) can be inserted into (h, j, k), over and over again, until all 64 products/permutations have been inserted?
Apologies if this seems like a silly set of questions or is in any way unclear. Just starting out here on the ol' stack and I am rather stuck on this problem!