summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples/36-00-94.ltx
blob: f8cdca8eb81c3581900d29222a10baa36c010416 (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
33
34
%% 
%%  Ein Beispiel der DANTE-Edition
%% 
%% 
%%  Copyright (C) 2010 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\setlength\parindent{0pt}
\StartShownPreambleCommands
\usepackage{pstricks,pst-solides3d}
\StopShownPreambleCommands
\begin{document}
\begin{pspicture}(-1.5,-2)(2,3)
 \psset{lightsrc=10 20 30,viewpoint=50 20 30 rtp2xyz}
 \psset{Decran=30}
\psSolid[object=parallelepiped,a=5,b=6,c=2,fillcolor=blue!30!white!50,axe=1 1 1](0,0,c 2 div)
\psSolid[object=grille,base=-2.5 2.5 -3 3,action=draw](0,0,2)
\psSolid[object=grille,base=-1 1 -3 3,RotY=90,action=draw](2.5,0,1)
\psSolid[object=grille,base=-2.5 2.5 -1 1,RotX=-90,action=draw](0,3,1)
 \axesIIID(2.5,3,2)(3.5,4,4)
 \end{pspicture}
\end{document}