<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body 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
 cite="mid:3f4b5a540812160509k70ff36ddk36c6efcb6db4011a@mail.gmail.com"
 type="cite">Hi all,<br>
  <br>
I was trying to automatize some drawings using the multido package and
PostScript operations (mul, add...). Let'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't multido perform the
operations?<br>
  <br>
Mikel<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
PSTricks mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PSTricks@tug.org">PSTricks@tug.org</a>
<a class="moz-txt-link-freetext" href="http://tug.org/mailman/listinfo/pstricks">http://tug.org/mailman/listinfo/pstricks</a>
  </pre>
</blockquote>
<br>
</body>
</html>