DefineCamBuilder Class¶
-
class
NXOpen.Tooling.
DefineCamBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.Tooling.DefineCamBuilder
to create different types of cam objects, which are used for kinematic motionTo create a new instance of this class, use
NXOpen.Tooling.ProgressiveDieManager.CreateDefineCamBuilder
Default values.
Property Value LinearBackstopOffset.Value 0 (millimeters part), 0 (inches part) MotionDistance 0 PressStartAngle 0 PressStopAngle 90 ReturnStartAngle 180 ReturnStopAngle 270 RockerAxisBackstopOffset.Value 0 (millimeters part), 0 (inches part) RotaryBackstopOffset.Value 0 (millimeters part), 0 (inches part) New in version NX10.0.0.
Properties¶
Property | Description |
---|---|
CamName | Returns or sets the cam name |
CushionBody | Returns the cushion body, actually, it often is the bolster body to do the kinematic motion |
CushionDirection | Returns or sets the cushion direction that the cushion body moves along |
CushionName | Returns or sets the cushion name |
LinearBackstopOffset | Returns the linear backstop offset value, which affects the initial position of linear cam body |
LinearCamBodies | Returns the linear cam body |
LinearDirection | Returns or sets the linear direction is the direction linear cam body move offset along |
LinearDriveBodies | Returns the linear drive body which drives the linear body |
MotionDistance | Returns or sets the motion distance |
PressStartAngle | Returns or sets the press start angle |
PressStopAngle | Returns or sets the press stop angle |
ReturnStartAngle | Returns or sets the return start angle |
ReturnStopAngle | Returns or sets the return stop angle |
RockerAxisBackstopOffset | Returns the rocker axis backstop offset, which affects the initial position of rocker body |
RockerAxisDirection | Returns or sets the rocker axis direction that the rocker body rotates around |
RockerCamBodies | Returns the rocker cam body |
RockerCamDirection | Returns or sets the rocker cam direction that the cam body moves along |
RockerCamRockerBodies | Returns the rocker body of rocker cam |
RockerDriveBodies | Returns the rocker drive body which drives the rotary body of rocker cam |
RotaryBackstopOffset | Returns the rotary backstop offset, which affects the initial position of rotary cam body |
RotaryCamBodies | Returns the rotary cam body |
RotaryDirection | Returns or sets the rotary direction that the rotary body rotates around |
RotaryDriveBodies | Returns the rotary drive body which drives the rotary body |
Tag | Returns the Tag for this object. |
Type | Returns or sets the define cam type |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
DeleteCushion | Delete the cushion |
DeleteLinearCam | Delete the linear cam |
DeleteRockerCam | Delete the rocker cam |
DeleteRotaryCam | Delete the rotary cam |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetObject | Returns the object currently being edited by this builder. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
DefineCamBuilderTypes Enumeration | Specifies the cam types |
Property Detail¶
CamName¶
-
DefineCamBuilder.
CamName
¶ Returns or sets the cam name
-------------------------------------
Getter Method
Signature
CamName()
Returns: Return type: str New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CamName(camName)
Parameters: camName (str) – New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
CushionBody¶
-
DefineCamBuilder.
CushionBody
¶ Returns the cushion body, actually, it often is the bolster body to do the kinematic motion
-------------------------------------
Getter Method
Signature
CushionBody()
Returns: Return type: NXOpen.SelectDisplayableObjectList
New in version NX10.0.0.
License requirements: None.
CushionDirection¶
-
DefineCamBuilder.
CushionDirection
¶ Returns or sets the cushion direction that the cushion body moves along
-------------------------------------
Getter Method
Signature
CushionDirection()
Returns: Return type: NXOpen.Direction
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CushionDirection(cushionDirection)
Parameters: cushionDirection ( NXOpen.Direction
) –New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
CushionName¶
-
DefineCamBuilder.
CushionName
¶ Returns or sets the cushion name
-------------------------------------
Getter Method
Signature
CushionName()
Returns: Return type: str New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CushionName(cushionName)
Parameters: cushionName (str) – New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
LinearBackstopOffset¶
-
DefineCamBuilder.
LinearBackstopOffset
¶ Returns the linear backstop offset value, which affects the initial position of linear cam body
-------------------------------------
Getter Method
Signature
LinearBackstopOffset()
Returns: Return type: NXOpen.Expression
New in version NX10.0.0.
License requirements: None.
LinearCamBodies¶
-
DefineCamBuilder.
LinearCamBodies
¶ Returns the linear cam body
-------------------------------------
Getter Method
Signature
LinearCamBodies()
Returns: Return type: NXOpen.SelectDisplayableObjectList
New in version NX10.0.0.
License requirements: None.
LinearDirection¶
-
DefineCamBuilder.
LinearDirection
¶ Returns or sets the linear direction is the direction linear cam body move offset along
-------------------------------------
Getter Method
Signature
LinearDirection()
Returns: Return type: NXOpen.Direction
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LinearDirection(linearDirection)
Parameters: linearDirection ( NXOpen.Direction
) –New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
LinearDriveBodies¶
-
DefineCamBuilder.
LinearDriveBodies
¶ Returns the linear drive body which drives the linear body
-------------------------------------
Getter Method
Signature
LinearDriveBodies()
Returns: Return type: NXOpen.SelectDisplayableObjectList
New in version NX10.0.0.
License requirements: None.
MotionDistance¶
-
DefineCamBuilder.
MotionDistance
¶ Returns or sets the motion distance
-------------------------------------
Getter Method
Signature
MotionDistance()
Returns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MotionDistance(motionDistance)
Parameters: motionDistance (float) – New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
PressStartAngle¶
-
DefineCamBuilder.
PressStartAngle
¶ Returns or sets the press start angle
-------------------------------------
Getter Method
Signature
PressStartAngle()
Returns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PressStartAngle(pressStartAngle)
Parameters: pressStartAngle (float) – New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
PressStopAngle¶
-
DefineCamBuilder.
PressStopAngle
¶ Returns or sets the press stop angle
-------------------------------------
Getter Method
Signature
PressStopAngle()
Returns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PressStopAngle(pressStopAngle)
Parameters: pressStopAngle (float) – New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
ReturnStartAngle¶
-
DefineCamBuilder.
ReturnStartAngle
¶ Returns or sets the return start angle
-------------------------------------
Getter Method
Signature
ReturnStartAngle()
Returns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ReturnStartAngle(returnStartAngle)
Parameters: returnStartAngle (float) – New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
ReturnStopAngle¶
-
DefineCamBuilder.
ReturnStopAngle
¶ Returns or sets the return stop angle
-------------------------------------
Getter Method
Signature
ReturnStopAngle()
Returns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ReturnStopAngle(returnStopAngle)
Parameters: returnStopAngle (float) – New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
RockerAxisBackstopOffset¶
-
DefineCamBuilder.
RockerAxisBackstopOffset
¶ Returns the rocker axis backstop offset, which affects the initial position of rocker body
-------------------------------------
Getter Method
Signature
RockerAxisBackstopOffset()
Returns: Return type: NXOpen.Expression
New in version NX10.0.0.
License requirements: None.
RockerAxisDirection¶
-
DefineCamBuilder.
RockerAxisDirection
¶ Returns or sets the rocker axis direction that the rocker body rotates around
-------------------------------------
Getter Method
Signature
RockerAxisDirection()
Returns: Return type: NXOpen.Axis
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RockerAxisDirection(rockerAxisDirection)
Parameters: rockerAxisDirection ( NXOpen.Axis
) –New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
RockerCamBodies¶
-
DefineCamBuilder.
RockerCamBodies
¶ Returns the rocker cam body
-------------------------------------
Getter Method
Signature
RockerCamBodies()
Returns: Return type: NXOpen.SelectDisplayableObjectList
New in version NX10.0.0.
License requirements: None.
RockerCamDirection¶
-
DefineCamBuilder.
RockerCamDirection
¶ Returns or sets the rocker cam direction that the cam body moves along
-------------------------------------
Getter Method
Signature
RockerCamDirection()
Returns: Return type: NXOpen.Direction
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RockerCamDirection(rockerCamDirection)
Parameters: rockerCamDirection ( NXOpen.Direction
) –New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
RockerCamRockerBodies¶
-
DefineCamBuilder.
RockerCamRockerBodies
¶ Returns the rocker body of rocker cam
-------------------------------------
Getter Method
Signature
RockerCamRockerBodies()
Returns: Return type: NXOpen.SelectDisplayableObjectList
New in version NX10.0.0.
License requirements: None.
RockerDriveBodies¶
-
DefineCamBuilder.
RockerDriveBodies
¶ Returns the rocker drive body which drives the rotary body of rocker cam
-------------------------------------
Getter Method
Signature
RockerDriveBodies()
Returns: Return type: NXOpen.SelectDisplayableObjectList
New in version NX10.0.0.
License requirements: None.
RotaryBackstopOffset¶
-
DefineCamBuilder.
RotaryBackstopOffset
¶ Returns the rotary backstop offset, which affects the initial position of rotary cam body
-------------------------------------
Getter Method
Signature
RotaryBackstopOffset()
Returns: Return type: NXOpen.Expression
New in version NX10.0.0.
License requirements: None.
RotaryCamBodies¶
-
DefineCamBuilder.
RotaryCamBodies
¶ Returns the rotary cam body
-------------------------------------
Getter Method
Signature
RotaryCamBodies()
Returns: Return type: NXOpen.SelectDisplayableObjectList
New in version NX10.0.0.
License requirements: None.
RotaryDirection¶
-
DefineCamBuilder.
RotaryDirection
¶ Returns or sets the rotary direction that the rotary body rotates around
-------------------------------------
Getter Method
Signature
RotaryDirection()
Returns: Return type: NXOpen.Axis
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RotaryDirection(rotaryDirection)
Parameters: rotaryDirection ( NXOpen.Axis
) –New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
RotaryDriveBodies¶
-
DefineCamBuilder.
RotaryDriveBodies
¶ Returns the rotary drive body which drives the rotary body
-------------------------------------
Getter Method
Signature
RotaryDriveBodies()
Returns: Return type: NXOpen.SelectDisplayableObjectList
New in version NX10.0.0.
License requirements: None.
Type¶
-
DefineCamBuilder.
Type
¶ Returns or sets the define cam type
-------------------------------------
Getter Method
Signature
Type()
Returns: Return type: NXOpen.Tooling.DefineCamBuilderTypes
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Type(type)
Parameters: type ( NXOpen.Tooling.DefineCamBuilderTypes
) –New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
Method Detail¶
DeleteCushion¶
-
DefineCamBuilder.
DeleteCushion
¶ Delete the cushion
Signature
DeleteCushion(cushionName)
Parameters: cushionName (str) – NOTE: The full Unicode character set is not supported for this parameter. New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
DeleteLinearCam¶
-
DefineCamBuilder.
DeleteLinearCam
¶ Delete the linear cam
Signature
DeleteLinearCam(camName)
Parameters: camName (str) – NOTE: The full Unicode character set is not supported for this parameter. New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
DeleteRockerCam¶
-
DefineCamBuilder.
DeleteRockerCam
¶ Delete the rocker cam
Signature
DeleteRockerCam(camName)
Parameters: camName (str) – NOTE: The full Unicode character set is not supported for this parameter. New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
DeleteRotaryCam¶
-
DefineCamBuilder.
DeleteRotaryCam
¶ Delete the rotary cam
Signature
DeleteRotaryCam(camName)
Parameters: camName (str) – NOTE: The full Unicode character set is not supported for this parameter. New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
Validate¶
-
DefineCamBuilder.
Validate
¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()
Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.