<div dir="auto">Can any one help me for this</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 7 Nov, 2020, 3:54 pm viraj sawant, <<a href="mailto:virajsawant121@gmail.com">virajsawant121@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<br><div><div><span><span>#</span></span></div><div><br><span><span></span></span></div><span><span>#     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><br></span></span>

</div></div>
</blockquote></div>