[Gate-users] getting Gate to draw daughters

Andrej Studen Andrej.Studen at ijs.si
Fri May 15 11:56:09 CEST 2015


Hello!

I had a hard time reproducing the nice images in the Gate Users Guide 
V7.1: Getting started section. The problem was that while I was adding 
daughters, the display didn't change, and issuing /vis/viewer/refresh 
and /vis/drawVolume didn't do the trick. I was able to add axes, scales, 
texts, change color of the world volume etc., but the daughters remained 
invisible.

Finally I went to visualization wiki, where things are explained much 
better. For example, the visualization drivers fall into immediate and 
stored category, and mine was of the latter variety. To have the 
visualization driver aware of the changes to geometry,

/gate/geometry/rebuild

must be issued for each modification of the volume, be it a change in 
the shape parameters (e.g. setXLength) or addition of a new daughter volume.

I suggest the (very apt) manual writers to add this step to help newbies 
to step more confidently into Gate.

Cheers

Andrej


More information about the Gate-users mailing list