[pstricks] fusing objects in pstsolides3d
Zbigniew Nitecki
zbigniew.nitecki at tufts.edu
Thu Jul 15 16:53:07 CEST 2010
The following code, which is essentially copied from the documentation (EN) for pst-solides3d, page
> % !TEX TS-program = latex
> \documentclass[11pt]{article}
> %\usepackage{pstricks, pst-plot, pst-math, pst-3dplot}
> %\usepackage{pst-grad, pst-func, pst-text}
> %\usepackage{pstricks-add}
> %\usepackage{pst-3d}
> \usepackage{pst-solides3d, pst-3dplot, pst-math,pstricks-add}
> \usepackage{pst-3d}
>
> \usepackage{calculusmacros}
>
> \title{Brief Article}
> \author{The Author}
> %\date{} % Activate to display a given date or no date
>
> \begin{document}
> \maketitle
> %
> \begin{pspicture}(-5,-6.5)(3,6.5)
> \psset{solidmemory}
> \psset{unit=0.75}
> \psset{lightsrc=10 -20 50,viewpoint=50 -20 30 rtp2xyz,
> Decran=50}
> \psSolid[object=cylindre,h=6,fillcolor=blue,
> r=1.5, ngrid=4 16, action=none, name=A1, ](0,0,-4)
> \psSolid[object=anneau,h=6,fillcolor=red!50, R=4,r=3,h=1,
> action=none, name=B1, ](0,0,-1)
> \psSolid[
> object=fusion,
> action=draw**,
> base=A1,B1,
> ]
> \composeSolid
> %\pstThreeDCoor[zMax=7]
> \end{pspicture}
>
> \end{document}
returns the following error message:
> ! Package xkeyval Error: `B1' undefined in families `,pst-solides3d,pst-3d,pstr
> icks-add,pst-3dplot'.
>
> See the xkeyval package documentation for explanation.
> Type H <return> for immediate help.
> ...
>
> l.34 \end
> {pspicture}
> ?
and only the first object is printed.
What am I doing wrong?
Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155
telephones:
Office (617)627-3843
Dept. (617)627-3234
Dept. fax (617)627-3966
http://www.tufts.edu/~znitecki/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100715/59e9a8ee/attachment.html>
More information about the PSTricks
mailing list