% !TeX TXS-program:compile = txs:///pdflatex

\documentclass[margin=5mm]{standalone}
\usepackage{tikz3d-fr}

\begin{document}

\begin{tikzpicture}[x={(-7:3.5cm)},y={(25:2cm)},z={(90:3.85cm)}]
	%placement des points avec labels
	\PlacePointsEspace{A/0,0,0/bg B/1,0,0/b C/1,1,0/d D/0,1,0/hd E/0,0,1/g F/1,0,1/h G/1,1,1/hd H/0,1,1/h M/2,0,0/d}
	\PlacePointEspace*{U}{1,1,0.2}
	%segments pointillés
	\TraceSegmentsEspace[thick,dashed]{B/C C/U C/D D/H A/D}
	%segments pleins
	\TraceSegmentsEspace[thick]{A/B B/F F/E E/A E/H H/G G/F G/U B/M F/M}
	%Marques points
	%\MarquePointsEspace{A,B,C,D,E,F,G,H,M}
\end{tikzpicture}

\end{document}

