<div dir="ltr">Thanks, I'll check it out. <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 10, 2020 at 3:00 AM Francisco Enríquez <<a href="mailto:frank.enrqz@gmail.com">frank.enrqz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-AU">
<div class="gmail-m_3600555421314531225WordSection1">
<p class="MsoNormal"><span style="font-size:12pt">Hi Viraj,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12pt">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>?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12pt">Additionally, nothing is going to be displayed in GATE until you initialise your simulation - /<b><i>gate/run/initialize
<u></u><u></u></i></b></span></p>
<p class="MsoNormal"><span style="font-size:12pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12pt">I hope these basic steps could help you.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12pt">Cheers,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12pt">Francisco
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12pt"><u></u> <u></u></span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>> on behalf of viraj sawant <<a href="mailto:virajsawant121@gmail.com" target="_blank">virajsawant121@gmail.com</a>><br>
<b>Date: </b>Tuesday, 10 November 2020 at 2:03 am<br>
<b>To: </b>"<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>" <<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>><br>
<b>Subject: </b>Re: [Gate-users] Need visualization of the geometry<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Can any one help me for this<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Sat, 7 Nov, 2020, 3:54 pm viraj sawant, <<a href="mailto:virajsawant121@gmail.com" target="_blank">virajsawant121@gmail.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;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.<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">#<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12pt">#     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>
<u></u><u></u></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>

</blockquote></div>