T-FLEX Parametric CAD. Fundamentals. 2D Design

T-FLEX Parametric CAD. Fundamentals. 2D Design T-FLEX Parametric CAD. Fundamentals. 2D Design

scp.s.scptuj.mb.edus.si
from scp.s.scptuj.mb.edus.si More from this publisher
30.07.2013 Views

To “animate” the mechanism, use the command “AN: Animate Model”: Keyboard Textual Menu Icon “Parameters|Animate…” Animation When entering the command from the 2D window, a dialog box with the command parameters is displayed on the screen. The parameters are as follows: Variable name. Defines the name of the variable to vary. The variable can't be a textual (string) one. Starting value. This is the starting value of the variable to vary. Ending value. The target value of the variable at the completion of the command. Step. The increment value added to the variable at each step of the animation. Clear screen. With this option set, the screen will be redrawn at each step. Otherwise, the images will be overlapping to show the progress of the movement and drawing modifications at each step. Change color. With this option set, the image at each step will be displayed in its own color. This option is useful when you want to compare results when varying the values of different drawing parameters. Pause. With this option set, the system will require confirmation at each step, before drawing another frame. Generate Metafile. With this option set, the animation clip will be saved in a T-FLEX CAD metafile. This metafile can later be output to a printer or plotter, included in a T-FLEX drawing using the command “IP: Insert Picture” or exported into another format. Note, that with the “Clear screen” mode turned on, a metafile will not be output. Save Report. With this option set, the result of animation at each step will be output in a log file (the filename must be specified in the operation parameters). This parameter is available only when the model has at least one report template, defined in the command “REP: Create Report”. Generate multimedia file. Setting this option allows creating an *.avi file and defining its parameters: File name. Number of frames per second. The recommended frequency is 24 frames per second. The graphic button [Compression…] invokes the dialog box for customizing multimedia file compression parameters: Compressor. Selects a compressing application. Compression Quality. Defines the quality grade for multimedia file compression. Key Frame. Defines the number of frames between the key frames. Data Rate. Defines the data transfer rate (kilobytes per second). 663

Fundamentals. Two-Dimensional Design 664 The graphic button [Configure…] brings up the dialog box for entering the required settings of the selected compressing application. To interrupt a running animation, press . Returning to the above example, let's define the first four parameters. The specified values realize the variation of the “alpha” variable from the value “0” to “360” with the step equal to “10”. The drawing will be displayed at each step. Press [OK], and the result shown on the right hand side diagram will soon be displayed on the screen. By performing these steps on your computer, you will see the drawing “animate”. Consider a few more examples. In those, several variables are made dependent on the driving variable, which results in an interesting behavior. An animation of the drawing of a cutting tool appears as if “machining” of a cog wheel: Next is the example of a drawing that creates a function diagram by using animation. What was entered in the variable editor is as follows: the variable “h” is equal to “10”, and the variable “l” is defined by the expression “^1.2/Cos(h)”.

<strong>Fundamentals</strong>. Two-Dimensional <strong>Design</strong><br />

664<br />

The graphic button [Configure…] brings up the dialog box for entering the required settings of the<br />

selected compressing application.<br />

To interrupt a running animation, press .<br />

Returning to the above example, let's define the first four<br />

parameters.<br />

The specified values realize the variation of the “alpha”<br />

variable from the value “0” to “360” with the step<br />

equal to “10”. The drawing will be displayed at each<br />

step.<br />

Press [OK], and the result shown on the right hand side<br />

diagram will soon be displayed on the screen.<br />

By performing these steps on your computer, you will see<br />

the drawing “animate”.<br />

Consider a few more examples. In those, several variables<br />

are made dependent on the driving variable, which results<br />

in an interesting behavior.<br />

An animation of the drawing of a cutting tool appears as if “machining” of a cog wheel:<br />

Next is the example of a drawing that creates a function diagram by using animation.<br />

What was entered in the variable editor is as follows: the variable “h” is equal to “10”, and the variable<br />

“l” is defined by the expression “^1.2/Cos(h)”.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!