Adams Basic Package > Adams View > View Command Language > geometry > geometry create shape gcontactgeometry create shape link

geometry create shape gcontact

Allows you to create a new contact force graphic object.

Format:

 
geometry create shape gcontact
contact_force_name =
a new contact_force_graphic
adams_id =
adams_id
comments =
string
contact_element_name =
an existing contact element
force_display =
force_display_options

Example:

 
geometry create shape gcontact &
contact_force_name =
gcontact__1 &
adams_id =
1 &
comments =
"a new contact force graphic" &
contact_element_name =
sphere_plane_contact_5 &
force_display =
both

Description:

 
Parameter
Value Type
Description
contact_force_name
A New Contact_force_graphic
Specifies the name of the contact force graphic to be created
adams_id
Adams_id
Assigns a unique ID number to the geometry
comments
String
Adds any comments about the geometry to help you manage and identify it.
contact_element_name
An Existing Contact Element
Specifies the name of the contact element whose force is to be displayed by the force graphic.
force_display
Force_display_options
Specifies the options for displaying the force graphics

Extended Definition:

1. A gcontact is a force graphic for a contact element. The gcontact can display graphics for component or aggregate forces of a contact.
none - Displays no force graphics.
components - Displays force graphics for the normal force, friction force, and torque at each incident of a contact for each frame. Multiple incidents at a frame display multiple force graphics.
aggregate - Displays force graphics for the sum of all forces (normal and friction) and all torques on the contact at each frame. Sums multiple incidents at a frame and displays one force graphic.
both - Displays both component and aggregate force graphics.

geometry create shape link

Allows for creation of the link object.

Format:

 
geometry create shape link
link_name =
a new glink
comments =
string
i_marker =
an existing marker
j_marker =
an existing marker
width =
length
depth =
length

Example:

 
geometry create shape link &
link_name =
LINK__1 &
comments =
"a new link" &
i_marker =
MK124 &
j_marker =
MK112 &
width =
25 &
depth =
5

Description:

 
Parameter
Value Type
Description
link_name
A New Glink
Specifies the name of the new link
comments
String
Specifies comments for the object being created or modified.
i_marker
An Existing Marker
Specifies the marker at one end of a link object.
j_marker
An Existing Marker
Specifies the marker at one end of a link object.
width
Length
Specifies the width of the link.
depth
Length
Specifies the depth of the link.

Extended Definition:

1. A link is a three-dimensional object used to represent a connecting part. It has its length defined by the distance between I_MARKER and the J_MARKER. It also has a WIDTH and DEPTH that may be specified. The ends of the link are semi-circular. The J_MARKER must lie in the XY plane of the I_MARKER.
2. You may use the name specified by the link_name parameter later, to refer to this link. Adams View will not allow you to have two links with the same full name, so you must provide a unique name.
Normally, entity names are composed of alphabetic, numeric, or '_' (underscore) characters, and start with an alphabetic or '_' character. They may be any length. For more information, see Using Extended Names.
By enclosing the name in double quotes, you may use other printable characters, or start the name with a numeral. If a name contains characters, or starts with a numeral, you must always quote the name when entering it.
Note that you can specify the parentage of an entity (e.g. what part "owns" a marker or a geometry element) when you CREATE it by changing the name. If you enter just the entity name, then the default parent will be assigned by Adams View. If you type in the full name, then you may over ride the default parent. In most cases, when creating an entity, Adams View will provide a default name. The default name that Adams View provides will specify the parentage that it has assumed. You may, or course, delete this name and use your own. The form of a full name is:
"...._NAME.GRAND_PARENT_NAME.PARENT_NAME.ENTITY_NAME"
The number of levels used varies from case to case and the parentage must exist before an entity can be assigned to it.
3. When an Adams Solver data file (.adm) is read into Adams View, all comments associated with a statement (from the end of the previous statement through the end of the current statement) are stored with the object. Comments in the data file can be associated with model. These comments must follow the title statement and be followed by the comment 'END OF MODEL COMMENTS'. This string must be uppercase.
When an Adams Solver data file is written, the comments for an object are written before the statement corresponding to the object.

Cautions:

1. The j_marker must lie along the i_marker's x-axis and it must have the same orientation as the i_marker.
2. The j_marker must lie along the i_marker's x-axis and it must have the same orientation as the i_marker.

geometry create shape nurb_surf

Format:

 
geometry create shape nurb_surf
nurb_surf_name =
new surf_name
comments =
string
udegree =
integer
vdegree =
integer
rational =
boolean
uperiodic =
boolean
vperiodic =
boolean
num_uctrlpts =
integer
num_vctrlpts =
integer
control_points =
location
weights =
real
uknots =
real
vknots =
real

Description:

 
Parameter
Value Type
Description
nurb_surf_name
New Surface Name
Specifies the name of the nurb surface created. You can refer to this geometry in future using this name.
comments
String
Specifies any comments to be associated with the nurb surface geometry created.
udegree
Integer
Specifies an integer greater than 0 and less than or equal to 20.
vdegree
Integer
Specifies an integer greater than 0 and less than or equal to 20.
rational
Yes/no
Specifies a Boolean value
uperiodic
Yes/no
Specifies a Boolean value
vperiodic
Yes/no
Specifies a Boolean value
num_uctrlpts
Integer
Specifies the number of control points.
num_vctrlpts
Integer
Specifies the number of control points.
control_points
Location
Specifies the location of the control points.
weights
Real
Specifies the weight.
uknots
Real
Specifies a real number
vknots
Real
Specifies a real number

geometry create shape picture

Allows you to create a picture.

Format: