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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
\section{Enlever des facettes}
L'argument \Cadre{[rm=1 2 8]} permet de supprimer les facettes
visibles $1$, $2$ et $8$, afin de voir l'intérieur des solides creux.
\begin{multicols}{2}
\setlength{\columnseprule}{1pt}
\psset{unit=0.7}
\psset{Decran=15,grid=true,viewpoint=10 10 10}
\centerline{
\begin{pspicture}(-4.5,-4.5)(4.5,4.5)
\psframe(-4.5,-4.5)(4.5,4.5)
\psSolid[rm=1 3 6,object=cylindrecreux,ngrid=2 6,
h=6,r=2,fillcolor=green!50,incolor=yellow!50,RotZ=-60](0,0,-3)
\end{pspicture}}
\columnbreak
\begin{verbatim}
\psSolid[rm=1 3 6,
object=cylindrecreux,
ngrid=2 6,
h=6,r=2,fillcolor=green!50,
incolor=yellow!50,RotZ=-60](0,0,-3)
\end{verbatim}
\end{multicols}
\begin{multicols}{2}
\setlength{\columnseprule}{1pt}
\psset{unit=0.7}
\psset{Decran=15,grid=true,viewpoint=10 10 10}
\centerline{
\begin{pspicture}(-4.5,-4.5)(4.5,4)
\psframe(-4.5,-4.5)(4.5,4)
\psSolid[object=troncconecreux,
rm=1 12 13 14,
r0=3,r1=1,h=6,
fillcolor=green!50,incolor=yellow,
mode=3](0,0,-3)
\end{pspicture}}
\columnbreak
\begin{verbatim}
\psSolid[object=troncconecreux,
rm=1 12 13 14,
r0=3,r1=1,h=6,
fillcolor=green!50,incolor=yellow,
mode=3](0,0,-3)
\end{verbatim}
\end{multicols}
|