Added default macros
This commit is contained in:
parent
483cba0998
commit
299a56a4f6
|
@ -0,0 +1,12 @@
|
|||
|
||||
/control/execute icons.mac
|
||||
/control/execute vis.mac
|
||||
|
||||
/gui/addMenu run Run
|
||||
/gui/addButton run "beamOn 1" "/run/beamOn 1"
|
||||
/gui/addButton run "beamOn 10" "/run/beamOn 10"
|
||||
/gui/addButton run "beamOn 100" "/run/beamOn 100"
|
||||
/gui/addButton run "beamOn 1000" "/run/beamOn 1000"
|
||||
|
||||
# User defined icon :
|
||||
/gui/addIcon "Run beam on" user_icon "/run/beamOn 1" run.png
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
/gui/addIcon "Open macro file" open /control/execute
|
||||
/gui/addIcon "Save viewer state" save /vis/viewer/save
|
||||
|
||||
# Cursors style icons
|
||||
/gui/addIcon "Move" move
|
||||
/gui/addIcon "Rotate" rotate
|
||||
# Particle
|
||||
/gui/addMenu particle Particle
|
||||
/gui/addButton particle muon- "/gun/particle mu-"
|
||||
/gui/addButton particle electron- "/gun/particle e-"
|
||||
/gui/addButton particle pion- "/gun/particle pi-"
|
||||
/gui/addButton particle gamma "/gun/particle gamma"
|
||||
#
|
||||
# Energy
|
||||
/gui/addMenu energy Energy
|
||||
/gui/addButton energy 100-keV "/gun/energy 100 keV"
|
||||
/gui/addButton energy 300-keV "/gun/energy 300 keV"
|
||||
/gui/addButton energy 1-MeV "/gun/energy 1 MeV"
|
||||
/gui/addButton energy 3-MeV "/gun/energy 3 MeV"
|
||||
/gui/addButton energy 10-MeV "/gun/energy 10 MeV"
|
||||
#
|
||||
# Surface Style icons
|
||||
/gui/addIcon "Surfaces" solid
|
||||
/gui/addIcon "Wireframe" wireframe
|
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
|
@ -0,0 +1,22 @@
|
|||
/run/initialize
|
||||
|
||||
/vis/open OGL 600x600-0+0
|
||||
|
||||
/vis/drawVolume
|
||||
|
||||
/vis/geometry/set/visibility World 0 false
|
||||
|
||||
/vis/viewer/set/style surface
|
||||
/vis/viewer/set/viewpointThetaPhi 120 150
|
||||
/vis/viewer/set/autoRefresh true
|
||||
|
||||
|
||||
/vis/scene/add/trajectories smooth
|
||||
/vis/scene/endOfEventAction accumulate 1000
|
||||
/vis/scene/add/axes
|
||||
/vis/scene/add/eventID
|
||||
|
||||
/vis/scene/add/text 0 6 14 cm 18 4 4 Box
|
||||
/vis/ogl/set/displayListLimit 50000
|
||||
|
||||
/run/beamOn 10
|
Loading…
Reference in New Issue