\begin{tikzpicture}[scale=0.9]

  \begin{scope}[xshift=-4cm]

    %\draw[rounded corners=5mm,very thick] (-5,-3.5) rectangle (3.5,4);

    \begin{scope}
      \foreach \x in {1,...,6} {
        \coordinate (O) at (150-\x*60:21mm);
        \fill[black!5] (O) circle [radius=10mm] node[above left=3mm,text=black] {\x};
      }
      \coordinate (O) at (0,0);
      \fill[black!5] (O) circle [radius=10mm] node[above left=3mm,text=black] {7};
      \draw[->] (-25mm,0) -- (30mm,0) node[below] {$\bar x$};
      \draw[->] (0,-25mm) -- (0,35mm) node[right] {$\bar y$};
      \node[fill=white,text=black] at (-4,4) {\Large \bf M1};
      \draw[thin,dashed] (0,0) circle [radius=21mm];
      \draw[->,thick,red] ($(O)+(-5mm,0)$) -- ($(O)+(5mm,0)$) node[below] {$\hat x$};
      \draw[->,thick,red] ($(O)+(0,-5mm)$) -- ($(O)+(0,5mm)$) node[right] {$\hat y$};
      \foreach \x in {1,...,6} {
        \coordinate (O) at (150-\x*60:21mm);
        % \draw (O) circle [radius=10mm] node[above left=3mm] {\x};
        \draw[->,thick,red,rotate=-60*(\x-1)] ($(O)+(-5mm,0)$) -- ($(O)+(5mm,0)$) node[below] {$\hat x$};
        \draw[->,thick,red,rotate=-60*(\x-1)] ($(O)+(0,-5mm)$) -- ($(O)+(0,5mm)$) node[right] {$\hat y$};
      }    
    \end{scope}
    \begin{scope}[xshift=-3.5cm]
      \draw[rotate=90,thick,black!25] (-31mm,5.5mm) parabola[parabola height=-5.5mm] (31mm,5.5mm);
      \draw[->] (0,0) -- (-10mm,0) node[below] {$\bar z$};
      \draw[->] (0,-25mm) -- (0,35mm) node[right] {$\bar y$};
      \coordinate (O) at (0,0);
      \draw[->,thick,red] ($(O)+(5mm,0)$) -- ($(O)+(-5mm,0)$) node[below] {$\hat z$};
      \draw[->,thick,red] ($(O)+(0,-5mm)$) -- ($(O)+(0,5mm)$) node[left] {$\hat y$};
      \foreach \x in {1} {
        \coordinate (O) at ($(150-\x*60:21mm)+(-2.5mm,0)$);
        \draw[->,thick,red, rotate=15] ($(O)+(5mm,0)$) -- ($(O)+(-5mm,0)$) node[below] {$\hat z$};
        \draw[->,thick,red,rotate=-60*(\x-1)+15)] ($(O)+(0,-5mm)$) -- ($(O)+(0,5mm)$) node[left] {$\hat y$};
      }    
      \foreach \x in {4} {
        \coordinate (O) at ($(150-\x*60:21mm)+(-2.5mm,0)$);
        \draw[->,thick,red, rotate=-15] ($(O)+(5mm,0)$) -- ($(O)+(-5mm,0)$) node[below] {$\hat z$};
        \draw[->,thick,red,rotate=-60*(\x-1)-15)] ($(O)+(0,-5mm)$) -- ($(O)+(0,5mm)$) node[left] {$\hat y$};
      }    
    \end{scope}
    \draw[dotted] (-4.5,0) -- (1,0);
    \draw[dotted] (-4.5,21mm) -- (2.5,21mm);
    \draw[dotted] (-4.5,-21mm) -- (2.5,-21mm);

  \end{scope}

  \begin{scope}[xshift=4.6cm]

    %\draw[rounded corners=5mm,very thick] (-5,-3.5) rectangle (3.5,4);

    \begin{scope}
      \foreach \x in {1,...,6} {
        \coordinate (O) at (150-\x*60+180:21mm);
        \fill[black!5] (O) circle [radius=10mm] node[above left=3mm,text=black] {\x};
      }
      \coordinate (O) at (0,0);
      \fill[black!5] (O) circle [radius=10mm] node[above left=3mm,text=black] {7};
      \draw[->] (-25mm,0) -- (30mm,0) node[below] {$\bar x$};
      \draw[->] (0,-25mm) -- (0,35mm) node[right] {$\bar y$};
      \node[fill=white,text=black] at (-4,4) {\Large \bf M2};
      \draw[thin,dashed] (0,0) circle [radius=21mm];
      \draw[<-,thick,red] ($(O)+(5mm,0)$) -- ($(O)+(-5mm,0)$) node[below] {$\hat x$};
      \draw[->,thick,red] ($(O)+(0,5mm)$) -- ($(O)+(0,-5mm)$) node[right] {$\hat y$};
      \foreach \x in {1,...,6} {
        \coordinate (O) at (150-\x*60:21mm);
        % \draw (O) circle [radius=10mm] node[above left=3mm] {\x};
        \draw[<-,thick,red,rotate=-60*(\x-1)] ($(O)+(-5mm,0)$) -- ($(O)+(5mm,0)$) node[below] {$\hat x$};
        \draw[->,thick,red,rotate=-60*(\x-1)] ($(O)+(0,-5mm)$) -- ($(O)+(0,5mm)$) node[right] {$\hat y$};
      }    
    \end{scope}
    \begin{scope}[xshift=-3.5cm]
      \draw[rotate=90,thick,black!25] (-31mm,-5.5mm) parabola[parabola height=5.5mm] (31mm,-5.5mm);
      \draw[->] (0,0) -- (-10mm,0) node[below] {$\bar z$};
      \draw[->] (0,-25mm) -- (0,35mm) node[right] {$\bar y$};
      \coordinate (O) at (0,0);
      \draw[<-,thick,red] ($(O)+(5mm,0)$) -- ($(O)+(-5mm,0)$) node[below] {$\hat z$};
      \draw[->,thick,red] ($(O)+(0,-5mm)$) -- ($(O)+(0,5mm)$) node[left] {$\hat y$};
      \foreach \x in {1} {
        \coordinate (O) at ($(150-\x*60:21mm)+(2.5mm,0)$);
        \draw[<-,thick,red, rotate=-15] ($(O)+(5mm,0)$) -- ($(O)+(-5mm,0)$) node[below] {$\hat z$};
        \draw[->,thick,red,rotate=-60*(\x-1)-15)] ($(O)+(0,-5mm)$) -- ($(O)+(0,5mm)$) node[left] {$\hat y$};
      }    
      \foreach \x in {4} {
        \coordinate (O) at ($(150-\x*60:21mm)+(2.5mm,0)$);
        \draw[->,thick,red, rotate=+15] ($(O)+(5mm,0)$) -- ($(O)+(-5mm,0)$) node[below] {$\hat z$};
        \draw[->,thick,red,rotate=-60*(\x-1)+15)] ($(O)+(0,-5mm)$) -- ($(O)+(0,5mm)$) node[left] {$\hat y$};
      }    
    \end{scope}
    \draw[dotted] (-4.5,0) -- (1,0);
    \draw[dotted] (-4.5,21mm) -- (2.5,21mm);
    \draw[dotted] (-4.5,-21mm) -- (2.5,-21mm);

  \end{scope}
\end{tikzpicture}


%%% Local Variables: 
%%% mode: latex
%%% TeX-master: "rigidBodyCS.main"
%%% End: 
