NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Motion::JointDefine Class Reference

Represents a joint define object
Created in NX5.0.0. More...

Inheritance diagram for NXOpen::Motion::JointDefine:
NXOpen::TaggedObject

Public Types

enum  OrientationType { OrientationTypeVector, OrientationTypeCsys }
 Defines the orientation type of joint. More...
 
enum  Type {
  TypeRevolute, TypeSlider, TypeCylindrical, TypeScrew,
  TypeUniversal, TypeSpherical, TypePlanar, TypeFixed,
  TypeConstantvelocity, TypeAtpoint, TypeInline, TypeInplane,
  TypeOrientation, TypeParallel, TypePerpendicular
}
 Joint define type. More...
 

Public Member Functions

double DisplayScale ()
 Returns the display scale
Created in NX5.0.0. More...
 
NXOpen::CoordinateSystemFirstCsys ()
 Returns the csys of first link
Created in NX5.0.0. More...
 
NXOpen::Motion::LinkFirstLink ()
 Returns the first link object
Created in NX5.0.0. More...
 
NXOpen::NXMatrixFirstMatrix ()
 Returns the matrix of first link
Created in NX5.0.0. More...
 
NXOpen::Motion::JointDefine::OrientationType FirstOrientationType ()
 Returns the first orientation type of joint
Created in NX8.0.0. More...
 
NXOpen::PointFirstOrigin ()
 Returns the origin of first link
Created in NX5.0.0. More...
 
NXOpen::DirectionFirstVector ()
 Returns the direction of first link
Created in NX5.0.0. More...
 
NXOpen::Motion::JointDefine::Type JointType ()
 Returns the joint type
Created in NX5.0.0. More...
 
bool LimitsDefined ()
 Returns the option of defining limits for joint
Created in NX5.0.0. More...
 
double LowerLimit ()
 Returns the lower limit. More...
 
NXOpen::ExpressionLowerLimitAngleExpression ()
 Returns the lower limit angular expression. More...
 
NXOpen::ExpressionLowerLimitExpression ()
 Returns the lower limit expression. More...
 
NXString Name ()
 Returns the joint name
Created in NX5.0.0. More...
 
double ScrewRatio ()
 Returns the screw ratio. More...
 
NXOpen::ExpressionScrewRatioExpression ()
 Returns the screw ratio expression. More...
 
NXOpen::CoordinateSystemSecondCsys ()
 Returns the csys of second link
Created in NX5.0.0. More...
 
NXOpen::Motion::LinkSecondLink ()
 Returns the second link
Created in NX5.0.0. More...
 
NXOpen::NXMatrixSecondMatrix ()
 Returns the matrix of second link
Created in NX5.0.0. More...
 
NXOpen::Motion::JointDefine::OrientationType SecondOrientationType ()
 Returns the second orientation type of joint
Created in NX8.0.0. More...
 
NXOpen::PointSecondOrigin ()
 Returns the origin of second link
Created in NX5.0.0. More...
 
NXOpen::DirectionSecondVector ()
 Returns the direction of second link
Created in NX5.0.0. More...
 
void SetDisplayScale (double displayScale)
 Sets the display scale
Created in NX5.0.0. More...
 
void SetFirstCsys (NXOpen::CoordinateSystem *csys1)
 Sets the csys of first link
Created in NX5.0.0. More...
 
void SetFirstLink (NXOpen::Motion::Link *link1)
 Sets the first link object
Created in NX5.0.0. More...
 
void SetFirstMatrix (NXOpen::NXMatrix *matrix1)
 Sets the matrix of first link
Created in NX5.0.0. More...
 
void SetFirstOrientationType (NXOpen::Motion::JointDefine::OrientationType orientationType)
 Sets the first orientation type of joint
Created in NX8.0.0. More...
 
void SetFirstOrigin (NXOpen::Point *origin1)
 Sets the origin of first link
Created in NX5.0.0. More...
 
void SetFirstVector (NXOpen::Direction *vector1)
 Sets the direction of first link
Created in NX5.0.0. More...
 
void SetJointType (NXOpen::Motion::JointDefine::Type jointType)
 Sets the joint type
Created in NX5.0.0. More...
 
void SetLimitsDefined (bool limitsDefined)
 Sets the option of defining limits for joint
Created in NX5.0.0. More...
 
void SetLowerLimit (double lowerLimit)
 Sets the lower limit. More...
 
void SetName (const NXString &jointName)
 Sets the joint name
Created in NX5.0.0. More...
 
void SetName (const char *jointName)
 Sets the joint name
Created in NX5.0.0. More...
 
void SetScrewRatio (double screwRatio)
 Sets the screw ratio. More...
 
void SetSecondCsys (NXOpen::CoordinateSystem *csys2)
 Sets the csys of second link
Created in NX5.0.0. More...
 
void SetSecondLink (NXOpen::Motion::Link *link2)
 Sets the second link
Created in NX5.0.0. More...
 
void SetSecondMatrix (NXOpen::NXMatrix *matrix2)
 Sets the matrix of second link
Created in NX5.0.0. More...
 
void SetSecondOrientationType (NXOpen::Motion::JointDefine::OrientationType orientationType)
 Sets the second orientation type of joint
Created in NX8.0.0. More...
 
void SetSecondOrigin (NXOpen::Point *origin2)
 Sets the origin of second link
Created in NX5.0.0. More...
 
void SetSecondVector (NXOpen::Direction *vector2)
 Sets the direction of second link
Created in NX5.0.0. More...
 
void SetSnapLinks (bool snapLinks)
 Sets the option of snap links
Created in NX5.0.0. More...
 
void SetUpperLimit (double upperLimit)
 Sets the upper limit. More...
 
bool SnapLinks ()
 Returns the option of snap links
Created in NX5.0.0. More...
 
double UpperLimit ()
 Returns the upper limit. More...
 
NXOpen::ExpressionUpperLimitAngleExpression ()
 Returns the upper limit angular expression. More...
 
NXOpen::ExpressionUpperLimitExpression ()
 Returns the upper limit expression. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a joint define object
Created in NX5.0.0.


Member Enumeration Documentation

Defines the orientation type of joint.

Enumerator
OrientationTypeVector 

Vector orientation type.

OrientationTypeCsys 

CSYS orientation type.

Joint define type.

Enumerator
TypeRevolute 

This joint type is a single axis rotation.

This joint removes 5 degrees of freedom. The origins of csys_1 and csys_2 are identical and the z axes of csys_1 and csys_2 are colinear and codirected.

TypeSlider 

This joint type is a single translation.

This joint removes 5 degrees of freedom. The orientations of csys_1 and csys_2 are identical and the z axes are colinear and codirected.

TypeCylindrical 

This joint type is a single rotation and a single translation.

This joint removes 4 degrees of freedom. The z axes of csys_1 and csys_2 are colinear and codirected

TypeScrew 

This joint type is used to couple the rotation and translation of a cylindrical joint to remove one degree of freedom.

It should be created on the same pair of links as the cylindrical joint. If the screw joint needs to be driven, it may be coupled with a revolution joint and a slider joint instead.

TypeUniversal 

This joint type allows two rotations.

It removes 4 degrees of freedom. The origins of csys_1 and csys_2 are identical. The rotations about the x axis of csys_2 are equal and opposite to the rotations about the x axis of csys_1.

TypeSpherical 

This joint type allows three rotations.

It removes 3 degrees of freedom. The origins of csys_1 and csys_2 are identical

TypePlanar 

This joint type allows a single rotation and two translations.

It removes three degrees of freedom. The z axes of csys_1 and csys_2 are parallel and codirected. The origins of csys_1 and csys_2 are in a common x-y plane.

TypeFixed 

This Joint fixes a link or weld two links, It removes 6 degrees of freedom.

TypeConstantvelocity 

This joint type allows 2 rotation DOFs, rotation about both z axes of the joint markers, Rotation about the second marker's z-axis is equal and opposite to the first marker's rotation.

A constant velocity joint is similar to a universal joint, but the exit angle of a constant velocity joint is equal to the entry angle.The origins of csys_1 and csys_2 are identical.

TypeAtpoint 

This joint type allows 3 DOF: Markers are always coincident, and only rotational motion is allowed.

TypeInline 

This joint type indicates a four-degree-of-freedom (3R + 1T DOF) primitive that allows one translational and three rotational motions of one part with respect to another.One part so that it can only move along a straight line defined on a second part.

The location of the inline joint on the first part must remain on the z-axis of the second part.

TypeInplane 

One part so that it can only move in a plane of a second part.

The origin of the inplane joint on the first part must remain in the xy plane of the second part.Indicates a five-degree-of-freedom (3R + 2T DOF) primitive that allows both translational and rotational motion of one part with respect to another.For an inplane primitive, ADAMS/Solver imposes one translational constraint, which confines the translational motion of the I marker to the x-y plane of the J marker.

TypeOrientation 

The coordinate system of one part so that it cannot rotate with respect to a second part.

The axes of the coordinate systems must maintain the same orientation. The location of the origins of the coordinate systems does not matter.Indicates a three-degree-of-freedom (3T DOF) primitive that allows only translational motion of one part with respect to another . For an orientation primitive, Solver imposes three rotational constraints to keep the orientation of the I marker identical to the orientation of the J marker.

TypeParallel 

This joint type indicates a four-degree-of-freedom(1R + 3T DOF) primitive that allows both translational and rotational motion of one part with respect to another .

For a parallel axes primitive, Solver imposes two rotational constraints so that the z-axis of the I marker stays parallel to the z-axis of the J marker. This primitive permits relative rotation about the common z-axis of I and J and permits all relative displacements.

TypePerpendicular 

This joint type indicates a five-degree-of-freedom (2R +3T DOF) primitive that allows both translational and rotational motion of one part with respect to Another.

For a perpendicular primitive, Solver imposes a single rotational constraint on the I and the J markers so that their z-axes remain perpendicular. This allows relative rotations about either z-axis, but does not allow any relative rotation in the direction perpendicular to both z-axes.

Member Function Documentation

double NXOpen::Motion::JointDefine::DisplayScale ( )

Returns the display scale
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

NXOpen::CoordinateSystem* NXOpen::Motion::JointDefine::FirstCsys ( )

Returns the csys of first link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

NXOpen::Motion::Link* NXOpen::Motion::JointDefine::FirstLink ( )

Returns the first link object
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

NXOpen::NXMatrix* NXOpen::Motion::JointDefine::FirstMatrix ( )

Returns the matrix of first link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

NXOpen::Motion::JointDefine::OrientationType NXOpen::Motion::JointDefine::FirstOrientationType ( )

Returns the first orientation type of joint
Created in NX8.0.0.



License requirements : mechanisms ("MECHANISMS")

NXOpen::Point* NXOpen::Motion::JointDefine::FirstOrigin ( )

Returns the origin of first link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

NXOpen::Direction* NXOpen::Motion::JointDefine::FirstVector ( )

Returns the direction of first link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

NXOpen::Motion::JointDefine::Type NXOpen::Motion::JointDefine::JointType ( )

Returns the joint type
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

bool NXOpen::Motion::JointDefine::LimitsDefined ( )

Returns the option of defining limits for joint
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

double NXOpen::Motion::JointDefine::LowerLimit ( )

Returns the lower limit.

Only used when limits option is TRUE

Deprecated:
Deprecated in NX8.0.0. Obtain the expression using Motion::JointDefine::LowerLimitExpression or Motion::JointDefine::LowerLimitAngleExpression to query or edit it.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

NXOpen::Expression* NXOpen::Motion::JointDefine::LowerLimitAngleExpression ( )

Returns the lower limit angular expression.

Only used when limits option is TRUE
Created in NX8.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Motion::JointDefine::LowerLimitExpression ( )

Returns the lower limit expression.

Only used when limits option is TRUE
Created in NX8.0.0.

License requirements : None

NXString NXOpen::Motion::JointDefine::Name ( )

Returns the joint name
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

double NXOpen::Motion::JointDefine::ScrewRatio ( )

Returns the screw ratio.

Used only when joint subtype is Motion::JointDefine::TypeScrew , which is the pitch of a screw's thread

Deprecated:
Deprecated in NX8.0.0. Obtain the expression using Motion::JointDefine::ScrewRatioExpression to query or edit it.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

NXOpen::Expression* NXOpen::Motion::JointDefine::ScrewRatioExpression ( )

Returns the screw ratio expression.

Used only when joint subtype is Motion::JointDefine::TypeScrew , which is the pitch of a screw's thread
Created in NX8.0.0.

License requirements : None

NXOpen::CoordinateSystem* NXOpen::Motion::JointDefine::SecondCsys ( )

Returns the csys of second link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

NXOpen::Motion::Link* NXOpen::Motion::JointDefine::SecondLink ( )

Returns the second link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

NXOpen::NXMatrix* NXOpen::Motion::JointDefine::SecondMatrix ( )

Returns the matrix of second link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

NXOpen::Motion::JointDefine::OrientationType NXOpen::Motion::JointDefine::SecondOrientationType ( )

Returns the second orientation type of joint
Created in NX8.0.0.



License requirements : mechanisms ("MECHANISMS")

NXOpen::Point* NXOpen::Motion::JointDefine::SecondOrigin ( )

Returns the origin of second link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

NXOpen::Direction* NXOpen::Motion::JointDefine::SecondVector ( )

Returns the direction of second link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

void NXOpen::Motion::JointDefine::SetDisplayScale ( double  displayScale)

Sets the display scale
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
displayScaledisplay scale
void NXOpen::Motion::JointDefine::SetFirstCsys ( NXOpen::CoordinateSystem csys1)

Sets the csys of first link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
csys1csys1
void NXOpen::Motion::JointDefine::SetFirstLink ( NXOpen::Motion::Link link1)

Sets the first link object
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
link1link1
void NXOpen::Motion::JointDefine::SetFirstMatrix ( NXOpen::NXMatrix matrix1)

Sets the matrix of first link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
matrix1matrix1
void NXOpen::Motion::JointDefine::SetFirstOrientationType ( NXOpen::Motion::JointDefine::OrientationType  orientationType)

Sets the first orientation type of joint
Created in NX8.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
orientationTypeorientationtype
void NXOpen::Motion::JointDefine::SetFirstOrigin ( NXOpen::Point origin1)

Sets the origin of first link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
origin1origin1
void NXOpen::Motion::JointDefine::SetFirstVector ( NXOpen::Direction vector1)

Sets the direction of first link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
vector1vector1
void NXOpen::Motion::JointDefine::SetJointType ( NXOpen::Motion::JointDefine::Type  jointType)

Sets the joint type
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
jointTypejoint type
void NXOpen::Motion::JointDefine::SetLimitsDefined ( bool  limitsDefined)

Sets the option of defining limits for joint
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
limitsDefinedlimits defined
void NXOpen::Motion::JointDefine::SetLowerLimit ( double  lowerLimit)

Sets the lower limit.

Only used when limits option is TRUE

Deprecated:
Deprecated in NX8.0.0. Obtain the expression using Motion::JointDefine::LowerLimitExpression or Motion::JointDefine::LowerLimitAngleExpression to query or edit it.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
lowerLimitlower limit
void NXOpen::Motion::JointDefine::SetName ( const NXString jointName)

Sets the joint name
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
jointNamejoint name
void NXOpen::Motion::JointDefine::SetName ( const char *  jointName)

Sets the joint name
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
jointNamejoint name
void NXOpen::Motion::JointDefine::SetScrewRatio ( double  screwRatio)

Sets the screw ratio.

Used only when joint subtype is Motion::JointDefine::TypeScrew , which is the pitch of a screw's thread

Deprecated:
Deprecated in NX8.0.0. Obtain the expression using Motion::JointDefine::ScrewRatioExpression to query or edit it.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
screwRatioscrew ratio
void NXOpen::Motion::JointDefine::SetSecondCsys ( NXOpen::CoordinateSystem csys2)

Sets the csys of second link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
csys2csys2
void NXOpen::Motion::JointDefine::SetSecondLink ( NXOpen::Motion::Link link2)

Sets the second link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
link2link2
void NXOpen::Motion::JointDefine::SetSecondMatrix ( NXOpen::NXMatrix matrix2)

Sets the matrix of second link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
matrix2matrix2
void NXOpen::Motion::JointDefine::SetSecondOrientationType ( NXOpen::Motion::JointDefine::OrientationType  orientationType)

Sets the second orientation type of joint
Created in NX8.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
orientationTypeorientationtype
void NXOpen::Motion::JointDefine::SetSecondOrigin ( NXOpen::Point origin2)

Sets the origin of second link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
origin2origin2
void NXOpen::Motion::JointDefine::SetSecondVector ( NXOpen::Direction vector2)

Sets the direction of second link
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
vector2vector2
void NXOpen::Motion::JointDefine::SetSnapLinks ( bool  snapLinks)

Sets the option of snap links
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
snapLinkssnap links
void NXOpen::Motion::JointDefine::SetUpperLimit ( double  upperLimit)

Sets the upper limit.

Only used when limits option is TRUE

Deprecated:
Deprecated in NX8.0.0. Obtain the expression using Motion::JointDefine::UpperLimitExpression or Motion::JointDefine::UpperLimitAngleExpression to query or edit it.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
upperLimitupper limit
bool NXOpen::Motion::JointDefine::SnapLinks ( )

Returns the option of snap links
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

double NXOpen::Motion::JointDefine::UpperLimit ( )

Returns the upper limit.

Only used when limits option is TRUE

Deprecated:
Deprecated in NX8.0.0. Obtain the expression using Motion::JointDefine::UpperLimitExpression or Motion::JointDefine::UpperLimitAngleExpression to query or edit it.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

NXOpen::Expression* NXOpen::Motion::JointDefine::UpperLimitAngleExpression ( )

Returns the upper limit angular expression.

Only used when limits option is TRUE
Created in NX8.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Motion::JointDefine::UpperLimitExpression ( )

Returns the upper limit expression.

Only used when limits option is TRUE
Created in NX8.0.0.

License requirements : None


The documentation for this class was generated from the following file:
Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.