Model View
|
matr |
[1,2,3 or abc] or [abc a1b1c1] or [x11 x12 x13 y11 y12 y13 z11 z12 z13] |
Orients the model along a (1 or 100), b (2 or 010), c (3 or 001) or any other crystallographic direction, like 123, which sets current normal along (1*a+2*b+3*c) vector. Two crystallographic directions (from and to) may be specified align current view normal along the (to-from) vector. Also a full Cartesian matrix can be specified. If the directions are signed or consist of multiple digits all components should be of the same length like in 120101 or -1+1+1 (same as -10101). If no arguments given, prints current Cartesian orientation matrix. Examples:
|
|
rota |
[axis angle] or [x y z angle increment] |
Changes current view by rotating around given axis (x, y or z) when two arguments are provided and makes a continuous rotation around give axis when 5 arguments are provided. Note that X axis is aligned horizontally, Y - vertically and Z is out of the screen plane. Examples:
|
|
direction |
|
The command prints current normal in crystallographic coordinates and tries to match it to a crystallographic direction. |
|
mpln |
[atoms]] [-n] [-r] |
Finds the best plane through the current selection or given atoms, or out of all visible atoms if none are given.
|
|
Changing scale/zoom |
|
To get current value of the scene zoom use:
To set current zoom to a certain value use:
this can be used to put different structures to the same scale. Note that the value 1 corresponds to the scale when the smallest dimension of the screen view is 1 A
|
The model can be rotated using by moving the mouse pointer while holding the left mouse button down (also Shift+arrow keys); rotated around Z by pressing the Ctrl key down while rotating; zoomed using the right mouse button (also Shift+Home/End or Alt key+left mouse button); shifted in the viewing plane by pressing Ctrl+Shift and holding the right mouse button down. The default mouse behaviour can be overridden in some modes (look at mode split) also some objects, like cell basis or text boxes can override some mouse operations (like zooming on the cell basis) or extend it (moving the basis while holding Shift key down).
