# Contact

Description

Contacts are rendered as disks (3D only), cylinders, spheres, or arrows and are colored by attributes or properties.

This plot item observes the Shape/Color By/Color Opt pattern to determine its rendering.

Attributes

Shape

Select the shape with which to render contact data from the choices “Disk”, “Cylinder”, “Sphere”, or “Arrow”. The controls provided with this field change with the selected shape. “Disk”, “Cylinder”, and “Sphere” all provide variations on the common simple controls. The specific variations are described below. “Arrow” provides the common arrow controls.

The “Arrow” shape may only be used with “Vector Qty” items in the Color By attribute. If Shape is set to “Arrow”, the “Text Val” and “Numeric Val” selectors in Color By are disabled, and the setting for Color By is automatically shifted to the most recent (or default) “Vector Qty” selection.

“Disk” adds a color-list control, and “Sides” (refines rendering when a cut plane is used), “Outline”, and “Cut Width” (sets line thickness when a cut plane is used).

“Cylinder” adds a “Scale” control to shrink an item (1 = 100%, .5 = 50%, etc.).

“Sphere” adds a “Quality” control, which increases circularity of rendering when a cut plane is used.

Color By

Specify what aspect of the item is to be rendered, from one of three mutually exclusive groups (only one selection from any group is active at one time): text values, numeric values, and vector quantities. If a Vector Qty is chosen, an additional field is added to specify whether a component ($$x$$, $$y$$, or $$z$$) or the magnitude (mag) of the vector should be rendered.

Selecting -->Add Prop at the bottom of a selector will provide a dialog that allows the user to specify a new property to add to the list (and make it the active color by selection).

The labels ATTRIBUTE and PROPERTY on a selector do nothing; these are provided to visually differentiate the two groups.

 extra Colors by extra variable. An additional field is supplied to identify the variable by its index. group Colors by group. An additional field is supplied to specify the slot index. The default setting is Any (which occupies index position 0 on the spinbox). contact type model name force chain state
 extra Colors by extra variable. An additional field is supplied to identify the variable by its index. specific fid gap momentOn1 (2D ONLY) momentOn2 (2D ONLY)
 extra Colors by extra variable. An additional field is supplied to identify the variable by its index. normal force momentOn1 (3D ONLY) momentOn2 (3D ONLY)

Color Opt

Specify options for coloring the plot item. This must be set to either scaled (contoured) coloring, or coloring based on named items (group names, for instance). See the standard Color Opt control for details.

Display

Set display off/on for individual contact models and/or contact types.

Display: A container for the Model list and the Types list.

Models: A container for the model list.

[item]: Display (checked) the model, where [Item] is the model name.

Types: A container for the types list.

item: Display (checked) the contact type, where [item] is the contact type name.

Scale by Mag

Object rendering is scaled according to the magnitude of the selected Vector Quantity in the Color By attribute, when checked.

Note: this attribute is only available when the Shape attribute is set to Arrow.

Map

Transform the orientation, location, or scale of the plot item according to the settings provided. This attribute allows multiple, differently visualized instances of a plot item to be rendered adjacent to one another, for instance.

Axis: Specify a coordinate transformation to use assuming a normal order of {XY in 2D; XYZ in 3D} (XZY, for instance, indicates that the Y and Z coordinates are swapped).

Translate: Translate the rendered objects’ {$$x$$ and $$y$$ in 2D; $$x$$, $$y$$, and $$z$$ in 3D} positions by the specified model units.

Scale: Set the plot item size to the specified percentage of the program window’s size.

Directed

Set direction of rendering.

Directed: Render (checked) objects in the direction of the vector.

All Contacts

Set which contacts are displayed.

All Contacts: display (checked all contacts. If unchecked, only active contacts are shown.

CM Normal

Set display of contact model normal. This attribute is not available if Shape is set to “Arrow”.

CM Normal: Display (checked) the contact model normal, if one exists. Contact normal is displayed otherwise.

Transparency

Set the transparency of the plot item. This setting is not available on 2D model objects.

Transparency: Apply transparency (checked) to the item. When on, transparency is set to a default value of 70 and is “locked.” When locked, the available range of transparency is constrained to 70 (lowest, somewhat transparent) to 100 (highest, completely invisible). To access the full range of transparency values (0-100), press the lock icon to “unlock” the transparency range; the icon changes accordingly ( ).

Use the help button to get help with this specific attribute.

Note

Users should be cautioned that values lower than 70 tend to be imperceptibly “less” transparent and they may result in depth perspectives that can seem strange or incorrect.

Legend

Set display of the item in the plot legend. All plot items, at minimum, have a Title attribute.

Legend: Show (checked) all information about the plot item in the legend.

Title: Show (checked) the title of the plot item in the legend. The “Alias:” field may be used to specify a custom title for the item.

Size: Set the size of text in the legend.

Font: Set the font face used for the text.

Style: Set the text style (the options are normal, bold, italic, bold-italic).

Color: Set the text color.