joints
Unless otherwise specified, data names are accessible in level 3 only.
- activesuppressed
- Returns non-zero if the entity is set inactive, 0 otherwise. Type: integer
- allowlimits
- Allows setting limits to the joint if set to True.
- attributesmax
- The number of attributes owned by this entity. Type: unsigned int.
- body1
- The joint that connects this body to body2 and body3 (body3 only for double slider).
- body2
- The joint that connects this body to body1 and body3 (body3 only for double slider).
- body3
- The joint that connects this body to body1 and body2 (available only for double slider).
- color
- The color of the entity. Type: integer
- config
- The configuration of the entity.
- 11 – Ball (rotation around 3 axes allowed)
- 12 - Cylinder (rotation around z-axis and translation along z-axis)
- 15 – Revolute (rotation around z-axis allowed)
- 16 – Slider (translation along z-axis allowed)
- 18 – Double slider (translation along z-axis allowed for three bodies)
- definedentity
- True if the entity is defined, false otherwise.
- factor1
- The factor for motion of body3 with respect to body1 (for double slider only) (double 0<=factor1<=1 ).
- factor2
- Always (1-factor1) (double 0<=factor2<=1 ).
- id
- The ID of the entity. Type: entity
- include
- The ID of the include file the entity is organized in. Type: entity
- includeid
- The ID of the include file the entity is organized in. Type: unsigned int.
- internalid
- The ID of the entity. Type: unsigned int.
- joint_triplelist
- Ordered list of coordinates defining the path for cam joint.
- lockingoption
- The lock option for the joint.
- 1 - Allow unlocking the joint
- 2 - Allow locking the joint
- 3 - Allow locking and unlocking of individual DOFs of the joint
- name
- The name of the entity. Type: string
- node_n1
- Node defining the origin of the joint.
- node_n2
- Node defining the z-axis of the joint.
- node_n3
- Node defining the x-axis of the joint.
- nodepath
- Ordered list of nodes defining the path for cam joint.
- nodepathcount
- Returns number of nodes in nodepath.
- outputsuppressed
- Returns non-zero if the entity is set "do not export", 0 otherwise. Type: integer
- perpdistance
- The perpendicular distance between origin and path for cam joint.
- position
- The coordinates of the origin of the joint.
- primaryaxis
- The local z-axis of the joint.
- rot1lock
- The lock state of the joint rotation around the x-axis (only available if locking option is 3 for ball joint).
- rot1lower
- The lower limit flag for joint rotation around the x-axis.
- rot1lowervalue
- The lower limit for joint rotation around the x-axis.
- rot1upper
- The upper limit flag for joint rotation around the x-axis.
- rot1uppervalue
- The upper limit for joint rotation around the x-axis.
- rot1val
- The current angle of the joint for the x-axis.
- rot2lock
- The lock state of the joint rotation around the y-axis (only available if locking option is 3 for ball joint).
- rot2lower
- The lower limit flag for joint rotation around the y-axis.
- rot2lowervalue
- The lower limit for joint rotation around the y-axis.
- rot2upper
- The upper limit flag for joint rotation around the y-axis.
- rot2uppervalue
- The upper limit for joint rotation around the y-axis.
- rot2val
- The current angle of the joint for the y-axis.
- rot3lock
- The lock state of the joint rotation around the z-axis (only available if locking option is 3 for ball joint).
- rot3lower
- The lower limit flag for joint rotation around the z-axis.
- rot3lowervalue
- The lower limit for joint rotation around the z-axis.
- rot3upper
- The upper limit flag for joint rotation around the z-axis.
- rot3uppervalue
- The upper limit for joint rotation around the z-axis.
- rot3val
- The current angle of the joint for the z-axis.
- secondaryaxis
- The local x-axis of the joint.
- setperpdistance
- If true, recalculates the perpendicular distance between origin and path for cam joint.
- trans3lower
- The lower limit flag for joint translation along the z-axis.
- trans3lowervalue
- The lower limit for joint translation along the z-axis.
- trans3upper
- The upper limit flag for joint translation along the z-axis.
- trans3uppervalue
- The upper limit for joint translation along the z-axis.
- trans3val
- The translated value of joint distance along the z-axis.
- xprimaryaxis
- The x coordinate of the primary axis. Valid for hm_getvalue query only.
- yprimaryaxis
- The y coordinate of the primary axis. Valid for hm_getvalue query only.
- zprimaryaxis
- The z coordinate of the primary axis. Valid for hm_getvalue query only.
- xsecondaryaxis
- The x coordinate of the secondary axis. Valid for hm_getvalue query only.
- ysecondaryaxis
- The y coordinate of the secondary axis. Valid for hm_getvalue query only.
- zsecondaryaxis
- The z coordinate of the secondary axis. Valid for hm_getvalue query only.
Version History
2017.1 - Added new data names xsecondaryaxis, ysecondaryaxis and zsecondaryaxis.
2019 - Added new data names joint_triplelist, nodepath, nodepathcount, perpdistance and setperpdistance.