*Marker()
Creates a triad representing a coordinate system.
Syntax
*Marker(marker_name,"marker_label",body, origin, [FLOATING])
Arguments
- marker_name
- The variable name of the marker.
- marker_label
- The descriptive label of the marker.
- body
- The body to which the marker is attached.
- origin
- The location of the marker.
- FLOATING
- An optional argument that indicates the marker is a floating marker.
Example
*DefineSystem(sysdef_body)
*Point(p_body_cg, "Vehicle Body CG")
*Body(b_body, "Vehicle Body", p_body_cg)
*Marker(mrk_b_clamp, "Body clamp Point", b_body,
p_body_cg)
*Marker(mrk_g_clamp1, "Yaw clamp marker", B_Ground,
p_body_cg)
*Marker(mrk_g_clamp2, "XY clamp marker", B_Ground,
p_body_cg)
*SetPoint(p_body_cg, 2100, 0, 1250)
*SetBody(b_body, 1000, 4.000e+08, 2.000e+09, 2.000e+09,
0.000e+00, 0.000e+00, 0.000e+00)
*SetOrientation(mrk_b_clamp, ONEAXIS, Z,
Global_Frame.xaxis)
*SetOrientation(mrk_g_clamp1, ONEAXIS, Z,
Global_Frame.yaxis)
*SetOrientation(mrk_g_clamp2, ONEAXIS,
Z,
Global_Frame.zaxis)
*EndDefine()
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
body | Body | The body to which the marker is connected. |
flt | boolean | TRUE if the marker is floating, FALSE otherwise. |
id | Integer | Used to access the solver IDs of markers using the following MDL syntax: marker_name.id. |
idstring | string | Used to access the SOLVER IDs of parts using the following MDL syntax marker_name.idstring. idstring causes the ID to be formatted as a string, where id causes it to be formatted as a number. |
label | string | The descriptive label of the marker. |
origin | Point | The origin point of the marker. |
state | boolean | Control state (TRUE or FALSE). |
varname | string | The variable name of the marker. |
xaxis | Vector | A unit vector along the X axis of the marker. |
yaxis | Vector | A unit vector along the Y axis of the marker. |
zaxis | Vector | A unit vector along the Z axis of the marker. |
Comments
A floating marker is not fixed with reference to the part reference frame. Its time history is determined by the force or joint element it is used to define.
The orientation of a marker may be specified using a *SetOrientation() statement. By default, a marker is oriented the same as the global reference frame.