[pstricks] [pst-solides3D] plan is not drawn
Maxime Chupin
mc at melusine.eu.org
Mon May 7 17:21:39 CEST 2018
Hi,
I do not understand why the plan in the following code is not drawn. Any
help?
Thanks.
All the best,
Maxime
\documentclass{article}
\usepackage{pst-solides3d}
\begin{document}
\pagestyle{empty}
\psset{viewpoint=10 215 30 rtp2xyz,lightsrc=viewpoint,Decran=50}
\begin{pspicture}[solidmemory](-2,-2)(3,3)
\psSolid[object=new, fillcolor=red!20,
sommets=
-0.8 -0.2 0 0.8 -0.2 0 0 1 0 0 0.5 0.8,
faces={
[0 1 2] [1 2 3] [0 1 3] [0 3 2]},
% num=all,
action=none,name=tetra,
plansepare={[1 0 0 0]}]
\psSolid[object=load,load=tetra0,fillcolor=red!20,action=draw**](0,0,0)
\psSolid[object=plan,
definition=equation,
name=monplan,
opacity= 0.7,
fillcolor=blue!20,
args={[1 0 0 0]},
base=-1 1 -1 1,
planmarks,
showBase,
action=draw**
]
\psSolid[object=load,load=tetra1,fillcolor=red!20,action=draw**](0,0,0)
\end{pspicture}
\end{document}
--
Maxime Chupin
Site personnel : http://fougeriens.org/~mc/
Site professionnel : https://www.ceremade.dauphine.fr/~chupin/
<http://www.ceremade.dauphine.fr/~chupin/>
<http://mc.notezik.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20180507/0bd7a6db/attachment.html>
More information about the PSTricks
mailing list