*Graphic() - coil spring
Creates a coil spring graphic.
Syntax
*Graphic(gr_name,"gr_label",SPRING, spr_name, point_1, point_2, num_coils, radius)Arguments
- gr_name
- The variable name of the graphic.
- gr_label
- The descriptive label of the graphic.
- SPRING
- This argument identifies that the graphic is a spring.
- spr_name
- The variable name of the coil spring associated with this graphic.
- point_1
- One of the connecting points of the coil spring.
- point_2
- The other connecting point of the coil spring.
- num_coils
- The number of coils in the spring.
- radius
- The radius of the coil spring.
Example
*Point(p_spr_upr,        "Upper spring point")
*Point(p_spr_lwr,        "Lower spring point")
*CoilSpring(spring,      "Coil Spring", 
                        b_lca, 
                        b_frame, 
                        p_spr_lwr, 
                        p_spr_upr)
*Graphic(gr_spr_lead,    "Lead Spring",   SPRING, 
                                         spring,  
                                         p_spr_lwr, 
                                         p_spr_upr, 
                                         7,
                                         20)Context
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.