MotionView User's Guide

Graphics

Graphics

Previous topic Next topic Expand/collapse all hidden text  

Graphics

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

This section provides an overview of the Graphics entity in MotionView.

Theory/Background

Graphics offer visualization for entities during pre-processing or post-processing.  There are two major categories of graphical representation available in MotionView:

hmtoggle_plus1Implicit Graphics

When any entity (that can be identified with a location in the model) is added in MotionView, a representative icon associated with the entity is displayed in the graphics area.  This is called an Implicit Graphic.

implicit_graphic_spring_damper_example_mv

Example Implicit Graphic for Spring Damper Entity

Implicit graphics are only seen during pre-processing of the model and are not exported to the solver deck; hence these graphics are not visible in MotionSolve results.  Refer to the Implicit Graphics topic to learn more about controlling the display of these graphics.

hmtoggle_plus1Explicit Graphics

Explicit Graphics can be used to create a 3D visual display of a model in the graphics window, as well as for displaying an animation following a simulation.  These graphics can also used in defining a force entity of the type Contact.  Explicit graphics are exported to the solver deck.

Note - A multi body simulation without contact forces does not need graphical entities for the solution.

The figure below shows the various types of Explicit Graphics that are available for modeling in MotionView:

graphic_diagram_mv

Click on the individual links below to learn more about each specific graphic type, as well as their creation and editing methods:

File - One graphic per component
File - All components
Box
Sphere
Cylinder
Tire
Outline
Tube
Spring
Deformable Curve
Deformable Surface
Surface
Graphic System

Creating/Adding Graphics

To learn how to add an "Entity" to a model, please see the Entity Manual topic.

hmtoggle_plus1To create/add a Graphic entity to a model:
1.A Graphic entity can be added to the model using two different methods:
From the Reference Entity toolbar, right-click on the Graphics icon entityGraphics-24.

OR

From the Project Browser, right-click on the Model label (or on any System/Analysis of your choice) and select Add > Reference Entity > Graphic from the context menu.

The Add "Graphic" or "GraphicPair" dialog is displayed.

add_graphic_or_graphicpair_dialog_mv

Note - Additional options are available for a File type graphic (see below).

2.From the Type drop-down menu, select one of the following graphic types: File, Box, Sphere, Cylinder, Outline, Tube, Spring, Tire, Deformable Curve, Deformable Surface, Surface, or Graphic System.

add_graphic_or_graphicpair_dialog_type_options_mv

Note - The name of the dialog will automatically update/change to the newly selected graphic type.

-If you select File, you can also select One graphic per component.  Click the file browser button and select a file from the file browser.

add_file_graphic_dialog_mv

3.The parent system name is displayed in the System field.
4.Specify a Label for the graphic (if you want to use a different label than the default).

The label can be a descriptive name.

5.Specify a Variable for the graphic (if you want to use a different variable name than the default).

The recommended naming convention for creating graphics is that all graphic variable names should begin with g"type"_. (for example "gsur_" for a Surface graphic).  Further, the variable name can be descriptive however it should not contain any special characters (other than ‘underscore’).

6.Click on the entity Type radio button and select the desired graphic type: Single or Pair.

A Graphic entity, like most of the entities that are created in MotionView, can be a Single Entity or a Pair Entity.  Pair entities help in creating models which have symmetric properties.

7.Optionally, you can also specify a descriptive Comment for the graphic.
8.When you are finished specifying the properties, click OK, Apply, or Cancel.
-Clicking OK will add/create the graphic entity and close the dialog.
-Clicking Cancel will cancel the graphic creation operation and close the dialog.
-Clicking Apply will add/create the graphic; however the dialog will remain open so that more graphics can be added in the same way.
9.Once a Graphic entity has been added to the model, the panel for the joint will automatically be displayed in the panel area.  See the panel example below:

graphics_panel_example_ref_entity_mv

The Connectivity tab displays the type of graphic that was created.  Other members/tabs in the panel will vary depending on the type of graphic.

Visualization

The display of every graphic in the model can be controlled using the Visualization tab in the Graphics panel.

hmtoggle_plus1Visualization Tab

This Visualization tab is common among all Graphic types (see the example below):

graphics_panel_visualization_tab

Graphics Visualization Options

The following options allow you to change appearance of a graphic:

visualizationElementsShadedWithMesh-24

Mesh Lines

Shows all the mesh lines of the H3D Graphic.

visualizationElementsShadedWithFeatures-24

Feature Lines

Shows only the prominent feature lines of the H3D Graphic.

visualizationElementsShadedWithEdges-24

Edge Lines

Shows only the edge lines of the H3D Graphic.

visualizationElementsShaded-24

No Lines

Hides all the lines on the H3D Graphic.

visualizationElementsWireframeSkinOnly-24

No Shading

Hides all of the shading on the H3D Graphic.

visualizationElementsShaded-24

Opaque

Sets the Display mode to Shaded Sets the surface representation of the H3D Graphic to Opaque.

visualizationElementsUser-24

Use material

Sets the transparency as specified in the material. (Applicable when the color is assigned from the material list)

visualizationElementsTransparent-24

Transparent

Sets the surface representation of the H3D Graphic to Transparent.

graphic_entity_attrib_panel_color_palette_mv

The color palette can be used to change the color of the graphic.

material_list_graphics_mv

The material list can be used to assign a color that matches with color of a particular type of material.

Note - The graphic properties of the materials listed in the material list can be viewed in Graphic Entity Attributes panel.  In addition, you can also create a user-defined material type.

See Also:

Graphic Entity Attributes Panel

Adding and Removing Entities

*Graphic() - cylinder (MDL Model Statement)

*GraphicPair() - cylinder pair (MDL Model Statement)

*DefineGraphic() (MDL Model Statement)

Post_Graphic (XML Command)

InterpretEntity (Tcl Command)

InterpretSet (Tcl Command)