I have a different number of splines representing text.
My goal is to ensure that the number of splines is always not lower than the threshold I need.
If I'm given 3
splines, but I only need 3
splines, then everything is great and I don't need to do anything.
But if I'm given 5
splines and I need 6
splines, then I just convert this to mesh, and select a random edge. And then I split the edge, and turn the result back into splines.
After which I get the required 6 number of splines.
If instead of 6 splines I need 10 splines, then I make 5 cuts instead of 1.
Since the number of cuts can be large, it is important that they are in random places for beauty.
But... there is one problem.
If a random cut falls on a "symbol with a hole" (an edge between two different splines, not between the same one), or if all these splines are symbols with holes,
Then, after a random cut, instead of increasing the number of splines, their number will decrease.
In order for their number to really increase, an 2 additional cut will have to be made.
In total we come to the conclusion "number of cuts $\ne$ goal splines $-$ current splines".
So I had to just use a repeat zone, something like
Continue randomly cutting until get lucky and the quantity is right.
Well... Is there a way to solve this without a repeat zone? Any math tricks or other tricks? Something that will work faster than repeat zone on a large number of splines?