diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-solides3d/doc-src/par-modes-en.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-solides3d/doc-src/par-modes-en.tex | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-solides3d/doc-src/par-modes-en.tex b/Master/texmf-dist/doc/generic/pst-solides3d/doc-src/par-modes-en.tex new file mode 100644 index 00000000000..633badc57c2 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-solides3d/doc-src/par-modes-en.tex @@ -0,0 +1,50 @@ +\section{The \Index{modes}} + +For some solids, there are certain gratings predefined. +We can setup the key values to \texttt{\Lkeyword{mode}=0, 1, 2, 3 or 4} which allows to have some some gratings from very coarse \texttt{\Lkeyword{mode}=0} up to very fine \texttt{\Lkeyword{mode}=4}. + +This permits us to have a draft version of a solid with \texttt{\Lkeyword{mode}=0} (fewer calculations) and then refine it with \texttt{\Lkeyword{mode}=4} for the final version. + +%% avec mode = 0 +\begin{center} +\psset{lightsrc=10 5 0,viewpoint=50 20 -40 rtp2xyz,Decran=35,unit=0.5,% + incolor=white,fillcolor=green!50,r0=5,r1=2,h=5,object=troncconecreux,r0=5,r1=2,h=5} +\begin{pspicture}(-5,-5)(5,5) +\psframe(-5,-5)(5,5) +\psSolid[mode=0]% +\rput(0,-4.5){\psframebox[fillstyle=solid,fillcolor=black]{\small \textcolor{white}{\texttt{[mode=0]}}}} +\end{pspicture} +% +\begin{pspicture}(-5,-5)(5,5) +\psframe(-5,-5)(5,5) +\psSolid[mode=1]% +\rput(0,-4.5){\psframebox[fillstyle=solid,fillcolor=black]{\small\textcolor{white}{\texttt{[mode=1]}}}} +\end{pspicture} +% +\begin{pspicture}(-5,-5)(5,5) +\psframe(-5,-5)(5,5) +\psSolid[mode=2]% +\rput(0,-4.5){\psframebox[fillstyle=solid,fillcolor=black]{\textcolor{white}{\texttt{[mode=2]}}}} +\end{pspicture} +% +\begin{pspicture}(-5,-5)(5,5) +\psframe(-5,-5)(5,5) +\psSolid[mode=3]% +\rput(0,-4.5){\psframebox[fillstyle=solid,fillcolor=black]{\textcolor{white}{\texttt{[mode=3]}}}} +\end{pspicture} +% +\begin{pspicture}(-5,-5)(5,5) +\psframe(-5,-5)(5,5) +\psSolid[mode=4]% +\rput(0,-4.5){\psframebox[fillstyle=solid,fillcolor=black]{\textcolor{white}{\texttt{[mode=4]}}}} +\end{pspicture} +% +\begin{pspicture}(-5,-5)(5,5) +\psframe(-5,-5)(5,5) +\psSolid[mode=5]% +\rput(0,-4.5){\psframebox[fillstyle=solid,fillcolor=black]{\small\textcolor{white}{\texttt{[mode=5] => [mode=4] forced}}}} +\end{pspicture} +\end{center} +%\newpage + +\endinput |