[Gate-users] No figures on Viewer

Ashok Tiwari tiwarias at yahoo.com
Tue Dec 22 05:14:36 CET 2020


 Hi Simone, 
You just need to add /gate/geometry/rebuild command at the end of your macro lines and re-run the GATE then you should see the wireframe of a cylinder. This command will update the geometry then updated geometry will appear on the screen.
Best,Ashok    On Monday, 21 December 2020, 08:30:21 pm GMT-6, Xin Ming <simone77 at 163.com> wrote:  
 
 <!--#yiv7317705458 _filtered {} _filtered {} _filtered {} _filtered {} _filtered {}#yiv7317705458 #yiv7317705458 p.yiv7317705458MsoNormal, #yiv7317705458 li.yiv7317705458MsoNormal, #yiv7317705458 div.yiv7317705458MsoNormal {margin:0cm;margin-bottom:.0001pt;text-align:justify;text-justify:inter-ideograph;font-size:10.5pt;font-family:DengXian;}#yiv7317705458 a:link, #yiv7317705458 span.yiv7317705458MsoHyperlink {color:blue;text-decoration:underline;}#yiv7317705458 a:visited, #yiv7317705458 span.yiv7317705458MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv7317705458 .yiv7317705458MsoChpDefault {}#yiv7317705458 _filtered {}#yiv7317705458 div.yiv7317705458WordSection1 {}-->
Hi All

  

I am new to Gate. I followed up the instructions to install the Geant10.04.p02 and Gate 9.0. Example B1 is fine. All figures could be seen. But I failed to conduct a PET geometry defining on the first pages of the GATE guideline. Only the frame showed up. I could not see any system or boxes  in the viewer following the command  lines. Anyone could help get me out of this situation. I will appreciate.  

  

/vis/open OGLSX

/vis/viewer/reset

/vis/viewer/set/viewpointThetaPhi 60 60

/vis/viewer/zoom 1

/vis/viewer/set/style surface

/vis/drawVolume

/tracking/storeTrajectory 1

/vis/scene/endOfEventAction accumulate 10

/vis/viewer/update

/gate/geometry/setMaterialDatabase misc/GateMaterials.db

/gate/world/geometry/setXLength 40. cm

/gate/world/geometry/setYLength 40. cm  

/gate/world/geometry/setZLength 40. cm 

/gate/world/daughters/name cylindricalPET

/gate/world/daughters/insert cylinder

/gate/cylindricalPET/setMaterial Water

/gate/cylindricalPET/geometry/setRmax 100 mm

/gate/cylindricalPET/geometry/setRmin 86 mm

/gate/cylindricalPET/geometry/setHeight 18 mm

/gate/cylindricalPET/vis/forceWireframe

#/vis/viewer/zoom 3

  

  

  

  

  

Simone

  

Best and happy holidays.

  

  
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20201222/b885ee43/attachment.html>


More information about the Gate-users mailing list