<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I don't understand the Vector[] usage..<br>
<br>
With this :<br>
<br>
For k In {1:nbMagnets}<br>
br[ Rotor_Magnet~{k} ] = b_remanent * Vector[
Cos[Atan2[Y[],X[]]], Sin[Atan2[Y[],X[]]], 0 ];<br>
EndFor<br>
<br>
I have a b field (not the wanted one) :<br>
<img src="cid:part1.00000203.04040806@kst.be" alt=""><br>
<br>
<br>
With this :<br>
<br>
For k In {1:nbMagnets}<br>
br[ Rotor_Magnet~{k} ] = b_remanent * Vector[
Cos[Atan2[Y[],X[]]+Pi/4], Sin[Atan2[Y[],X[]]+Pi/4], 0 ];<br>
EndFor<br>
<br>
I have nothing :<br>
<br>
<img src="cid:part2.00040407.00020003@kst.be" alt=""><br>
<br>
Why ?<br>
</div>
<br>
Joseph<br>
<br>
<div class="moz-signature">-- <br>
<br>
Joseph Frippiat<br>
Senior Developer - UPS Division<br>
<br>
<b>KST S.A.</b> - Site of Battice<br>
Cour Lemaire, 16<br>
B-4651 BATTICE<br>
BELGIUM<br>
Tel : +.32.4.247.01.67<br>
Fax : +.32.87.31.42.21<br>
E-mail : <a class="moz-txt-link-abbreviated" href="mailto:frippiat.j@kst.be">frippiat.j@kst.be</a><br>
Web : <a class="moz-txt-link-abbreviated" href="http://www.kst-ups.com">www.kst-ups.com</a><br>
<br>
<font size="1">Head office : Cour Lemaire, 16 - 4651 Battice
(Belgium)<br>
RPM Liège (Belgium) : 0423.472.603</font><br>
</div>
</body>
</html>