Local axis system visualisation for a single physical volume?

Hello,

This is a shot in the dark but here it is…
I was wondering if it is possible to assign a “mini” local 3-axes system on a physical volume so that when we visualise our geometry the viewer will be able to see both the Global axes - via /vis/scene/add/axes - and the “local” axes of that volume.
A plausible scenario of this would be the coordinate frame of a crystal lattice which can be chosen to be different from the the Global axis system.
Does that make sense?

Thank you,
Alex

You can see axes in a single volume with
/vis/drawLogicalVolume <log-vol-name>
but no automatic way of drawing local axes in the global view - but it’s an interesting use case.

1 Like

It would be nice to be able to draw the local coordinate system for a selected PV (not LV) as part of a broader visualization.

The commands

/vis/scene/add/localAxes <phys-vol-name> [copy-no>]

and

/vis/set/touchable …
/vis/touchable/localAxes

have been merged into the development version and will be available in the next release.

3 Likes