summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-solides3d/doc-en/par-enleverfacettes_en_corr.tex
blob: 2149a031bb80e4ae61d7ad266a401dc3d6ca949f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
\section{Removing faces}

The key value \verb+[rm=1 2 8]+ allows to suppress the drawing of the 
faces with the index numbers 1, 2 and 8, to be able to have a look inside a hollow solid.

\begin{LTXexample}[width=5cm]
\psset{Decran=12,grid=true,viewpoint=15 10 15}
\begin{pspicture}(-2.5,-2.5)(2.5,2.5)
\psSolid[object=cylindrecreux,
    ngrid=2 6,
    h=6,r=2,
    fillcolor=green!60,
    incolor=yellow!50,
    RotZ=-60,
    rm=1 3 6,](0,0,-3)
\end{pspicture}
\end{LTXexample}

\begin{LTXexample}[width=5cm]
\psset{Decran=12,grid=true,viewpoint=15 10 15}
\begin{pspicture}(-2.5,-2.5)(2.5,2.5)
\psSolid[object=troncconecreux,
    rm=1 12 13 14,
    r0=3,r1=1,h=6,
    fillcolor=green!60,
    incolor=yellow,
    mode=3](0,0,-3)
\end{pspicture}
\end{LTXexample} 


\endinput