%\begin{equation*}
\begin{figure}[h!]
\begin{center}
\begin{tikzpicture}[scale=.6,tdplot_main_coords]

\begin{scope}[xshift=0cm,yshift=0cm]
\clip(3,0,0)--(3,4,0)--(0,4,0)--(0,4,1)--(0,3,1)--(1,3,1)--(1,2,1)--(1,1,1)--(2,1,1)--(2,0,1)--(3,0,1)--(3,0,0)--cycle;
\draw[line width=1pt,fill=black!5]
(2,3,0)--(3,3,0)--(3,4,0)--(2,4,0)--cycle
(2,2,0)--(3,2,0)--(3,3,0)--(2,3,0)--cycle
;
\draw[line width=1pt,fill=red]
(2,0,1)--(3,0,1)--(3,1,1)--(2,1,1)--cycle
(2,1,1)--(3,1,1)--(3,2,1)--(2,2,1)--cycle
;
\draw[line width=1pt,fill=yellow]
(1,3,1)--(2,3,1)--(2,4,1)--(1,4,1)--cycle
(1,2,1)--(2,2,1)--(2,3,1)--(1,3,1)--cycle
(1,1,1)--(2,1,1)--(2,2,1)--(1,2,1)--cycle
;
\draw[line width=1pt,fill=cyan]
(0,3,1)--(1,3,1)--(1,4,1)--(0,4,1)--cycle
;
\draw[line width=1pt,fill=black!20]
(3,1,0)--(3,2,0)--(3,2,1)--(3,1,1)--cycle
(3,0,0)--(3,1,0)--(3,1,1)--(3,0,1)--cycle
(2,3,0)--(2,4,0)--(2,4,1)--(2,3,1)--cycle
(2,2,0)--(2,3,0)--(2,3,1)--(2,2,1)--cycle
;
\draw[line width=1pt,fill=black!50]
(2,2,0)--(2,2,1)--(3,2,1)--(3,2,0)--cycle
(1,4,0)--(1,4,1)--(2,4,1)--(2,4,0)--cycle
(0,4,0)--(0,4,1)--(1,4,1)--(1,4,0)--cycle
;
\draw[line width=2pt](3,0,0)--(3,4,0)--(0,4,0)--(0,4,1)--(0,3,1)--(1,3,1)--(1,2,1)--(1,1,1)--(2,1,1)--(2,0,1)--(3,0,1)--(3,0,0)--cycle;
\end{scope}
\end{tikzpicture}
\end{center}
\caption{}
\label{fig:pic_rimhook-parts}
\end{figure}
%\end{equation*}
