<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<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;}
@font-face
{font-family:"Times New Roman \(Body CS\)";
panose-1:2 11 6 4 2 2 2 2 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:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US">Hi Viraj,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US">I’m assuming that if you
<b><i>type /vis/open OGL</i></b> you don’t get any error (i.e. That you install GATE with a visualization tool). If that’s the case, have you tried adding this line:
<b><i>/vis/drawVolume</i></b>?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US">Additionally, nothing is going to be displayed in GATE until you initialise your simulation - /<b><i>gate/run/initialize
<o:p></o:p></i></b></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US">I hope these basic steps could help you.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US">Francisco
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Gate-users <gate-users-bounces@lists.opengatecollaboration.org> on behalf of viraj sawant <virajsawant121@gmail.com><br>
<b>Date: </b>Tuesday, 10 November 2020 at 2:03 am<br>
<b>To: </b>"gate-users@lists.opengatecollaboration.org" <gate-users@lists.opengatecollaboration.org><br>
<b>Subject: </b>Re: [Gate-users] Need visualization of the geometry<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Can any one help me for this<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Sat, 7 Nov, 2020, 3:54 pm viraj sawant, <<a href="mailto:virajsawant121@gmail.com">virajsawant121@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal">Dear Gate user below in the geometry which is define for PET scanner.i want to visualize it can you help how i can do that I have tried with the /vis/open OGL command but nothing is shows in the viewer kindly provide the sequence of the
commands so that i can able to visualize the above geometry in the viewer.<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">#<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"># W O R L D<br>
#<br>
/gate/geometry/setMaterialDatabase GateMaterials.db<br>
<br>
<br>
/gate/world/geometry/setXLength 400. cm<br>
/gate/world/geometry/setYLength 400. cm<br>
/gate/world/geometry/setZLength 400. cm<br>
<br>
<br>
<br>
<br>
<br>
/gate/world/daughters/name ecat<br>
/gate/world/daughters/insert cylinder<br>
/gate/ecat/placement/setTranslation 0.0 0.0 0.0 cm<br>
/gate/ecat/geometry/setRmax 50 cm<br>
/gate/ecat/geometry/setRmin 43 cm<br>
/gate/ecat/geometry/setHeight 25 cm<br>
# TASK<br>
# CHOOSE A MATERIAL<br>
#<br>
/gate/ecat/setMaterial Air<br>
/gate/ecat/vis/forceWireframe<br>
/gate/ecat/vis/setColor red<br>
<br>
# BLOCK<br>
/gate/ecat/daughters/name blockDetector<br>
/gate/ecat/daughters/insert box<br>
/gate/blockDetector/placement/setTranslation 46 0 0 cm<br>
/gate/blockDetector/geometry/setXLength 2 cm<br>
/gate/blockDetector/geometry/setYLength 5.35 cm # 12*4mm for crystal + 11*0.5 for gaps<br>
/gate/blockDetector/geometry/setZLength 5.35 cm<br>
<br>
/gate/blockDetector/setMaterial Air<br>
/gate/ecat/vis/forceWireframe<br>
/gate/blockDetector/vis/setColor green<br>
<br>
<br>
<br>
# C R Y S T A L<br>
/gate/blockDetector/daughters/name crystalUnit<br>
/gate/blockDetector/daughters/insert box<br>
/gate/crystalUnit/placement/setTranslation 0.0 0.0 0.0 mm<br>
/gate/crystalUnit/geometry/setXLength 20. mm<br>
/gate/crystalUnit/geometry/setYLength 4. mm<br>
/gate/crystalUnit/geometry/setZLength 4. mm<br>
<br>
/gate/crystalUnit/setMaterial LSO<br>
/gate/crystalUnit/vis/setColor yellow<br>
/gate/crystalUnit/vis/setVisible 0<br>
<br>
<br>
<br>
/gate/blockDetector/repeaters/insert ring<br>
/gate/blockDetector/ring/setRepeatNumber 46<br>
<br>
/gate/blockDetector/repeaters/insert linear<br>
/gate/blockDetector/linear/setRepeatNumber 4<br>
/gate/blockDetector/linear/setRepeatVector 0.0 0.0 55 mm<br>
<br>
/gate/crystalUnit/repeaters/insert cubicArray<br>
/gate/crystalUnit/cubicArray/setRepeatNumberX 1<br>
/gate/crystalUnit/cubicArray/setRepeatNumberY 12<br>
/gate/crystalUnit/cubicArray/setRepeatNumberZ 12<br>
/gate/crystalUnit/cubicArray/setRepeatVector 0.0 4.5 4.5 mm<br>
<br>
<br>
<br>
#<br>
/gate/systems/ecat/block/attach blockDetector<br>
/gate/systems/ecat/crystal/attach crystalUnit<br>
<br>
<br>
/gate/crystalUnit/attachCrystalSD<br>
<br>
<br>
<o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>