![]() |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The Transfer
command moves and rotates the objects in the source selection to the global Position and Orientation of the destination object.
The Local parameter defines which additional transformation is applied to the atom coordinates in the
local coordinate system:
If an object is transferred into the simulation cell
(and 'Local' is not 'Keep'), it will receive a CRYST1 record and a transformation history that describe the cell and the object's placement inside the cell. This allows to save the simulation cell in the PDB file,
disguised as the crystallographic unit cell: # This example assumes that the scene contains a simulation cell # and that object 1 is placed inside. # # Transfer the object into the cell coordinate system, without actually # moving the atoms on screen, and add a CRYST1 record to object 1 TransferObj 1,SimCell,Local=Fix # Save object 1 as a PDB file, including the new CRYST1 record SavePDB 1,ProteinWithCell,Transform=Yes The Transfer
command is mainly used to solve the problem that rotating and moving an object changes its coordinates in the
global coordinate system. If you then load a second object,
it will appear at a different spot, requiring a transfer
to fall on top of the first object. Example 1:TransferObj 3,5 Move object 3 on top of object 5, so that they share the same coordinate system.
Example 2:TransferAll 1crn Move all objects on top of object 1crn. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||