\documentclass{article} \usepackage{pst-solides3d} \begin{document} \pagestyle{empty} \begin{pspicture}(-6,-3)(6,3) \psset{lightsrc=50 -50 50,viewpoint=100 -30 40,Decran=100,linewidth=0.5\pslinewidth, unit=0.75} %\psframe*[linecolor=black](-6,-5)(6,5) \codejps{ /cylindre1 { -6 2 6 [36 36] newcylindrecreux %newcylindre {90 0 0 rotateOpoint3d} solidtransform dup (White) (White) inoutputcolors } def /cylindre2 { -6 2 6 [36 36] newcylindrecreux% newcylindre {90 0 90 rotateOpoint3d} solidtransform dup (White) (White) inoutputcolors } def /UnionCylindres {cylindre1 cylindre2 solidfuz} def UnionCylindres drawsolid**} \end{pspicture} \end {document}