*Graphic() - outline - PointToCurveJoint

Creates an outline graphic on the curve of a PointToCurveJoint.

Syntax

*Graphic(gr_name,"gr_label",OUTLINE, PointToCurveJoint)

Arguments

gr_name
The variable name of the graphic.
Data type: varname
gr_label
The descriptive label of the graphic.
Data type: label
OUTLINE
This argument indicates the graphic is an outline type.
PointToCurveJoint
The PointToCurveJoint associated with this graphic.
Data type: joint

Example

*Curve(crv_0, "Curve 0", WRITE, CURVE_POINTS, CLOSED )
*Curve(crv_0, "Curve 0", WRITE, CONTROL_POINTS, CLOSED )
*Curve(crv_1, "Curve 1", WRITE )
*SetCurve(crv_0,         MATH, "-1:1:0.01", 
                         MATH, "5*cos((crv_0.x+1.0)*PI)", 
                         MATH, "crv_0.x*0", 
                         MATH, "5*sin((crv_0.x+1.0)*PI)")
*SetCurve(crv_1, MATH, "5*cos((crv_0.x+1.0)*PI)", 
                         MATH, "5*sin((crv_0.x+1.0)*PI)")
*SetCurveAttributes(crv_1, 1, 0, 1, 0)
*SetState(crv_1, OFF)
*SetState(o_8, OFF)
*SetState(o_9, OFF)
*SetState(o_10, OFF)
*Graphic(g_j_1, "Joint 1 Graphic", OUTLINE, 
                                  j_1)

Context

*BeginMdl()

*DefineAnalysis()

*DefineGraphic()

*DefineSystem()

Comments

To avoid the graphic being visible during MotionSolve result animation in HyperView, set the hide_in_post attribute to {{true}}. For example: *Set(gra_link.hide_in_post, true). This option will set the graphic component's visibility to be turned off when the result H3D is loaded in HyperView.