// Keyframe Calculator Sample Script
// Execute the script using command
// READ_SCRIPT_FILE
// Comments may be included in the file by beginning
// the line with the // characters as shown...

REM You can also begin comment lines with REM like this one.

// The ECHO statement brings up a message dialog box inside 
// the calculator and displays the text you enter
ECHO Beginning to process file...

// This will move Hedra01 to Absolute World coordinate -72',0,0
ABS-POSITION;  0; Hedra01; -72',0,0;

// Now move Hedra01 using Relative Polar coordinates ...
REL-POSITION;  1; Hedra01;  10'<0;
REL-POSITION;  2; Hedra01;  10'<72;
REL-POSITION;  3; Hedra01;  10'<-72;
REL-POSITION;  4; Hedra01;  10'<0;
REL-POSITION;  5; Hedra01; -10'<36;
REL-POSITION;  6; Hedra01;  10'<-72;
REL-POSITION;  7; Hedra01;  10'<144;
REL-POSITION;  8; Hedra01; -10'<36;
REL-POSITION;  9; Hedra01;  10'<72;
// Close the path...
ABS-POSITION; 10; Hedra01; -72',0,0;

// Now Scale the object by 0.5 at every other frame
// Note: REL-SCALE keys are relative to the original size...
REL-SCALE;  0; Hedra01; 0.5,0.5,0.5;
REL-SCALE;  2; Hedra01; 0.5,0.5,0.5;
REL-SCALE;  4; Hedra01; 0.5,0.5,0.5;
REL-SCALE;  6; Hedra01; 0.5,0.5,0.5;
REL-SCALE;  8; Hedra01; 0.5,0.5,0.5;
REL-SCALE; 10; Hedra01; 0.5,0.5,0.5;

// And restore its original size at the other frames
// Note: REL-SCALE keys scale the _original_ size regardless of 
// the size altered by the scale key 0.5,0.5,0.5 at frame 0...
REL-SCALE;  1; Hedra01; 1.0,1.0,1.0;
REL-SCALE;  3; Hedra01; 1.0,1.0,1.0;
REL-SCALE;  5; Hedra01; 1.0,1.0,1.0;
REL-SCALE;  7; Hedra01; 1.0,1.0,1.0;
REL-SCALE;  9; Hedra01; 1.0,1.0,1.0;

// Now create a few rotation keys
ROTATION; 3; Hedra01; 11.1,0,0;
ROTATION; 6; Hedra01; 0,22.2,0;
ROTATION; 9; Hedra01; 0,0,33.3;

