[Gate-users] Viewing Geometry in Gate
P. T.
ptpphysics at gmail.com
Sun Aug 12 11:35:11 CEST 2012
Dear All
When I ran following simple macro file:
/gate/geometry/setMaterialDatabase GateMaterials.db
/vis/open OGLSX
/vis/viewer/reset
/vis/viewer/set/viewpointThetaPhi 45 45
/vis/viewer/zoom 1
/vis/viewer/set/style surface
/vis/drawVolume
/tracking/storeTrajectory 1
/vis/scene/endOfEventAction accumulate 100000
/vis/viewer/update
# W O R L D
/gate/world/geometry/setXLength 40. cm
/gate/world/geometry/setYLength 40. cm
/gate/world/geometry/setZLength 40. cm
# S Y S T E M
/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
World geometry only is shown in OpenGL.
Totally, I couldn't view my custom geometry.
Pls. Help Me
Thanks
Best regards
Pat
More information about the Gate-users
mailing list