[pstricks] hidden lines in pst-solides3d

Juergen Gilg gilg at acrotex.net
Sun Jan 11 18:35:32 CET 2009


... add

\psset[pst-solides3d]{solidmemory}

that should help.

Regards,

Juergen

Zbigniew Nitecki wrote:
> 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/ <http://www.tufts.edu/%7Eznitecki/>
>
> 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}
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>   

-- 
 Jürgen Gilg
 Austr. 59
 70376 Stuttgart
-------------------------------------
 Tel       0711.59 27 88
 e-Mail    gilg at acrotex.net
 Websites  www.acrotex.net
           www.brueckenkurs-physik.de
           www.gilligan-online.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20090111/efbb7637/attachment-0001.html 


More information about the PSTricks mailing list