System Attribute Definitions   

<<< Glossary Chapters

Contents

[back to top]


Introduction

Parasolid uses attributes internally for various purposes. The attribute definitions for such system attributes are created automatically when Parasolid is started up. These system attribute definitions are provided to allow the user to alter the behavior of Parasolid when operating on an entity.

Further information about attributes and attribute definitions can be found in Chapter 47, "Attributes"

[back to top]


System attribute definitions

For each system-defined attribute definition the following information is shown:

[back to top]


Density attributes

There are density attributes for each of regions, faces, edges and vertices in addition to the system attribute for density of a body.

The region/face/edge/vertex attributes are taken into account when finding the mass, centre of gravity and moment of inertia of a body or of the entity to which the attribute is attached:

[back to top]

Density (of a body)

 

Identifier

SDL/TYSA_DENSITY

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_body

Fields

PK_ATTRIB_field_real_c

Density

PK_ATTRIB_field_string_c

Units

Set by

Application

Used by

Mass Properties - calculation of mass

[back to top]

Region density attribute

 

Identifier

SDL/TYSA_REGION_DENSITY

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_region

Fields

PK_ATTRIB_field_real_c

Density of region

PK_ATTRIB_field_string_c

Units

Set by

Application

Used by

Mass Properties - calculation of mass

[back to top]

Face density attribute

 

Identifier

SDL/TYSA_FACE_DENSITY

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_face

Fields

PK_ATTRIB_field_real_c

Density of face

PK_ATTRIB_field_string_c

Units

Set by

Application

Used by

Mass Properties - calculation of mass

[back to top]

Edge density attribute

 

Identifier

SDL/TYSA_EDGE_DENSITY

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_edge

Fields

PK_ATTRIB_field_real_c

Density of edge

PK_ATTRIB_field_string_c

Units

Set by

Application

Used by

Mass Properties - calculation of mass

[back to top]

Vertex density attribute

 

Identifier

SDL/TYSA_VERTEX_DENSITY

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_vertex

Fields

PK_ATTRIB_field_real_c

Mass of vertex

PK_ATTRIB_field_string_c

Units

Set by

Application

Used by

Mass Properties - calculation of mass

[back to top]


Hatching

For further information on the use of hatching attributes see the "Hatching" section in Chapter 53, "Rendering Option Settings".

[back to top]

Hatching attribute

 

Identifier

SDL/TYSA_HATCHING

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_face

Fields

PK_ATTRIB_field_real_c

real 1

real 2

real 3

real 4

PK_ATTRIB_field_integer_c

Hatching type

Set by

Application

Used by

Hidden line and wireframe images

[back to top]

Planar hatch

 

Identifier

SDL/TYSA_PLANAR_HATCH

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_face

Fields

PK_ATTRIB_field_real_c

x component

direction or plane normal

y component

z component

pitch or separation

x component

position vector

y component

z component

Set by

Application

Used by

Hidden line and wireframe images

[back to top]

Radial hatch

 

Identifier

SDL/TYSA_RADIAL_HATCH

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_face

Fields

PK_ATTRIB_field_real_c

radial around

radial along

radial about

radial around start

radial along start

radial about start

Set by

Application

Used by

Hidden line and wireframe images

[back to top]

Parametric hatch

 

Identifier

SDL/TYSA_PARAM_HATCH

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_face

Fields

PK_ATTRIB_field_real_c

u spacing

v spacing

u start

v start

Set by

Application

Used by

Hidden line and wireframe images

[back to top]


Other attributes

[back to top]

Region

 

Identifier

SDL/TYSA_REGION

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_face

Fields

PK_ATTRIB_field_string_c

Unused

Set by

Application

Used by

Hidden line images

[back to top]

Color

 

Identifier

SDL/TYSA_COLOUR

Token

TYSACO

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_face, PK_CLASS_edge

Fields

PK_ATTRIB_field_real_c

Red value

these three values should be in the range of 0.0 to 1.0

Green value

Blue value

Set by

Application

Used by

Application

[back to top]

Reflectivity

 

Identifier

SDL/TYSA_REFLECTIVITY

Token

TYSARF

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_face

Fields

PK_ATTRIB_field_real_c

Coefficient of specular reflection

Proportion of colored light in highlights

Coefficient of diffuse reflection

Coefficient of ambient reflection

PK_ATTRIB_field_integer_c

Reflection power

Set by

Application

Used by

Application

 

[back to top]

Translucency

 

Identifier

SDL/TYSA_TRANSLUCENCY

Token

TYSATR

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_face

Fields

PK_ATTRIB_field_real_c

Transparency coefficient

range 0.0 to 1.0, where 0 is opaque and 1 is transparent

Set by

Application

Used by

Application

[back to top]

Name

 

Identifier

SDL/TYSA_NAME

Token

TYSANM

Class

PK_ATTDEF_class_01_c

Entity types

PK_CLASS_assembly, PK_CLASS_body, PK_CLASS_instance, PK_CLASS_shell, PK_CLASS_face, PK_CLASS_loop, PK_CLASS_edge, PK_CLASS_vertex, PK_CLASS_group, PK_CLASS_surf, PK_CLASS_curve, PK_CLASS_point

Fields

PK_ATTRIB_field_string_c

Name of entity

Set by

Application

Used by

Application

Entities read into Parasolid from a Romulus 6.0 transmit file have their names held in name attributes. Only entities to which the user has given names are treated in this way.

 

[back to top]

<<< Glossary Chapters