*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.
- gr_label
- The descriptive label of the graphic pair.
- 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.
- point_1
- The location of one end of the cylinder pair.
- 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.
- radius_1
- The radius of the cylinders at the first end.
- radius_2
- The radius of the cylinders at the second end.
- length
- The length of the cylinders.
- offset
- Distance by which the origins of the cylinder pair are offset from point_1 .
- 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
Comments
The cylinder ends are not capped if the optional argument is omitted.