Thank you Marc,<br><br>This will explain my problem since I'm not using any movement but want to simulate my geometry which requires the cylinder-shaped source facing the X-axis.<br><br>So, this means that we still need to use these posrot to setup the source with complex shape...<br>
<br>Taku<br><br><div class="gmail_quote">2013/1/15 Marc Chamberland <span dir="ltr"><<a href="mailto:MarcChamberland@cmail.carleton.ca" target="_blank">MarcChamberland@cmail.carleton.ca</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Hi Taku,
<div><br>
</div>
<div>Can you post your relevant macros?</div>
<div><br>
</div>
<div>My guess right now, though I have not tested it, is that the attachTo command is only for actual movement of the source (i.e. commands under VOLUME_NAME/moves/). Commands that are under VOLUME_NAME/placement/ are probably ignored. This would explain why
you still need to use posrot, since it is a positioning command and not a movement command.</div>
<div><br>
</div>
<div>
<div><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<div>Marc</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>__________________________</div>
<div><br>
</div>
<div>Marc Chamberland, MSc</div>
PhD candidate<br>
Department of Physics<br>
Carleton University<br>
Ottawa (ON)</div>
</span></div>
<br>
<div>
<div>On 2013-01-15, at 2:16 AM, 山中 琢</div>
<div> <<a href="mailto:takuyama@med.hokudai.ac.jp" target="_blank">takuyama@med.hokudai.ac.jp</a>></div>
<div> wrote:</div>
<br>
<blockquote type="cite"><div><div class="h5">Hello GATE users,<br>
<br>
I've been working on the rotation of the source.<br>
I checked through the mailing list and found it should work with "attachTo" command.<br>
I tried it with a simple geometry, but never succeeded. Always only the phantom rotates and not the source.<br>
<br>
The old method using posrot1 and posrot2 worked but the theory behind it is still kinda confusing.<br>
<br>
My GATE is ver6.2, is there anyone who did rotate the source with "attachTo" command?<br clear="all">
<br>
Thanks.<br>
<br>
-- <br>
Hokkaido University, Graduate school of medicine, medical physics and engineering D1<br>
Taku Yamanaka<br>
<br>
<a href="mailto:takuyama@med.hokudai.ac.jp" target="_blank">takuyama@med.hokudai.ac.jp</a><br></div></div>
-- _______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote>
</div>
<br>
</div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Hokkaido University, Graduate school of medicine, medical physics and engineering D1<br>北海道大学 大学院 医学研瘢雹究科 医学物理工学分野 D1<br>Taku Yamanaka<br>山中 琢<br><br><a href="mailto:takuyama@med.hokudai.ac.jp" target="_blank">takuyama@med.hokudai.ac.jp</a><br>
--