<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Sonoko,<br><br>What if you do not attach your source? Perusing the Gate documentation it seems after attachment, the position of the source is meant to be controlled by the volume it is attached to. See http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Source#Attach_to_a_volume<br><br>Cheers,<br>Brent<br><br><div>> Date: Fri, 24 Apr 2015 12:57:54 -0700 (PDT)<br>> From: Sonoko Nakano <snakano@sfu.ca><br>> To: gate-users@lists.opengatecollaboration.org<br>> Subject: [Gate-users] Rotate the source position<br>> Message-ID: <1027949591.24121671.1429905474240.JavaMail.zimbra@sfu.ca><br>> Content-Type: text/plain; charset=utf-8<br>> <br>> Hi Gate users,<br>> <br>> I am using Gate v6.2. <br>> I want to place a line source along *the x-axis*. (By default, a line source is placed along the z-axis.)<br>> Could someone help me how to do it?<br>> <br>> <br>> I am a bit confused, because a year ago when I rotated the phantom (a line) to place it along the x-axis, <br>> <br>> /gate/Phantom1/placement/setRotationAxis 0 1 0 <br>> /gate/Phantom1/placement/setRotationAngle 90 deg<br>> <br>> and attached the source to Phantom1, <br>> <br>> /gate/source/SourceConfinement/attachTo Phantom1<br>> <br>> then I could see the trajectories coming from the line source which was along the x-axis.<br>> <br>> But now when I run the same code, the trajectories are coming from the line which is along the z-axis. (default line source position)<br>> I know that there is a limitation to view the source which is rotated, But is it the same for the trajectories?<br>> <br>> Best regards,<br>> <br>> Sonoko<br>> <br>> <br>> ------------------------------<br>> <br>> _______________________________________________<br>> Gate-users mailing list<br>> Gate-users@lists.opengatecollaboration.org<br>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users<br>> <br>> End of Gate-users Digest, Vol 107, Issue 41<br>> *******************************************<br></div> </div></body>
</html>