Random list order until successful Solid Union

I have a high number of breps I have to Solid union. Unfortunately Solid Union is successful only at a specific list order. My idea is randomize the list order until it is successful. I dont know python or other programming stuff. Is it solvable without those? ( I work in Rhino 7)


random list order.gh (16.7 KB)


random list order_2021Jun6a.gh (22.2 KB)

P.S. Text panel in white group shows eight unique shuffle patterns where SUnion succeeds.


random list order_2021Jun6b.gh (27.0 KB)

Great! Thank you. I did not know what is jitter all about so far.

In this case, where testing SUnion is “expensive”, it’s better to just test all 24 unique permutations of the sort sequence. I hacked a Python Perms component for that:

The white group is useless fluff, the solution is done quickly at SUnion.


random list order_2021Jun6c.gh (33.2 KB)

Applied to your example file
SUni

thanks for making it quicker!