SAVEKEY
nged
BRL-CAD
BRL-CAD User Commands

# savekey

Saves the current viewing parameters in the specified file in the format expected by the `rmats` command.

        savekey

        file
        time

## DESCRIPTION

Saves the current viewing parameters in the specified file in the format expected by the `rmats` command. If a time is included, it will also be written to the specified file. If the file already exists, the information will be appended to its end. The parameters saved this way are useful as keypoints in constructing an animation. The BRL-CAD anim_keyread program will read a file constructed by using the `savekey` command with some number of different views in MGED with sequential times specified. The anim_keyread program will produce a table of keyframes suitable for use with other BRL-CAD animation tools.

## EXAMPLES

The example shows the use of the `savekey` command to save the current viewing parameters in a specified file and tag it as the key frame at a specified time.

### Save the current viewing parameters to a file.

mged>`savekey key_file 5`

Appends the current viewing parameters to key_file and tags this as the key frame at 5 seconds.

## AUTHOR

BRL-CAD Team

## BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>, or via the "cadbug.sh" script.