<div dir="ltr">Hello Debora, <div><br></div><div>exact, source attached to volume do not work with repeated copies. This is something that should/could be implemented. If you intend to do so, be careful to be very clear to the purpose of such a feature. </div><div><br></div><div>repeater do not work either on source. </div><div><br></div><div>Regarding your application, it could also be more direct/specific to implement a new source type.</div><div><br></div><div>Sincerely, </div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 31, 2015 at 3:11 PM, Débora Salvado <span dir="ltr"><<a href="mailto:debbiesal@gmail.com" target="_blank">debbiesal@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Dear GATE users,<br><br></div>Does anyone know how to attach a source to a volume which was previously defined as linear and ring repeater?<br><br></div><div>I have my volume:<br>/gate/bore/daughters/name luoxy<br>/gate/bore/daughters/insert box<br>/gate/luoxy/geometry/setXLength 32.0 mm<br>/gate/luoxy/geometry/setYLength 20.0 mm<br>/gate/luoxy/geometry/setZLength 32.0 mm<br>/gate/luoxy/setMaterial Air<br>/gate/luoxy/placement/setTranslation 0. 315. 0.0 mm<br>/gate/luoxy/repeaters/insert linear <br>/gate/luoxy/linear/setRepeatNumber 8 <br>/gate/luoxy/linear/setRepeatVector 0. 0. 32. mm<br>/gate/luoxy/repeaters/insert ring<br>/gate/luoxy/ring/setRepeatNumber 5<br>/gate/luoxy/ring/setFirstAngle -12.8 deg<br>/gate/luoxy/ring/setAngularSpan 25.6 deg<br><br></div>I tried to just attach the source to the defined volume:<br>/gate/source/luoxysrc1/attachTo luoxy<br>but when I look at the wrl file, there's only photons coming from one volume, not all the repeated copies...<br><br></div>I also tried to define the repeater in the source, as if it was a normal volume:<br>/gate/source/luoxysrc1/gps/repeaters/insert linear<br>but it gives me an error (doesn't recognize the command)<br><br></div>Any ideas?<br><br></div>Regards,<br clear="all"><div><div><div><div><div><div><div><div><div dir="ltr"><div><div dir="ltr"><div><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"></span><span style="color:rgb(7,55,99)"><span style="font-family:tahoma,sans-serif"></span><span style="font-family:tahoma,sans-serif">Debora Salvado, MSc</span></span><br><div><span style="color:rgb(7,55,99)"><span style="font-family:tahoma,sans-serif">PhD Student<br></span></span></div><span style="color:rgb(7,55,99)"><span style="font-family:tahoma,sans-serif">University College London<br>INM, UCLH, </span></span><span style="color:rgb(7,55,99)"><span style="font-family:tahoma,sans-serif"><span><span style="color:rgb(7,55,99)"><span style="font-family:tahoma,sans-serif"> (T-5) </span></span></span>235 Euston Road<br></span></span><span style="color:rgb(7,55,99)"><span style="font-family:tahoma,sans-serif">London NW1 2BU<br></span></span><span style="color:rgb(7,55,99)"><span style="font-family:tahoma,sans-serif">UK</span></span><span style="color:rgb(12,52,61)"><span style="font-family:tahoma,sans-serif"></span></span><br></div></div></div></div></div></div>
</div></div></div></div></div></div></div>
<br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">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><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">David Sarrut, Phd<br>Directeur de recherche CNRS<br>CREATIS, UMR CNRS 5220, Inserm U 1044<div>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>Tel : 04 78 78 51 51 / 06 74 72 05 42<br><a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.fr/~dsarrut</a><br>_________________________________</div><div> "2 + 2 = 5, for extremely large values of 2"<br>_________________________________</div></div></div>
</div>