*GraphicPair() - offset cylinder pair

Creates an offset cylinder pair graphic.

Syntax

*GraphicPair(gr_name,"gr_label", CYLINDER, body, point_1, POINT|VECTOR, point_2|vector_2, radius_1, radius_2, length, offset, [CAPBOTH|CAPBEGIN|CAPEND])

Arguments

gr_name
The variable name of the graphic pair.
Data type: varname
gr_label
The descriptive label of the graphic pair.
Data type: label
CYLINDER
This argument indicates the graphic pair is an offset cylinder pair.
body
The body or body pair associated with this offset cylinder pair graphic.
Data type: Body
point_1
The location of one end of the cylinder pair.
Data type: Point or PointPair
POINT|VECTOR
A keyword that indicates the alignment method.
point_2|vector_2
An entity variable referring to a Point, PointPair, Vector, or VectorPair which is based on the above keyword.
Data type: Point, PointPair, Vector, or VectorPair
radius_1
The radius of the cylinders at the first end.
Data type: real
radius_2
The radius of the cylinders at the second end.
Data type: real
length
The length of the cylinders.
Data type: real
offset
Distance by which the origins of the cylinder pair are offset from point_1 .
Data type: real
CAPBOTH CAPBEGIN CAPEND
An optional argument that indicates if either or both cylinder ends should be capped.

Example

*BodyPair(body_1, "Body 1", p_cg)
*PointPair(p_1, "Point 1")
*PointPair(p_axis, "Axial point")
*GraphicPair(g_follower_pivot, "Follower pivot graphic", 
                              CYLINDER, 
                              body_1, 
                              p_1, 
                              POINT, 
                              p_axis,  
                              5, 
                              10, 
                              100, 
                              -50)

Context

*BeginMdl()

*DefineAnalysis()

*DefineGraphic()

*DefineSystem()

Comments

The cylinder ends are not capped if the optional argument is omitted.