DefineCamBuilder Class¶
-
class
NXOpen.Tooling.DefineCamBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Tooling.DefineCamBuilderto 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 PredefinedHydraulicOption None 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 |
| PredefinedHydraulicOption | Returns or sets the hydraulic motion |
| 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¶
| DefineCamBuilderPredefinedHydraulicOptions Enumeration | Specifies the predefined hydraulic motion types |
| DefineCamBuilderTypes Enumeration | Specifies the cam types |
Property Detail¶
CamName¶
-
DefineCamBuilder.CamName¶ Returns or sets the cam name
-------------------------------------Getter Method
Signature
CamNameReturns: Return type: str New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CamNameParameters: 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
CushionBodyReturns: Return type: NXOpen.SelectDisplayableObjectListNew 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
CushionDirectionReturns: Return type: NXOpen.DirectionNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CushionDirectionParameters: 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
CushionNameReturns: Return type: str New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CushionNameParameters: 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
LinearBackstopOffsetReturns: Return type: NXOpen.ExpressionNew in version NX10.0.0.
License requirements: None.
LinearCamBodies¶
-
DefineCamBuilder.LinearCamBodies¶ Returns the linear cam body
-------------------------------------Getter Method
Signature
LinearCamBodiesReturns: Return type: NXOpen.SelectDisplayableObjectListNew 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
LinearDirectionReturns: Return type: NXOpen.DirectionNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LinearDirectionParameters: 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
LinearDriveBodiesReturns: Return type: NXOpen.SelectDisplayableObjectListNew in version NX10.0.0.
License requirements: None.
MotionDistance¶
-
DefineCamBuilder.MotionDistance¶ Returns or sets the motion distance
-------------------------------------Getter Method
Signature
MotionDistanceReturns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MotionDistanceParameters: motionDistance (float) – New in version NX10.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
PredefinedHydraulicOption¶
-
DefineCamBuilder.PredefinedHydraulicOption¶ Returns or sets the hydraulic motion
-------------------------------------Getter Method
Signature
PredefinedHydraulicOptionReturns: Return type: NXOpen.Tooling.DefineCamBuilderPredefinedHydraulicOptionsNew in version NX10.0.3.
License requirements: None.
-------------------------------------Setter Method
Signature
PredefinedHydraulicOptionParameters: predefinedHydraulicOption ( NXOpen.Tooling.DefineCamBuilderPredefinedHydraulicOptions) –New in version NX10.0.3.
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
PressStartAngleReturns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PressStartAngleParameters: 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
PressStopAngleReturns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PressStopAngleParameters: 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
ReturnStartAngleReturns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReturnStartAngleParameters: 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
ReturnStopAngleReturns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReturnStopAngleParameters: 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
RockerAxisBackstopOffsetReturns: Return type: NXOpen.ExpressionNew 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
RockerAxisDirectionReturns: Return type: NXOpen.AxisNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RockerAxisDirectionParameters: 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
RockerCamBodiesReturns: Return type: NXOpen.SelectDisplayableObjectListNew 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
RockerCamDirectionReturns: Return type: NXOpen.DirectionNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RockerCamDirectionParameters: 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
RockerCamRockerBodiesReturns: Return type: NXOpen.SelectDisplayableObjectListNew 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
RockerDriveBodiesReturns: Return type: NXOpen.SelectDisplayableObjectListNew 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
RotaryBackstopOffsetReturns: Return type: NXOpen.ExpressionNew in version NX10.0.0.
License requirements: None.
RotaryCamBodies¶
-
DefineCamBuilder.RotaryCamBodies¶ Returns the rotary cam body
-------------------------------------Getter Method
Signature
RotaryCamBodiesReturns: Return type: NXOpen.SelectDisplayableObjectListNew 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
RotaryDirectionReturns: Return type: NXOpen.AxisNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RotaryDirectionParameters: 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
RotaryDriveBodiesReturns: Return type: NXOpen.SelectDisplayableObjectListNew in version NX10.0.0.
License requirements: None.
Type¶
-
DefineCamBuilder.Type¶ Returns or sets the define cam type
-------------------------------------Getter Method
Signature
TypeReturns: Return type: NXOpen.Tooling.DefineCamBuilderTypesNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: 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) – 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) – 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) – 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) – 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.