Mercredi 9 Juillet 2008
Retour, répertoire : /pst-solides3d/variations-cylindre
cylindre_07.pst
%% Auteur : Manuel Luque %% %% ATTENTION : nécessite DEUX VISUALISATIONS du fichier .ps %% soit : %% 1 compilation LaTeX, 1 visualisation du .ps, une compilation LaTeX %% puis une nouvelle visualisation \begin{pspicture}(-4,-3)(4,3) \psframe(-4,-3)(4,3) \psset{lightsrc=viewpoint,SphericalCoor,viewpoint=100 -13 10,Decran=50} \psset{solidmemory,unit=2} \IfFileExists{crosshollow-sommets.dat}{% \psSolid[object=datfile,deactivatecolor, file=crosshollow]% }{ \psSolid[object=datfile, file=cylindrebiseau,rm=0 1 68,hollow, incolor=yellow!50,fillcolor=green!50, action=none,name=cylindrebiseau1] \psSolid[object=datfile,RotZ=90,rm=0 1 68,hollow, incolor=yellow!50,fillcolor=green!50, file=cylindrebiseau,name=cylindrebiseau2,action=none] \psSolid[object=datfile,RotZ=180,rm=0 1 68,hollow, incolor=yellow!50,fillcolor=green!50, file=cylindrebiseau,name=cylindrebiseau3,action=none] \psSolid[object=datfile,RotZ=270,rm=0 1 68,hollow, incolor=yellow!50,fillcolor=green!50, file=cylindrebiseau,name=cylindrebiseau4,action=none] \psSolid[object=fusion, base=cylindrebiseau1 cylindrebiseau2 cylindrebiseau3 cylindrebiseau4, action=writesolid,file=crosshollow] } \composeSolid \end{pspicture}
Modifié le 9 Juillet 2008 à 16 h 06.


