<html><head><meta http-equiv=Content-Type content="text/html; charset=Windows-1252"><META name="Author" content="Novell GroupWise WebAccess"></head><body style='font-family: Tahoma, sans-serif; font-size: 13px; '>Hello David,<br><br>The default position of the viewer is:<br>/vis/viewer/set/viewpointThetaPhi 0 0<br>/vis/viewer/panTo 0.0 0.0<br><br>You can get a better view of what's going on by changing these values.<br><br>As for the cone, try something like:<br>/gate/source/mybeam/gps/ang/mintheta 67.5 deg<br>/gate/source/mybeam/gps/ang/maxtheta 112.5 deg<br>/gate/source/mybeam/gps/ang/minphi 157.5 deg<br>/gate/source/mybeam/gps/ang/maxphi 202.5 deg<br><br>That should restrict your source to a 45 deg cone shape in the x direction.<br><br>Cheers,<br>Devin Van Elburg<br>-------------------------<br>Physics w/ c/ Biomedical Physics<br>Lakehead University<br><br>>>> David Mills <d.mills@qmul.ac.uk> 06/10/15 10:09 AM >>><br>Hello,<br><br>I’m still getting to grips with Gate, but I’m having trouble wrapping my head around the geometry.<br><br>I want to have a point source stuck to one wall of my mainbox, sending a cone shaped beam of gamma particles towards a thin filter. Cone angle of 45 degrees. I think what I’ve got is a beam pointing out along the +Z direction instead. Is there any interactive way to drag the volume around in the viewer to see the different planes?<br><br>This is what I have so far, any advice would be gladly received.<br><br>~~~~~~<br># World<br>/gate/world/geometry/setXLength 0.75 m<br>/gate/world/geometry/setYLength 0.75 m<br>/gate/world/geometry/setZLength 0.75 m<br>/gate/world/setMaterial Air<br><br><br># Global Box<br>/gate/world/daughters/name mainbox<br>/gate/world/daughters/insert box<br>/gate/mainbox/geometry/setXLength 0.5 m<br>/gate/mainbox/geometry/setYLength 0.5 m<br>/gate/mainbox/geometry/setZLength 0.5 m<br>/gate/mainbox/placement/setTranslation 0 0 0 cm<br>/gate/mainbox/setMaterial Air<br>/gate/mainbox/vis/setVisible 1<br>/gate/mainbox/vis/setColor blue<br><br><br><br># Filter<br>/gate/mainbox/daughters/name alu_slice<br>/gate/mainbox/daughters/insert box<br>/gate/alu_slice/geometry/setXLength 0.5 mm<br>/gate/alu_slice/geometry/setYLength 0.5 m<br>/gate/alu_slice/geometry/setZLength 0.5 m<br>/gate/alu_slice/placement/setTranslation -0.125 0 0 m<br>/gate/alu_slice/setMaterial Aluminium<br>/gate/alu_slice/vis/setVisible 1<br>/gate/alu_slice/vis/setColor red<br><br># source<br>/gate/source/addSource mybeam gps<br>/gate/source/mybeam/gps/particle gamma<br>###spectrum stuff removed for brevity<br>/gate/source/mybeam/gps/position -0.25 0 0 m<br>/gate/source/mybeam/gps/type Point<br>/gate/source/mybeam/gps/ang/type iso<br>/gate/source/mybeam/gps/ang/mintheta 89 deg<br>/gate/source/mybeam/gps/ang/maxtheta 91 deg<br>/gate/source/mybeam/gps/ang/minphi 45 deg<br>/gate/source/mybeam/gps/ang/maxphi 135 deg<br><br><br>Regards,<br>David<br><br><br>--<br>Dr. David Mills<br>Queen Mary, University of London<br>Dental Biophysics Section <br>Oral Growth and Development<br>Institute of Dentistry<br>Francis Bancroft Building <br>London E1 4NS<br>UK<br><br>020 7882 5978<br>07904 121783<br>skype : webshed<br><br>_______________________________________________<br>Gate-users mailing list<br>Gate-users@lists.opengatecollaboration.org<br>http://lists.opengatecollaboration.org/mailman/listinfo/gate-users<br></body></html>