summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_en/22-06-65.ltx
blob: 9241a45d364a3ba6297f3b462a3ac4b6025579b0 (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
35
36
37
38
39
40
41
42
43
%% 
%%  A DANTE-Edition example
%% 
%% 
%%  Copyright (C) 2011 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[]{article}
\pagestyle{empty}
\setlength\textwidth{177.70511pt}
\setlength\parindent{0pt}

\usepackage{pst-solides3d}

\begin{document}
\begin{pspicture}(-3,-4)(4,5)
\psset{unit=0.5,fontsize=150,Decran=50,
  viewpoint=50 20 30 rtp2xyz,solidmemory}
\psSolid[object=cube,a=8,action=draw,name=A]
\psSolid[object=plan,action=none,
  definition=solidface,args=A 0,name=P0]
\psProjection[object=texte,text=0,
  plan=P0,linecolor=cyan]
\psSolid[object=plan,action=none,
  definition=solidface,args=A 1,name=P1]
\psProjection[object=texte,text=1,
  plan=P1,phi=180,linecolor=cyan]
\psSolid[object=plan,action=none,
  definition=solidface,args=A 4,name=P4]
\psProjection[object=texte,text=4,
  plan=P4,phi=-90,linecolor=cyan]
\axesIIID[showOrigin=false](4,4,4)(9,6,7)
\end{pspicture}
\end{document}