//javascript

Application.CommandNode("/application/ui").Command("tutorialmessage", "Animation in a (Tiny) Nutshell");
Application.CommandNode("/application/window/new_document").Command("activate", "");
Application.CommandNode("/application/document/window").Command("highlight_plugin", "PolyCube");
Application.CommandNode("/application/document/window/create_object").Command("activate", "");
Application.CommandNode("/application/document/PolyCube/properties/auto_controls/width").Command("value", "2");
Application.CommandNode("/application/document/PolyCube/properties/auto_controls/height").Command("value", "2");
Application.CommandNode("/application/document/PolyCube/properties/auto_controls/depth").Command("value", "10");
Application.CommandNode("/application/document/PolyCube/properties/close").Command("activate", "");
Application.CommandNode("/application/document/CameraViewport/viewport_window/viewport_control").Command("rbuttonclick", "none 0.510078 0.466942");
Application.CommandNode("/application/document/CameraViewport/viewport_window/viewport_control/context_filter_transform_Orientation").Command("activate", "");
Application.CommandNode("/application/document/Orientation/properties/auto_controls/y_property").Command("activate", "");
Application.CommandNode("/application/document/Orientation/properties/auto_controls/y_property/context_set_connection").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/source_object").Command("selectobject", "TimeSource");
Application.CommandNode("/application/document/connect_properties/source_property_chooser").Command("selectproperty", "time");
Application.CommandNode("/application/document/connect_properties/connect").Command("activate", "");
Application.CommandNode("/application/document/window/loopplay").Command("toggle", "");
Application.CommandNode("/application/document/connect_properties/close").Command("activate", "");
Application.CommandNode("/application/document/window").Command("highlight_plugin", "ScalarMultiply");
Application.CommandNode("/application/document/window/create_object").Command("activate", "");
Application.CommandNode("/application/document/ScalarMultiply/properties/auto_controls/input1_property").Command("activate", "");
Application.CommandNode("/application/document/ScalarMultiply/properties/auto_controls/input1_property/context_set_connection").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/source_object").Command("selectobject", "TimeSource");
Application.CommandNode("/application/document/connect_properties/source_property_chooser").Command("selectproperty", "time");
Application.CommandNode("/application/document/connect_properties/connect").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/close").Command("activate", "");
Application.CommandNode("/application/document/Orientation/properties/auto_controls/y_property").Command("activate", "");
Application.CommandNode("/application/document/Orientation/properties/auto_controls/y_property/context_set_connection").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/source_object").Command("selectobject", "ScalarMultiply");
Application.CommandNode("/application/document/connect_properties/source_property_chooser").Command("selectproperty", "output");
Application.CommandNode("/application/document/connect_properties/connect").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/close").Command("activate", "");
Application.CommandNode("/application/document/ScalarMultiply/properties/auto_controls/input2").Command("value", "2");
Application.CommandNode("/application/document/ScalarMultiply/properties/auto_controls/input2").Command("value", "5");
Application.CommandNode("/application/document/ScalarMultiply/properties/auto_controls/input2").Command("value", "10");
Application.CommandNode("/application/document/Orientation/properties/close").Command("activate", "");
Application.CommandNode("/application/document/ScalarMultiply/properties/close").Command("activate", "");
Application.CommandNode("/application/document/window").Command("highlight_plugin", "KnotCurve");
Application.CommandNode("/application/document/window/create_object").Command("activate", "");
Application.CommandNode("/application/document/window").Command("highlight_plugin", "PolyCube");
Application.CommandNode("/application/document/window/create_object").Command("activate", "");
Application.CommandNode("/application/document/PolyCube 2/properties/close").Command("activate", "");
Application.CommandNode("/application/document/KnotCurve/properties/close").Command("activate", "");
Application.CommandNode("/application/document/window").Command("highlight_plugin", "MakePath");
Application.CommandNode("/application/document/window/create_object").Command("activate", "");
Application.CommandNode("/application/document/MakePath/properties/auto_controls/input_mesh_property").Command("activate", "");
Application.CommandNode("/application/document/MakePath/properties/auto_controls/input_mesh_property/context_set_connection").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/source_object").Command("selectobject", "KnotCurve Instance");
Application.CommandNode("/application/document/connect_properties/source_property_chooser").Command("selectproperty", "output_mesh");
Application.CommandNode("/application/document/connect_properties/connect").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/close").Command("activate", "");
Application.CommandNode("/application/document/MakePath/properties/auto_controls/time_property").Command("activate", "");
Application.CommandNode("/application/document/MakePath/properties/auto_controls/time_property/context_set_connection").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/source_object").Command("selectobject", "TimeSource");
Application.CommandNode("/application/document/connect_properties/source_property_chooser").Command("selectproperty", "time");
Application.CommandNode("/application/document/connect_properties/connect").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/close").Command("activate", "");
Application.CommandNode("/application/document/window/dag").Command("show_properties", "PolyCube 2 Instance");
Application.CommandNode("/application/document/PolyCube 2 Instance/properties/auto_controls/input_matrix_property").Command("activate", "");
Application.CommandNode("/application/document/PolyCube 2 Instance/properties/auto_controls/input_matrix_property/context_set_connection").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/source_object").Command("selectobject", "MakePath");
Application.CommandNode("/application/document/connect_properties/source_property_chooser").Command("selectproperty", "output_matrix");
Application.CommandNode("/application/document/connect_properties/connect").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/connect").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/close").Command("activate", "");
Application.CommandNode("/application/document/PolyCube 2 Instance/properties/close").Command("activate", "");
Application.CommandNode("/application/document/MakePath/properties/auto_controls/end_time").Command("value", "4");
Application.CommandNode("/application/document/MakePath/properties/close").Command("activate", "");
Application.CommandNode("/application/document/window/dag").Command("show_properties", "KnotCurve Instance");
Application.CommandNode("/application/document/KnotCurve Instance/properties/auto_controls/scale_control/x").Command("value", "2");
Application.CommandNode("/application/document/KnotCurve Instance/properties/auto_controls/orientation_control/z").Command("value", "90");
Application.CommandNode("/application/document/KnotCurve Instance/properties/close").Command("activate", "");
Application.CommandNode("/application/document/window").Command("highlight_plugin", "PolyCube");
Application.CommandNode("/application/document/window").Command("highlight_plugin", "PolyGrid");
Application.CommandNode("/application/document/window/create_object").Command("activate", "");
Application.CommandNode("/application/document/PolyGrid/properties/auto_controls/width").Command("value", "20");
Application.CommandNode("/application/document/PolyGrid/properties/auto_controls/columns").Command("value", "30");
Application.CommandNode("/application/document/PolyGrid/properties/close").Command("activate", "");
Application.CommandNode("/application/document/CameraViewport/viewport_window/viewport_control").Command("rbuttonclick", "none 0.317829 0.528926");
Application.CommandNode("/application/document/CameraViewport/viewport_window/viewport_control/context_filter_mesh_LinearWavePoints").Command("activate", "");
Application.CommandNode("/application/document/LinearWavePoints/properties/auto_controls/axis").Command("value", "z");
Application.CommandNode("/application/document/LinearWavePoints/properties/auto_controls/amplitude").Command("value", "1");
Application.CommandNode("/application/document/LinearWavePoints/properties/auto_controls/phase_property").Command("activate", "");
Application.CommandNode("/application/document/LinearWavePoints/properties/auto_controls/phase_property/context_set_connection").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/source_object").Command("selectobject", "TimeSource");
Application.CommandNode("/application/document/connect_properties/source_property_chooser").Command("selectproperty", "time");
Application.CommandNode("/application/document/connect_properties/connect").Command("activate", "");
Application.CommandNode("/application/document/connect_properties/close").Command("activate", "");
Application.CommandNode("/application/document/LinearWavePoints/properties/close").Command("activate", "");
Application.CommandNode("/application/ui").Command("tutorialmessage", "That's it for now ... K-3D 0.6 will feature the Next Generation User Interface (NGUI) which will build on the current framework to provide simpler controls, without sacrificing flexibility.");
