*Graphic() - DeformableSurface

Creates a graphic on a deformable surface entity.

Syntax

*Graphic(gr_name,"gr_label",DEFORMABLE_SURFACE, numsegs_r, numsegs_c, def_curve)

Arguments

gr_name
The variable name of the graphic.
Data type: varname
gr_label
The label of the graphic.
Data type: label
DEFORMABLE_SURFACE
Keyword for deformable surface.
numsegs_r
The number of row segments in the graphic.
Data type: integer
numsegs_c
The number of column segments in the graphic.
Data type: integer
def_surface
The deformable surface that the graphic belongs to.
Data type: Deformable Surface

Example

*BeginMDL(the_model, "The Model")

   *DeformableSurface(defsur_0, "DeformableSurface 0", 
                      NATURAL, 5, 1, B_Ground, p_0, 
                      B_Ground, p_1, B_Ground, p_2, B_Ground, p_3, 
                      MODEL.B_Ground, p_4)
   *Graphic(gra_for_defsur_0_0, "Graphic (for DeformableSurface 0) 0", 
            DEFORMABLE_SURFACE, 100, 100, defsur_0 )
   *Point(p_0, "Point 0")
   *Point(p_1, "Point 1")
   *Point(p_2, "Point 2")
   *Point(p_3, "Point 3")
   *Point(p_4, "Point 4")

   //////////////////////////////////////////////////////////////////
   *SetSystem(MODEL) //The Model

   *SetPoint(p_0, , , 10)
   *SetPoint(p_1, , , 20)
   *SetPoint(p_2, , , 30)
   *SetPoint(p_3, , , 40)
   *SetPoint(p_4, , , 50)

*EndMDL( )

Context

*BeginMdl()

*DefineAnalysis()

*DefineGraphic()

*DefineSystem()

Comments

The graphic for deformable curve and deformable surface must belong directly to a deformable curve and deformable surface, respectively. Whereas the graphics for the five higher pair constraints must belong to the higher pair constraint directly. This is because the deformable curve and deformable surface implicitly contain spatial relevance, whereas the five higher pair constraints are required to give spatial relevance to their associated curves and surfaces.