[pstricks] Error pst-solides3D

Ulysses Coelho de Souza ulysses.csjr at hotmail.com
Mon Sep 6 20:35:27 CEST 2010


Hi,

I'm getting an error and i didn't find any help in LaTeX Companion, neither in pst-solides3d manual:

\documentclass{article}
\usepackage[portuges]{babel}
\usepackage[latin1]{inputenc}
\usepackage{amsmath,enumerate,amsfonts}
\usepackage{calc,xcolor,boxedminipage,colortbl}
\usepackage{pstricks,pst-text,pst-node,pst-math,pst-plot,pst-blur,pst-eucl,pst-xkey}
\usepackage{pst-solides3d}
\usepackage{pstricks-add}

\begin{document}

\begin{pspicture}(-7,-2)(7,4)
\psset{lightsrc=80 30 30}
\psset{viewpoint=100 60 20 rtp2xyz,Decran=100}
\psframe(-7,-2)(7,4)
\psset{solidmemory}
\codejps{/a 2 def /b 2 def}%
\defFunction[algebraic]{F3}(t)
{a*(1+cos(t))}
{b*tan(t/2)}
{a*sin(t)}
\defFunction[algebraic]{F3’}(t)
{-a*sin(t)}
{b*(1+tan(1/2*t)^2)}
{a*cos(t)}
\psSolid[object=courbe,
range=-2.7468 2.7468,
ngrid=72 12,
function=F3,hue=0 1 0.7 1,
action=none,name=H1,
r=1]%
\psSolid[object=cylindrecreux,
h=20,r=1,RotX=90,
incolor=green!30,action=none,
name=C1,
ngrid=36 36](2,10,0)
\psSolid[object=fusion,
base=H1 C1]
\composeSolid
\end{pspicture}
\end{document} 



Here is the error message:

\GenericError ...
#4 \errhelp \@err@ ...
1.25 {a*cos(t)}

At the page 90 in the manual of pst-solides3D i can find the warning:
Windows: Within the menu Options, the option Security of files must be turned to unchecked. 
I don't have a clue where i can setup that in Windows... And maybe this is the cause of the error... I'm totally lost. 

Code is at page 89 of manual of the package pst-solides3d (V. 4.20)
I'm running under Windows 7/WinEdt.

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100906/70adcc35/attachment.html>


More information about the PSTricks mailing list