Please, can someone help me with these dynamic lines?

I have this:

and I need to have this:

but, I get this result:

Juego para niños.skp (445.8 KB)

I would appreciate a help.

Thanks a lot

Please, can someone help me with these dynamic lines?

I have this:

and I need to have this:

but, I get this result:

Juego para niños.skp (445.8 KB)

I would appreciate a help.

Thanks a lot

place the axis of each line at the same position and orientation as the parent

Juego para niños.skp (449.9 KB)

unless for some reason this is not possible

Thanks for your quick response.

Obviously, I have misstated my need. I need VARA1 to rotate -32.11º while VARA2 accompanies VARA1 in the movement, rotating in turn -90º.

I beg your pardon, it is very difficult for me to explain in English what I want. I send an image to see if you understand my wish.

Thank you and forgive me.

In this case you would place component “vara2” in “vara1” and pass the changes through. Placement of axis is very important to achieve the results you expect.

as the attached shows two different axis positions but using the same formulas

Juego para niños (1).skp (463.8 KB)

As always, pcmoor, you have solved my problem.

Thank you very much.

Hello again, pcmoor.

I thought I had solved my problem … but no.

I would like the dynamic component to which I want to apply the formula to behave as the edges of this animation, always joined at their ends:

Animated edge simulation.skp (1008.6 KB)

But I only get this:

Edges.skp (441.0 KB)

Is there any way to correct it?

Thanks a lot

Its a mathematical mechanical problem rather than a sketchup DC bug, if you check the first attempt, the two arms rotate but the dimension between changes. So only consider one arm as driven and have the other two follow.

I split the shape into two triangles, then used the sine and cosine formulas to determine a variable diagonal. The second being the same diagonal with the other two fixed length sides (angles changing to suit the scaled diagonal). put the two together… it works!!

Edges 2.skp (130.7 KB)

I placed the axis on the lines themselves as the XY became to hard to figure, however one may try it now since the concept is proved, if needed

Thank you very much pcmoor. I think that you have found a clever solution to my problem.

Now, I will test your formula in my model (I am sure it will work correctly). When I have finished I will send it to you, so you can see the final result.

Again, pcmoor… thank you very much.

Kind regards