Hi, I answered you in mp, and I try to attach your files.
Your examples are very clear, even to a mechanic like me who does not have the basics.
I haven't solved the thing yet, but I think I'm on the right path... for now I'm doing some tests with examples to take my hand and then move to the real model when I feel capable.
it seems to me to understand that even simple autocad performs this calculation. (see my attachment a few more posts up)
in fact I couldn't post pictures readable, which we will do!
the design of the tree is obviously indicative, I did it in 5 minutes only to highlight the concept of balancing