newton.ModelAttributeFrequency#
- class newton.ModelAttributeFrequency(value)[source]#
Bases:
IntEnumEnumeration of attribute frequency categories.
Defines the dimensional structure and indexing pattern for custom attributes. This determines how many elements an attribute array should have and how it should be indexed in relation to the model’s entities such as joints, bodies, shapes, etc.
- ARTICULATION = 6#
Attribute frequency follows the number of articulations (see
articulation_count).
- BODY = 4#
Attribute frequency follows the number of bodies (see
body_count).
- JOINT = 1#
Attribute frequency follows the number of joints (see
joint_count).
- JOINT_COORD = 3#
Attribute frequency follows the number of joint positional coordinates (see
joint_coord_count).
- JOINT_DOF = 2#
Attribute frequency follows the number of joint degrees of freedom (see
joint_dof_count).
- ONCE = 0#
Attribute frequency is a single value.
- SHAPE = 5#
Attribute frequency follows the number of shapes (see
shape_count).