Thanks so much, that&#39;s what I was looking for. So easy in fact :) Thanks,<br><br>Mikel<br><br><div class="gmail_quote">2008/12/16 Marc GRILLET <span dir="ltr">&lt;<a href="mailto:marc.grillet@neuf.fr">marc.grillet@neuf.fr</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


  
  

<div bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
&nbsp;&nbsp;&nbsp; \pstThreeDLine(0,0,0)(\rA<font color="#000099"><b>\space</b></font>
cos,\rA<font color="#000099"><b>\space</b></font> sin,1)}<br>
<br>
&nbsp;should work ;)<br>
Bye<br>
<blockquote type="cite"><div><div></div><div class="Wj3C7c">Hi all,<br>
  <br>
I was trying to automatize some drawings using the multido package and
PostScript operations (mul, add...). Let&#39;s suppose I want to draw a 3D
vector rotating around the z-axis. The following works fine:<br>
  <br>
\documentclass[a4paper,10pt]{article}<br>
  <br>
\usepackage{pstricks}<br>
\usepackage{pst-3dplot}<br>
  <br>
\begin{document}<br>
\begin{pspicture}(-4,-4)(4,4)<br>
\psset{Alpha=60,Beta=10}<br>
\pstThreeDCoor<br>
\pstThreeDLine(0,0,0)(0 cos,0 sin,1)<br>
\pstThreeDLine(0,0,0)(45 cos,45 sin,1)<br>
\pstThreeDLine(0,0,0)(90 cos,90 sin,1)<br>
\pstThreeDLine(0,0,0)(135 cos,135 sin,1)<br>
\pstThreeDLine(0,0,0)(180 cos,180 sin,1)<br>
\pstThreeDLine(0,0,0)(225 cos,225 sin,1)<br>
\pstThreeDLine(0,0,0)(270 cos,270 sin,1)<br>
\pstThreeDLine(0,0,0)(315 cos,315 sin,1)<br>
\end{pspicture}<br>
\end{document}<br>
  <br>
But when trying to use multido, the sine and cosine commands seem to
not work, nothing appears on the output (except the axes):<br>
  <br>
\documentclass[a4paper,10pt]{article}<br>
  <br>
\usepackage{pstricks}<br>
\usepackage{pst-3dplot}<br>
\usepackage{multido}<br>
  <br>
\begin{document}<br>
\begin{pspicture}(-4,-4)(4,4)<br>
\psset{Alpha=60,Beta=10}<br>
\pstThreeDCoor<br>
\multido{\rA=0.00+45.00}{8}{%<br>
&nbsp;&nbsp;&nbsp; \pstThreeDLine(0,0,0)(\rA cos,\rA sin,1)}<br>
\end{pspicture}<br>
\end{document}<br>
  <br>
Is there any way to get this working? Why doesn&#39;t multido perform the
operations?<br>
  <br>
Mikel<br>
  </div></div><pre><hr size="4" width="90%">
_______________________________________________
PSTricks mailing list
<a href="mailto:PSTricks@tug.org" target="_blank">PSTricks@tug.org</a>
<a href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/listinfo/pstricks</a>
  </pre>
</blockquote>
<br>
</div>

<br>_______________________________________________<br>
PSTricks mailing list<br>
<a href="mailto:PSTricks@tug.org">PSTricks@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/listinfo/pstricks</a><br>
<br></blockquote></div><br>