Sim12 Batch Guide

From Nuclear Physics Group Documentation Pages
Revision as of 16:23, 23 October 2007 by Kyle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Sim 12 Batch Mode Command Guide

This is a repository of common commands.

Setting the stage:

Open new view (of [x] size)

/vis/open OGLIX x

Draw xml file loaded by Sim12

/vis/view/drawVolume

Manipulate the display of some material:

Select a material to work with. (Without the back ticks)

/hdds/vis/matName 'material you want'

Set it's color and transparency. (r(ed) g(reen) b(lue) a(lpha), values between 0 and 1.)

/hdds/vis/setColor r g b a

Set the display type of an object. (0 -invisible 1 -wireframe 2 -surface)

/hdds/vis/setStyle x

Update the viewer with your changes.

/hdds/vis/updateVis


View Manipulation:

Zoom (by a factor [x]) /vis/viewer/zoom x

Rotate (In theta [x] and phi [y]) /vis/viewer/set/viewpointThetaPhi x y

Relative Pan (Pan by [x] and [y]) /vis/viewer/pan x y

Absolute Pan (Pan to [x] and [y]) /vis/viewer/panTo x y

Refresh View /vis/viewer/refresh

Reset View /vis/viewer/reset