I have the following code (stolen from Are there simple ways to draw parallelepipeds in tikz? and adjusted)
\documentclass[border=2mm,12pt,tikz]{standalone}
\usepackage{tikz-3dplot}
\begin{document}
\tdplotsetmaincoords{70}{60}
\begin{tikzpicture}[scale=1,line cap=butt,line join=round,tdplot_main_coords,declare function={a=3;b=4;h=3;k=2;
}]
\begin{scope}[canvas is xy plane at z=0]
\path
(0,0) coordinate (A)
(a,0) coordinate (B)
(a,b) coordinate (C)
(0,b) coordinate (D);
\end{scope}
\begin{scope}[canvas is xy plane at z=h]
\path
(0,k) coordinate (A')
(a,k) coordinate (B')
(a,b+k) coordinate (C')
(0,b+k) coordinate (D');
\end{scope}
\begin{scope}[opacity=0.3,thick]
\draw[fill=orange] (A) --(B) -- (C) -- (D) -- cycle;
\draw[fill=orange] (A) --(B) -- (B') -- (A') -- cycle;
\draw[fill=orange] (B) --(C) -- (C') -- (B') -- cycle;
\draw[fill=orange] (C) --(D) -- (D') -- (C') -- cycle;
\draw[fill=orange] (A) --(D) -- (D') -- (A') --cycle;
\draw[fill=orange] (A') --(B') -- (C') -- (D') --cycle;
\end{scope}
\end{tikzpicture}
\end{document}
which renders as
I only want to add arrows like this, so it is obvoius that the parallelepiped is created by these three vectors.
Thanks all!




