Roteation vincolation

I’m trying to rotate 2 lines (A;C) connected by an other line (B) like in the link below
I want to be able to move the mechanism with one slider if possible, the ends of A and C shoud always be connected to B

Cattura1
Cattura2

Here is a definition with what you asked.
Though i technically didn’t do it like you described, i “rotate” line segment A and B equally and create the line between.
I can imagine that the following questions is how to do it with line segment B having a fixed lenght, right?

Mechanism_Re.gh (5.4 KB)

Yes this is the probem, B must have the same lenght

I don’t know if your intention is to have this equality condition hold and have the points on both circles travel 360 degrees, because that usually won’t happen.

crank.gh (10.9 KB)