\documentclass[a4paper]{article}
\usepackage{pst-solides3d}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\pagestyle{empty}
\date{07 septembre 2\,006}
\author{JPV \& ML}

\title{test cube}

\begin{document}
\maketitle
\begin{enumerate}
  \item cube
\end{enumerate}

\begin{center}
%%
\psset{unit=0.5}
%%
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=50,Dobs=20,Decran=20}
\psSolid[object=cube,linewidth=2pt,linecolor=blue,color=cyan!60](0,0,0)
\end{pspicture}
%%
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=-30,Dobs=50,Decran=50}
\psSolid[object=cube,a=6,RotY=90,linewidth=4pt,typedrawsolid=Solid*,color=magenta!20](0,0,0)
\end{pspicture}
%%
\end{center}
\end{document}
