30.07.2013 Views

T-FLEX Parametric CAD. Fundamentals. 2D Design

T-FLEX Parametric CAD. Fundamentals. 2D Design

T-FLEX Parametric CAD. Fundamentals. 2D Design

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Example: Disassembling a Pyramid<br />

676<br />

Another example of animation is the animation of taking<br />

apart a toy pyramid. The 3D model of the pyramid is<br />

located in the library “Documentation samples”,<br />

the folder “\<strong>2D</strong> <strong>Design</strong>\Animation\Pyramid”.<br />

The model of the pyramid is made of a base with a pole,<br />

stacked up four rings, and a topping. When<br />

disassembling, the base stays still, while the rings and<br />

the topping are “undone” one by one from the base and<br />

put around.<br />

To achieve this, the shifts from the axes for the<br />

respective 3D operations are defined by variable-based<br />

parameters. The variables Z_1, Z_2, Z_3, Z_4, Z_5 will<br />

define the shifts along the Z-axis, corresponding to the<br />

vertical movement of the rings (along the axis of the<br />

pole). The variables XY_1, XY_2, XY_3, XY_4 and<br />

XY_5 describe the movement of the rings and the<br />

topping in the horizontal plane along the X- and Y-axes<br />

(removal of the rings off the base).<br />

Such a large number of varied variables require use of<br />

the “Animation Screenplay” application.<br />

Let's define the diagrams for the model variables varying<br />

with time in the animation screenplay. Two diagrams<br />

correspond to each body being moved (for the topping,<br />

those are the diagrams of the variables Z_5 and XY_5,<br />

for the blue ring – the diagrams Z_4 and XY_4, etc.).<br />

One of those defines the object moving in the vertical<br />

plane, the other one - in the horizontal. The diagrams are<br />

designed in such a way, that each ring first moves up<br />

along the pole (the values of the respective variable Z in<br />

the diagram increase). At reaching the top of the pole<br />

(the flat portion of the Z variable diagram), a ring starts<br />

moving in the horizontal plane at some distance from the<br />

base (the growing portion of the respective variable XY<br />

diagram), and then goes down (the descending portion of<br />

the Z variable diagram). The rings start moving<br />

sequentially with the time delay interval of T=2.<br />

Once all diagrams are created, let's define the animation parameters: the interval T from 0 to 25 (the last ring<br />

finishes its movement at the time instant T=23), and the step equal to 0.25.<br />

Upon starting the animation, the process of taking the pyramid apart will be simulated on the screen. The<br />

pictures below show certain animation stages corresponding to the time instants shown on the diagrams.

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

Saved successfully!

Ooh no, something went wrong!