Download 3. Data input program

Transcript
Universal Mechanism 5.0
3-40
Chapter 3. Data input program
3.4.4. Assigning Graphical Image to Object Element
Graphical images (graphical objects, GOs) can be assigned to the most of UM elements, for
example, to the scene, bodies, some kinds of joints (e.g. a rod), some kinds of force elements
(bipolar, linear) and so on. Clicking a graphical image of element by mouse, the user can open
the element description in the object inspector. For this purpose the whole object animation mode
must be set in the animation window (Sect.3.3.1.2.2).
Graphical image is assigned to an object element from the list of the previously described
GOs using a drop-down list in the inspector of the current element (body, for example).
Fig. 3.30. Assignment of a GO
The drop-down list contains names of GOs, which have been set by the user while describing
graphical objects or by default. To make choosing GO easier, it is recommended to give sensible
names to GOs (Fig. 3.30).
Activate the corresponding drop-down list and press the Delete key to cancel the assignment
of a GO to the element.
There are some features by assigning GO to the object element.
GO can be assigned to each body; the same GO may correspond to several bodies (this is the
main principle). The GO system of coordinate is automatically superposed with the SC of the
corresponding body. All elements of mechanical system, which are fixed relative to the base SC0
(e.g. plane supporting a rolling ball, obstacles etc.), should be presented by a single GO, which is
assigned to the scene image (Common | Scene image inspector tab).
While drawing GO in the animation window, UM superposes the point (0,0,0) with the first
connection point (of the first interconnected body), and the point (0,0,1) with the second
connection point, at that UM properly changes the length and the orientation of the GO.
All elements (bodies, joints, force elements) having graphical image can be selected by the
mouse pointer in the animation window and then be accessed in the element inspector form. This
feature is very useful in cases if the object description contains many elements.
3.4.5. Assignment of graphic images to rods, linear and bipolar force
elements
A GO can also be assigned to a linear or bipolar force element (Sect. 3.4.10.2, 3.4.10.1) or to
a weightless rod constraint (Sect. 3.4.9.8). These elements link two points of different bodies.
UM automatically puts the assigned GO between the points. There is an obligatory condition
while creating such a GO:
A GO corresponding to a linear or bipolar force element or to a rod constraint must be
located along the Z axis of the SC GO between the points (0,0,0) and (0,0,1), that is the GO must
have the unit length.
3.4.6. Input of Graphical Objects
For description of graphical objects (GO), a built-in graphical editor is used. It is accessible
with the inspector tab Images. Notice that it is recommended to describe the rest of object
elements after the complete description of graphical images. In this case the visual verification of
input data is possible, and it allows avoiding a lot of input errors.