Chimera Commands Index

Usage:
rock [ axis [ angle [ frames ]]] [ models model-spec ] [ coordinateSystem N ] [ center xc,yc,zc ]

Rock wags the specified models back and forth around a specified axis (default y) for a specified number of frames (default infinity). If no models are specified, all active models will be moved.

A coordinateSystem for axis and center definition can be specified by reference model number N, optionally preceded by #. Otherwise, the laboratory frame of reference will be used.

The axis can be:

The angle (default 3) is the rate of rotation in degrees/frame at the fastest point in the sinusoidal period; a value of 9 corresponds to a maximum displacement of about 90°. A full cycle of motion (analogous to a pendulum swing in one direction and then the other) takes 68 frames, approximately 2.3 seconds at Chimera's nominal frame rate of 30/s. The angle can be positive or negative.

The center to rotate about while executing the rock command can be specified by three comma-separated values (coordinates in the reference system). Otherwise, the current Chimera center(s) of rotation will be used.

Keyword options can be used in any order and the keywords can be truncated. Example:

rock z 5 136 center 0,0,0 coord 0
Commands continue to be processed while the requested motion is in progress. To pause command processing until the motion is finished, use the wait command. To halt an ongoing rock, use freeze.

See also: roll, turn, select, cofr, set independent, movie-related commands