PREABS : Interactive crystal shape manipulation

diff [a] diffractometer description
orient [a] crystal orientation
orface [b] microscope orientation
facept [b] face described by three points
face [b] face described by χ, φ, and distance
faceom [b] face described by χ, \(\phi \), \(\omega \) and distance
faceml [b] face described by Miller indices and distance

[a] diff and orient are mandatory.

[b] Only one of the methods orface - facept, face or faceml may be used to specify the faces of the crystal.

PREABS Option Code Arg   Def
  double buffered graphics [a] dbuf      
  precision scale factor [b] pscal q scale distance  

[a] On some screens and for large window sizes, coppying the back buffer to the visible window adds a significant time lag which detracts from general performance. On other displays, particularly linux PCs this option can help quite a bit.

[b] This option is used to avoid rounding errors for small crystals.

diff [a] 1 sense of rotation of the2 \(  \theta \) circle c clockwise  
      a anti-clockwise  
  2 sense of rotation of the \(  \chi \) circle c clockwise  
      a anti-clockwise  
  3 sense of rotation of the \(  \phi \) circle c clockwise  
      a anti-clockwise  
  4 sense of rotation of the \(  \omega \) circle c clockwise  
      a anti-clockwise  
  5 sense of rotation of the \(  \psi \) circle c clockwise  
      a anti-clockwise  
  6 value of \(\phi \) at \(\chi \) = 90 degrees     0
  7 minimum possible \(\omega \) (-180 < \(\omega \) < 180)     -48
  8 maximum possible \(\omega \) (-180 < \(\omega \) < 180)     58

[a] See the Diffractometer Description in the ABSORB for the method to be used in determining the sense of rotation for each diffractometer circle.

orient 1-3 hkl indices of first orienting reflection  
  4 angle χ of first orienting reflection [a]  
  5 angle φ of first orienting reflection  
  6-8 hkl indices of second orienting reflection  
  9 angle χ of second orienting reflection  
  10 angle φ of second orienting reflection  

[a] Angles in the bisecting mode. (For CAD see Ch. II of the CAD User's Manual.)

orface [a] 1-3 x, y, z coordinates of first point on orienting face  
  4-6 x, y, z coordinates of second point on orienting face  
  7-9 x, y, z coordinates of third point on orienting face  

[a] If the orface - facept method is used for entering face data, two orface lines must be used. The first contains the coordinates of three points on a plane parallel to the first orienting reflection given on the orient line. The second orface line contains the coordinates of three points on a plane parallel to the second orienting reflection given on the orient line.

facept 1-3 x, y, z coordinates of first point on bounding face  
  4-6 x, y, z coordinates of second point on bounding face  
  7-9 x, y, z coordinates of third point on bounding face  

face 1 \(\chi \) for bounding face (angles in the bisecting mode)  
  2 \(\phi \) for bounding face  
  3 distance to origin from bounding face in mm  

faceom 1 \(\chi \) for bounding face (angles in the bisectingmode)  
  2 \(\phi \) for bounding face  
  3 \(\omega \) for bounding face  
  4 distance to origin from bounding face in mm  

faceml 1-3 h, k, l indices of bounding face  
  4 distance to origin from bounding face in mm