[pstricks] space curve with pst-solides3D
mathias legrand
legrand.mathias at gmail.com
Sun Aug 8 19:07:05 CEST 2010
Hi all,
would it be possible to import an external set of 3D data within
pst-solides3d similar to what follows:
\savedata{\data}[{
{1,1,1},{2,2,2},{3,3,3}....
}]
\begin{pspicture}(-6,-3)(6,8)
\psframe*[linecolor=blue!50](-6,-3)(6,8)
\psSolid[object=grille,base=-4 4 -4
4,linecolor=red,linewidth=0.5\pslinewidth]%
\axesIIID(0,0,0)(4,4,7)
%\defFunction[algebraic]{helice}(t){3*cos(4*t)}{3*sin(4*t)}{t}
\psSolid[object=courbe,r=0,range=0
6,linecolor=blue,linewidth=0.1,resolution=360,function=\data]%
\end{pspicture}
That would be replacing the \defFunction by external 3D curve data.
Thank you,
M.
More information about the PSTricks
mailing list