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

Pcmoor, sorry to bother you again.

This is too much for me. I am 85 years old and I have lost a lot of capacity for understanding. I have tried many times to get my hinge to work properly with your formula, but it is useless… I can’t.

Could you please see what’s going on?

Thank you very much and, again, forgive me.

Kind regards

Funcionando mal.skp (4.0 MB)

Hi

Due to upgrades in the Microsoft office I have been very busy with clients updating from MS 5.0 forms, so just starting to have a look.

First step was to verify the measurements, I right clicked on a section then made groups of the section view of both the closed and opened positions. The result is posted

Bisagra de cazoleta -cross section check.skp (4.8 MB)

Will continue tonight

following step by step.

make each line a component where the X axis is along the line (see attached file) lock the length (lenx) for all. Measure the angle between base and edge1, enter that (this will be triggered later)

use the cosine rule to get the length of the diagonal, then the law of sines to get the angle at the base

Bisagra de cazoleta -cosine rule for diagonal -sine rule for angle from base.skp (4.8 MB)

will continue tomorrow to fix the lower triangle and animate. Then should be able to place the other components inside after fixing their size

EDIT:

Used wrong angle for cosine rule

Bisagra de cazoleta -correction (angle for cosine).skp (4.8 MB)