How can I draw a four-bar linkage with all the hinges and beams, like this in the picture??
I'm just starting out with LaTex ... This is what I made :
\begin{document}
\begin{tikzpicture}
\point{a}{0}{0};
\point{first}{-1}{0};
\notation{1}{first}{A};
\support{1}{a};
\hinge{1}{a};
\point{d}{0.9}{0};
\point{first}{0.8}{0.1};
\notation{1}{first}{D};
\beam{4}{a}{d};
\support{1}{d};
\hinge{1}{d};
\point{b}{-1.6485}{4.2945};
\point{first}{-1.6485}{4.2945};
\notation{1}{first}{B};
\hinge{1}{b};
\beam{4}{b}{a};
\point{c}{3.7241}{2.3905};
\point{first}{3.7241}{2.3905};
\notation{1}{first}{C};
\hinge{1}{c};
\beam{4}{b}{c};
\beam{4}{c}{d};
\draw [->] (0,0) -- (10,0) node [above left] {$\operatorname{X} $};
\draw [->] (0,0) -- (0,10) node [below right] {$\operatorname{Y} $};
\coordinate (x) at (0.3,0);
\coordinate (y) at (0,0.3);
\coordinate (w) at (2,0);
\coordinate (k) at (-0.4,4.2945);
\draw pic[draw, "$\theta_2$", ->, angle eccentricity=1.3,angle radius =
0.6cm] {angle = x--a--b};
\draw pic[draw, "$\theta_4$", ->, angle eccentricity=1.3,angle radius = 1cm]
{angle = w--d--c};
\draw pic[draw, "$\theta_3$", ->, angle eccentricity=1.3,angle radius = 1cm]
{angle = k--b--a};
\draw (-1.6485,4.2945) -- (-0.5,4.2945);
\draw [dash dot] (-1.6485,4.2945) -- (.9,0);
% I wanna make the center of mass and place it where a want...
\end{tikzpicture}
\end{document}