DegreesOfFreedom Struct¶
-
class
NXOpen.Assemblies.
DegreesOfFreedom
¶ Bases:
object
Structure used to report the Degrees of Freedom of a component.
If there is one rational degrees of freedom then axis is determined by base_point1 and rotation_direction1. If there are 2 rotational degrees of freedom then one axis is determined by base_point1 and rotation_direction1 and the other by base_point2 and rotation_direction2. If there are 3 rotational degrees of freedom then the fixed point for the rotations is in base_point1 and there is no axis direction given. The translational degrees of freedom are given in translation_direction1 and translation_direction2, with the possibility that one of these may be a “normal” to 2 degrees of freedom, as specified in the associated status.
Fields¶
Field | Description |
---|---|
Result | The success or otherwise of the degrees of freedom calculation |
NumRotational | Number of static and free rotational degrees of freedom. |
NumTranslational | Number of static and free translational degrees of freedom. |
NumInstantaneousRotational | Number of instantaneous rotational degrees of freedom. |
NumInstantaneousTranslational | Number of instantaneous translational degrees of freedom. |
BasePoint1Status | First rotation base point status. |
BasePoint1 | First rotation base point. |
RotationDirection1Status | First rotation direction status. |
RotationDirection1 | First rotation direction. |
BasePoint2Status | Second rotation base point status. |
BasePoint2 | Second rotation base point. |
RotationDirection2Status | Second rotation direction status. |
RotationDirection2 | Second rotation direction. |
TranslationDirection1Status | First translation direction status. |
TranslationDirection1 | First translation direction. |
TranslationDirection2Status | Second translation direction status. |
TranslationDirection2 | Second translation direction. |
Result¶
-
DegreesOfFreedom.
Result
¶ The success or otherwise of the degrees of freedom calculation
-------------------------------------
Getter Method Signature
Result()
Returns: Return type: NXOpen.Assemblies.DegreesOfFreedomResult
-------------------------------------
Setter Method
Signature
Result(value)
Parameters: value ( NXOpen.Assemblies.DegreesOfFreedomResult
) –
NumRotational¶
-
DegreesOfFreedom.
NumRotational
¶ Number of static and free rotational degrees of freedom.
-------------------------------------
Getter Method Signature
NumRotational()
Returns: Return type: int -------------------------------------
Setter Method
Signature
NumRotational(value)
Parameters: value (int) –
NumTranslational¶
-
DegreesOfFreedom.
NumTranslational
¶ Number of static and free translational degrees of freedom.
-------------------------------------
Getter Method Signature
NumTranslational()
Returns: Return type: int -------------------------------------
Setter Method
Signature
NumTranslational(value)
Parameters: value (int) –
NumInstantaneousRotational¶
-
DegreesOfFreedom.
NumInstantaneousRotational
¶ Number of instantaneous rotational degrees of freedom.
-------------------------------------
Getter Method Signature
NumInstantaneousRotational()
Returns: Return type: int -------------------------------------
Setter Method
Signature
NumInstantaneousRotational(value)
Parameters: value (int) –
NumInstantaneousTranslational¶
-
DegreesOfFreedom.
NumInstantaneousTranslational
¶ Number of instantaneous translational degrees of freedom.
-------------------------------------
Getter Method Signature
NumInstantaneousTranslational()
Returns: Return type: int -------------------------------------
Setter Method
Signature
NumInstantaneousTranslational(value)
Parameters: value (int) –
BasePoint1Status¶
-
DegreesOfFreedom.
BasePoint1Status
¶ First rotation base point status.
-------------------------------------
Getter Method Signature
BasePoint1Status()
Returns: Return type: NXOpen.Assemblies.DegreesOfFreedomStatus
-------------------------------------
Setter Method
Signature
BasePoint1Status(value)
Parameters: value ( NXOpen.Assemblies.DegreesOfFreedomStatus
) –
BasePoint1¶
-
DegreesOfFreedom.
BasePoint1
¶ First rotation base point.
-------------------------------------
Getter Method Signature
BasePoint1()
Returns: Return type: NXOpen.Point3d
-------------------------------------
Setter Method
Signature
BasePoint1(value)
Parameters: value ( NXOpen.Point3d
) –
RotationDirection1Status¶
-
DegreesOfFreedom.
RotationDirection1Status
¶ First rotation direction status.
-------------------------------------
Getter Method Signature
RotationDirection1Status()
Returns: Return type: NXOpen.Assemblies.DegreesOfFreedomStatus
-------------------------------------
Setter Method
Signature
RotationDirection1Status(value)
Parameters: value ( NXOpen.Assemblies.DegreesOfFreedomStatus
) –
RotationDirection1¶
-
DegreesOfFreedom.
RotationDirection1
¶ First rotation direction.
-------------------------------------
Getter Method Signature
RotationDirection1()
Returns: Return type: NXOpen.Vector3d
-------------------------------------
Setter Method
Signature
RotationDirection1(value)
Parameters: value ( NXOpen.Vector3d
) –
BasePoint2Status¶
-
DegreesOfFreedom.
BasePoint2Status
¶ Second rotation base point status.
-------------------------------------
Getter Method Signature
BasePoint2Status()
Returns: Return type: NXOpen.Assemblies.DegreesOfFreedomStatus
-------------------------------------
Setter Method
Signature
BasePoint2Status(value)
Parameters: value ( NXOpen.Assemblies.DegreesOfFreedomStatus
) –
BasePoint2¶
-
DegreesOfFreedom.
BasePoint2
¶ Second rotation base point.
-------------------------------------
Getter Method Signature
BasePoint2()
Returns: Return type: NXOpen.Point3d
-------------------------------------
Setter Method
Signature
BasePoint2(value)
Parameters: value ( NXOpen.Point3d
) –
RotationDirection2Status¶
-
DegreesOfFreedom.
RotationDirection2Status
¶ Second rotation direction status.
-------------------------------------
Getter Method Signature
RotationDirection2Status()
Returns: Return type: NXOpen.Assemblies.DegreesOfFreedomStatus
-------------------------------------
Setter Method
Signature
RotationDirection2Status(value)
Parameters: value ( NXOpen.Assemblies.DegreesOfFreedomStatus
) –
RotationDirection2¶
-
DegreesOfFreedom.
RotationDirection2
¶ Second rotation direction.
-------------------------------------
Getter Method Signature
RotationDirection2()
Returns: Return type: NXOpen.Vector3d
-------------------------------------
Setter Method
Signature
RotationDirection2(value)
Parameters: value ( NXOpen.Vector3d
) –
TranslationDirection1Status¶
-
DegreesOfFreedom.
TranslationDirection1Status
¶ First translation direction status.
-------------------------------------
Getter Method Signature
TranslationDirection1Status()
Returns: Return type: NXOpen.Assemblies.DegreesOfFreedomStatus
-------------------------------------
Setter Method
Signature
TranslationDirection1Status(value)
Parameters: value ( NXOpen.Assemblies.DegreesOfFreedomStatus
) –
TranslationDirection1¶
-
DegreesOfFreedom.
TranslationDirection1
¶ First translation direction.
-------------------------------------
Getter Method Signature
TranslationDirection1()
Returns: Return type: NXOpen.Vector3d
-------------------------------------
Setter Method
Signature
TranslationDirection1(value)
Parameters: value ( NXOpen.Vector3d
) –
TranslationDirection2Status¶
-
DegreesOfFreedom.
TranslationDirection2Status
¶ Second translation direction status.
-------------------------------------
Getter Method Signature
TranslationDirection2Status()
Returns: Return type: NXOpen.Assemblies.DegreesOfFreedomStatus
-------------------------------------
Setter Method
Signature
TranslationDirection2Status(value)
Parameters: value ( NXOpen.Assemblies.DegreesOfFreedomStatus
) –
TranslationDirection2¶
-
DegreesOfFreedom.
TranslationDirection2
¶ Second translation direction.
-------------------------------------
Getter Method Signature
TranslationDirection2()
Returns: Return type: NXOpen.Vector3d
-------------------------------------
Setter Method
Signature
TranslationDirection2(value)
Parameters: value ( NXOpen.Vector3d
) –