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. . Constructor: NXOpen.Assemblies.DegreesOfFreedom()

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 -------------------------------------

Field Value Type:NXOpen.Assemblies.DegreesOfFreedomResult

NumRotational

DegreesOfFreedom.NumRotational

Number of static and free rotational degrees of freedom.

-------------------------------------

Field Value Type:int

NumTranslational

DegreesOfFreedom.NumTranslational

Number of static and free translational degrees of freedom.

-------------------------------------

Field Value Type:int

NumInstantaneousRotational

DegreesOfFreedom.NumInstantaneousRotational

Number of instantaneous rotational degrees of freedom.

-------------------------------------

Field Value Type:int

NumInstantaneousTranslational

DegreesOfFreedom.NumInstantaneousTranslational

Number of instantaneous translational degrees of freedom.

-------------------------------------

Field Value Type:int

BasePoint1Status

DegreesOfFreedom.BasePoint1Status

First rotation base point status.

-------------------------------------

Field Value Type:NXOpen.Assemblies.DegreesOfFreedomStatus

BasePoint1

DegreesOfFreedom.BasePoint1

First rotation base point.

-------------------------------------

Field Value Type:NXOpen.Point3d

RotationDirection1Status

DegreesOfFreedom.RotationDirection1Status

First rotation direction status.

-------------------------------------

Field Value Type:NXOpen.Assemblies.DegreesOfFreedomStatus

RotationDirection1

DegreesOfFreedom.RotationDirection1

First rotation direction.

-------------------------------------

Field Value Type:NXOpen.Vector3d

BasePoint2Status

DegreesOfFreedom.BasePoint2Status

Second rotation base point status.

-------------------------------------

Field Value Type:NXOpen.Assemblies.DegreesOfFreedomStatus

BasePoint2

DegreesOfFreedom.BasePoint2

Second rotation base point.

-------------------------------------

Field Value Type:NXOpen.Point3d

RotationDirection2Status

DegreesOfFreedom.RotationDirection2Status

Second rotation direction status.

-------------------------------------

Field Value Type:NXOpen.Assemblies.DegreesOfFreedomStatus

RotationDirection2

DegreesOfFreedom.RotationDirection2

Second rotation direction.

-------------------------------------

Field Value Type:NXOpen.Vector3d

TranslationDirection1Status

DegreesOfFreedom.TranslationDirection1Status

First translation direction status.

-------------------------------------

Field Value Type:NXOpen.Assemblies.DegreesOfFreedomStatus

TranslationDirection1

DegreesOfFreedom.TranslationDirection1

First translation direction.

-------------------------------------

Field Value Type:NXOpen.Vector3d

TranslationDirection2Status

DegreesOfFreedom.TranslationDirection2Status

Second translation direction status.

-------------------------------------

Field Value Type:NXOpen.Assemblies.DegreesOfFreedomStatus

TranslationDirection2

DegreesOfFreedom.TranslationDirection2

Second translation direction.

-------------------------------------

Field Value Type:NXOpen.Vector3d