Clip can be used to move the hither (front) or yon (back) global clipping plane a specified distance from its current position (default), or to a target location that is distance away from the center of rotation (with fromCenter true). The distance is in physical units of length, usually Å; positive values are toward the user, negative values away from the user. The back plane is automatically pushed slightly behind the front plane (0.01 distance units) if the specified movement would have reversed their positions.
The frames option specifies a number of image update frames (default 1). For frames > 1:
~Clip halts an ongoing clip plane motion. 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.
A second use of clip is to turn global clipping on and off. Turning it on does not restore previous clipping plane positions.