[pstricks] hidden lines in pst-solides3d

Zbigniew Nitecki zbigniew.nitecki at tufts.edu
Sun Jan 11 18:29:57 CET 2009


Thank you for the suggestion.  Unfortunately, when I copied the given  
code to a test file and ran it, there were no error messages, but the  
execution crashed.  I attach the .tex file and the log file.
Could the problem be connected with the warning
	Error: /undefined in Band
?



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 Jan 11, 2009, at 10:10, Jean-Paul Vignault wrote:

> \begin{pspicture}(-6,-3)(6,3)
>
> \defFunction{mobius}(u,v)
> {2 u v Cos mul add 2 v mul Cos mul}
> {2 u v Cos mul add 2 v mul Sin mul}
> {u v Sin mul}
>
> \defFunction{centercircle}(t)
> {2 t mul Cos 2 mul}
> {2 t mul Sin 2 mul}
> {0}
>
> \psset[pst-solides3d]{viewpoint=20 10 15,Decran=40,lightsrc=10 20 10}
> \psSolid[object=courbe,
> range= 0 pi,
> linewidth=1.5\pslinewidth,
> linecolor=blue,
> function=centercircle,
> ngrid=1,r=0]
>
> \psSolid[object=surfaceparametree, linewidth=0.5\pslinewidth,
> base=-0.4 0.4 0 pi, fillcolor=lightgray!30, incolor=white,
> function=mobius,
> name=Band,
> ngrid=.05]
>
> \codejps{
> %.8 setgray %% linecolor
> Band
> -0.35 0.35 3.5 {
>    /rv exch def
>       rv Sin rv 2 mul Cos mul neg
>       rv Sin rv 2 mul Sin mul neg
>       rv Cos
>       newvecteur
>       {rv 2 mul Cos 2 mul
>        rv 2 mul Sin 2 mul
>        0
>        addv3d
>       } solidtransform
>       dup (.8 setgray) solidputcolors
>       solidfuz
> } for
> draw**
> }
> \end{pspicture}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20090111/c52ad9ad/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pst-solides3dTest.tex
Type: application/octet-stream
Size: 2498 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20090111/c52ad9ad/attachment-0002.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20090111/c52ad9ad/attachment-0004.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pst-solides3dTest.log
Type: application/octet-stream
Size: 11550 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20090111/c52ad9ad/attachment-0003.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20090111/c52ad9ad/attachment-0005.html 


More information about the PSTricks mailing list