*SetSpringDamperGraphic() - pair coil spring
Sets the graphic properties of a coil spring pair.
Syntax
*SetSpringDamperGraphic(spr_name, num_coils_left, radius_left, num_coils_right, radius_right)
Arguments
- spr_name
- The variable name of an existing coil spring.
- num_coils_left
- The number of coils for the left spring graphic.
- radius_left
- The radius of the left spring graphic.
- num_coils_right
- The number of coils for the right spring graphic.
- radius_right
- The radius of the right spring graphic.
Example
*BodyPair(b_lca, "LCA", p_lca_cm)
*BodyPair(b_frame, "Frame", p_frame_cm)
*PointPair(p_spr_upr, "Spring @ frame")
*PointPair(p_spr_lwr, "Spring @ lca")
*CoilSpringPair(spring_uca, "Coil Spring", b_lca, b_frame, p_spr_upr, p_spr_lwr)
*SetCoilSpring(spring_uca, LEFT,LIN, 1.000e+02, LIN, 0.100e+00)
*SetSpringDamperGraphic(spring_uca, 15, 10, 10, 12)
Context
Comments
The damper graphic properties cannot be specified currently. The damper rod is set to one-third of the spring radius and the tube is set to two-thirds of the spring radius.
The symmetry of the graphic is controlled by the symmetry property on the *SetCoilSpring() statement.