Initialisation du projet pst-solides3d.git (SVN revision 142)
[pst-solides3d.git] / doc-en / .svn / text-base / par-enleverfacettes-en.tex.svn-base
1 \section{Removing faces}
2
3 The key value \texttt{\Lkeyword{rm}=1 2 8} allows to suppress the drawing of the
4 faces with the index numbers 1, 2 and 8, to be able to have a look inside a \Index{hollow} solid.
5
6 \begin{LTXexample}[width=5cm]
7 \psset{Decran=12,grid=true,viewpoint=15 10 15}
8 \begin{pspicture}(-2.5,-2.5)(2.5,2.5)
9 \psSolid[object=cylindrecreux,
10     ngrid=2 6,
11     h=6,r=2,
12     fillcolor=green!60,
13     incolor=yellow!50,
14     RotZ=-60,
15     rm=1 3 6,](0,0,-3)
16 \end{pspicture}
17 \end{LTXexample}
18
19 \begin{LTXexample}[width=5cm]
20 \psset{Decran=12,grid=true,viewpoint=15 10 15}
21 \begin{pspicture}(-2.5,-2.5)(2.5,2.5)
22 \psSolid[object=troncconecreux,
23     rm=1 12 13 14,
24     r0=3,r1=1,h=6,
25     fillcolor=green!60,
26     incolor=yellow,
27     mode=3](0,0,-3)
28 \end{pspicture}
29 \end{LTXexample}
30
31
32 \endinput

Licence Creative Commons Les fichiers de Syracuse sont mis à disposition (sauf mention contraire) selon les termes de la
Licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.