<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Anders,<br>
<br>
It has worked fine for me before now. (I'm using Gate 7.0 in the
vGate environment.) These are the commands from my script:<br>
<br>
<tt># repeat teeth</tt><tt><br>
</tt><tt><br>
</tt><tt>/gate/{modelName}/repeaters/insert ring</tt><tt><br>
</tt><tt><br>
</tt><tt>/gate/{modelName}/ring/setRepeatNumber 5</tt><tt><br>
</tt><tt><br>
</tt><tt>/gate/{modelName}/ring/setPoint1 0 0 {tooth_ring_base_zpos}
mm</tt><tt><br>
</tt><tt>/gate/{modelName}/ring/setPoint2 0 1 {tooth_ring_base_zpos}
mm</tt><tt><br>
</tt><tt><br>
</tt><tt>/gate/{modelName}/ring/setFirstAngle -20 deg</tt><tt><br>
</tt><tt>/gate/{modelName}/ring/setAngularSpan 40 deg</tt><tt><br>
</tt><tt>/gate/{modelName}/ring/enableAutoRotation true</tt><br>
<br>
where {modelName} is an alias for the individual element to be
repeated and {tooth_ring_base_zpos} is an alias with the value 60.
The centre of the repeated element is at (0,0,10) mm, by the way. I
get 5 copies on a ring with its rotation axis being parallel to the
y-axis and passing through the expected z position.<br>
<br>
If it's still a problem, perhaps you could post the commands you
have used, and the version you are using.<br>
<br>
Best wishes<br>
<br>
Paul<br>
<br>
<br>
<div class="moz-cite-prefix">On 28/08/2015 14:08, Anders Garpebring
wrote:<br>
</div>
<blockquote
cite="mid:53be4a0500464055ad50720f737e82b1@UMU-EX05.ad.umu.se"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-postmall17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I try to make a ring repeater where the
vector defining the rotation is not in the origin. So the
center of rotation is offset to the origin. However the ring
of objects I get is still around [0 0 0]. Is this a bug or
feature?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best,<o:p></o:p></p>
<p class="MsoNormal">Anders<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gate-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Paul Betteridge
Adaptix Imaging
<a class="moz-txt-link-abbreviated" href="mailto:paul.betteridge@adaptiximaging.com">paul.betteridge@adaptiximaging.com</a></pre>
</body>
</html>