I would like (see picture) to have a line (calculated automatically) that is partially dashed and partially visible. I hope there is a way to do this. Thanks in advance!
\documentclass[a4paper]{scrartcl}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[x={(-0.3cm,-0.3cm)},y={(1.2cm,0cm)}, z={(0cm,1.2cm)}]
\coordinate (O) at (0,0,0);
\coordinate[label=left:{$A$}] (A) at (-4,-2,0);
\coordinate[label=left:{$B$}] (B) at (4,2,0);
\coordinate[label=below right:{$C$}] (C) at (6,6,0);
\coordinate[label=below right:{$D$}] (D) at (-3,7,0);
\coordinate[label=right:{$E$}] (E) at (4,6,4);
\coordinate[label=above right:{$F$}] (F) at (-5,7,5);
\coordinate[label=above left:{$G$}] (G) at (2,0,6);
\coordinate[label=right:{$H$}] (H) at (4,2,4);
\draw[ultra thick,black] (A) -- (B) -- (C) -- (D) -- (A);
\draw[ultra thick,black] (D) -- (F) -- (E) -- (C);
\draw[ultra thick,black] (B) -- (H) -- (G) -- (A);
\draw[fill=gray,opacity=0.4] (A)--(B)-- (H) -- (G);
\draw[fill=gray,opacity=0.4] (C)--(D)--(F)--(E);
\draw[fill=gray,opacity=0.4] (A)--(B)--(C)--(D)--(A);
\end{tikzpicture}
\end{document}


