Visualization parameters definition
- @VISUALIZATION_PARAMETERS_DEFINITION {
- @VISUALIZATION_PARAMETERS_NAME {VizPrmNameName} {
- @OBJECT_VISIBLE {YES/NO}
- @OBJECT_HIGHLIGHTED {YES/NO}
- @REPRESENTATION_TYPE {RprTypeREF, RprTypeCNF}
- @COLOR_NAME {ColorREF, ColorCNF}
- @POINT_SIZE {PntSizeREF, PntSizeCNF}
- @LINE_SIZE {LinSizeREF, LinSizeCNF}
- @FONT_NAME {FontName, FontColor}
- @SHAPE_NAME {ShapeName}
- @COMMENTS {CommentText}
- }
- }
Introduction
Dymviz enables the visualization of the dynamics reponse of multibody systems. All the parameters of this visualization, such as the representations or colors of objects, or the thickness of the lines, are select by default. If these default parameters are adequate, visualization parameters definition sections are not required. If this section is defined for a particular object, its default parameters are overwritten by those stated in this section.
Visualization parameters can be defined for the following structural objects: beams, flexible joints.
NOTES
-
This section defines the parameters that control the visualization of a specific object. If @OBJECT_VISIBLE = NO, the object will not appear in the visualization. If @OBJECT_HIGHLIGHTED = YES the object will be highlighted in the visualization. (Default: @OBJECT_VISIBLE = YES, @OBJECT_HIGHLIGHTED = NO.)
-
Different object of the models have different graphical representations that are controlled by parameters RprTypeREF and RprTypeCNF, for the reference and deformed configurations of the system, respectively. The following representation types are available: RprTypeREF = CURVE, LINE, MESH, SURFACE, SYMBOL, TRIAD, with identical choices for parameters RprTypeCNF.
-
The color of each object int its reference and deformed configurations is selected by parameters ColorREF and ColorCNF, respectively. Colors can be selected from those listed in table 1.
-
When drawing points, the thickness of the points is controlled by parameters PntSizeREF and PntSizeCNF, for the reference and deformed configurations of the system, respectively. The following point thicknesses are available: PntSizeREF = THIN, NORMAL,THICK, BOLD, HUGE, with identical choices for parameters PntSizeCNF.
-
When drawing lines, the thickness of the lines is controlled by parameters LinSizeREF and LinSizeCNF, for the reference and deformed configurations of the system, respectively. The following point sizes are available: LinSizeREF = THIN, NORMAL,THICK, BOLD, HUGE, with identical choices for parameters LinSizeCNF.
-
When drawing text, the font of the text is controlled by parameter FontName and its color by parameter FontColor. The following fonts are available: system fonts (FontName = 9_BY_15, 8_BY_13), Times new roman fonts (FontName = TIMES_ROMAN_10, TIMES_ROMAN_24), and Helvetica fonts (FontName = HELVETICA_10, HELVETICA_12, HELVETICA_18). Colors can be selected from those listed in table 1.
-
In the visualization, each object of the model is depicted using a specific representation, listed in the columns of table 1. To access the optional representations, a shape, ShapeName, must be defined for the element.
-
For cylindrical joints, planar joints, Prismatic joints, revolute joints, Rigid body connections, Spherical joints, and Universal joints, the following representations are valid. The SYMBOL representation depicts the revolute joint as a symbol centered at the point that defines the joint. (Default representation: SYMBOL)
-
For shells,
-
For rigid body masses,
-
For lifting lines,
-
The color used to represent the configuration of an object is ConfColor, whereas that used to represent the vector field associated with the elements is FieldColor. The names of the available colors are defined in table 1.
Color name | Red | Green | Blue | Color name | Red | Green | Blue | Color name | Red | Green | Blue |
AQUAMARINE | 127 | 255 | 212 |
BEIGE | 245 | 245 | 220 |
BLACK | 0 | 0 | 0 |
BLUE | 0 | 0 | 255 |
BLUE_SKY | 0 | 191 | 255 |
CHARTREUSE | 127 | 255 | 0 |
CHOCOLATE | 255 | 127 | 36 |
CORAL | 255 | 114 | 86 |
CORNSILK | 255 | 248 | 220 |
CYAN | 0 | 255 | 255 |
DEEP_PINK | 255 | 20 | 147 |
GOLD | 255 | 215 | 0 |
GREEN | 0 | 255 | 0 |
MAGENTA | 255 | 0 | 255 |
NAVAJO | 255 | 222 | 173 |
OLIVE | 202 | 255 | 112 |
ORANGE | 255 | 165 | 0 |
PURPLE | 160 | 32 | 240 |
RED | 255 | 0 | 0 |
SALMON | 250 | 128 | 114 |
SIENNA | 160 | 82 | 45 |
WHEAT | 245 | 222 | 179 |
WHITE | 255 | 255 | 255 |
YELLOW | 255 | 255 | 0 |
Table 1. Available color options defined in the red, green, blue convention.
Each integer from 0 to 255 gives the intensity of the red, green and blue components, respectively.
-
The visualization phase enable the representation of a number of vector fields that are superimposed to the instantaneous configuration of the system. Specific vector fields must be enabled in the graphics control parameters{GrfCtrl} section.
-
It is possible to attach comments to the definition of the object; these comments have no effect on its definition.