[pstricks] can planes be fused with \pSolid surfaces? a desperate plea
Zbigniew Nitecki
zbigniew.nitecki at tufts.edu
Mon Aug 2 15:54:12 CEST 2010
Thanks, I'll try this out eventually (although looking at the code,
I am not clear on the syntactic role of "newplan" in the definition of TEST).
Juergen suggested using object type grid instead of plan, and this has worked fine
(except that I have not succeeded in getting any transparency in the fused object).
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/
On Aug 2, 2010, at 9:44, Jean-Paul Vignault wrote:
> Hi,
>
> Sorry for my late response. It seems there is a bug in solides.pro,
> and the object "plane" is not a solid type.
>
> Waiting the bug is fixed, you can try something with code jps. For
> example :
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> % !TEX TS-program = latex
> \listfiles
> \documentclass[11pt]{article}
> \usepackage{pst-solides3d}
> \begin{document}
>
> %\axesIIID(4,4,2)(5,5,6)
> \begin{pspicture}(-0.5,-3.5)(3,3.5)
> \psset{lightsrc=50 40 30, viewpoint=15 30 50 rtp2xyz,Decran=50}
> \psset{solidmemory}
> \defFunction[algebraic]{SurfFunction}(x,y){}{} { (x^2-3*y^2)/2 }
> \psSolid[object=surface,
> fillcolor=lightgray,
> incolor=green,
> ngrid=0.1 0.1,
> base=0 1.5 0 1.0,
> function=SurfFunction,
> action=none,
> name=graphsurf,
> ]
> %
> \psSolid[object=plan,
> definition=normalpoint,
> args={1.0 0.5 0.125 [-1.0 1.5 1]},
> fillcolor=red!50,
> % opacity=0.4,
> base=-0.75 0.75 -0.5 0.5,
> action=draw**,
> ngrid=0.2 0.2,
> showbase,
> name=tanplane,
> ]
> \codejps {
> /TEST tanplane newplan def %% now, TEST is from solid type
> }
> \psSolid[object=fusion,
> base={graphsurf TEST},
> action=draw**]
> \end{pspicture}
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> Hope this help,
>
> Jean-Paul
>
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100802/d93824dd/attachment.html>
More information about the PSTricks
mailing list