*Graphic() - AirSpring

Creates an AirSpring graphic.

Syntax

*Graphic(gaspr_0,"AirSpring",AIRSPRING, SPDP, spr_varname, ROLLINGLOBE, point_1, point_2, bag_diameter, inner_diameter, outer_diameter, meniscus_height, spring_height)

Arguments

gaspr_0
The variable name of the graphic.
Data type: varname
AirSpring
The descriptive label of the graphic.
Data type: Label
AIRSPRING
Identifies that the graphics is an Air Spring.
SPDP
Keyword that identifies the type of entity the graphic is attached to.
spr_varname
Variable name of the spring-damper entity associated with Air Spring.
Data type: varname
ROLLINGLOBE
The type of Air Spring graphic.
Data type: Keyword
point_1
The top connecting points of the Air Spring.
Data type: Point
point_2
The bottom connecting point of the Air Spring.
Data type: Point
bag_diameter
The bag diameter. See Comments below.
Data type: Real
inner_diameter
The inner diameter of the piston. See Comments below.
Data type: Real
outer_diameter
The outer diameter of the piston. See Comments below.
Data type: Real
meniscus_height
The meniscus height of the spring. See Comments below.
Data type: Real
spring_height
The height of the spring. See Comments below.
Data type: Real

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 (gaspr_0, AirSpring, 
AIRSPRING, SPDP, spring, ROLLINGLOBE, 
p_spr_upr, p_spr_lwr, 400, 250, 400, 150, 300)

Context

*BeginMdl()

*DefineAnalysis()

*DefineGraphic()

*DefineSystem()

Comments

Figure 1. AirSpring Illustration


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.