MGED CMD savekey

From BRL-CAD

savekey[edit]

Syntax[edit]

savekey file [time]


Argument(s)[edit]

file
Target file.
time
Optional.


Return Value(s)[edit]

No Return Values for this command.


Description[edit]

The "savekey" command 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.


Example(s)[edit]

mged> savekey key_file 5
Append the current viewing parameters to key_file and tag this as the key frame at 5 seconds.


See Also[edit]

rmats

Page Generated by David Loman on: 10/12/2007 at: 7:20:22 AM