how to totaly random generation of several wedges?
PDG act like : 111 - 112 - 113 - 121 - 122 ...
What I would like : 213 - 132 - 312 - 233 ...
Thank you for help
WowNemsthis doesn't explain why you want randomness in the order of your 125 workitems
I have 5 differents faces,5 differents tooths, 5 differents materials, this gives me 125 combinations. I use wedgeindex to sort this all, but I would like to give randomness to my sorting because topnet gives me face1 + teeth 1 + material 1 then F1+T1+M2 then F1+T2+M3.. It miss randomnes for me
import random random.seed(10) items = upstream_items[:] random.shuffle(items) for i,item in enumerate(items): new_item = item_holder.addWorkItem(index=i, parent=item)