DieEngTrimAngleCheckBuilder Class¶
-
class
NXOpen.Tooling.DieEngTrimAngleCheckBuilder¶ Bases:
NXOpen.BuilderRepresents a Trim Angle Check builder
To create a new instance of this class, use
NXOpen.Tooling.AutoDieCollection.CreateDieEngTrimAngleCheckBuilder()Default values.
Property Value CheckPointSpacing.Value 25.4 (millimeters part), 1 (inches part) DirectionOption ByVector ElevationAngle.Value 90 LineScale 1 MaxAngle.Value 20 MinAngle.Value -15 PlaneAngle.Value 0 New in version NX8.5.0.
Properties¶
| Property | Description |
|---|---|
| AutoFit | Returns or sets the option to indicate whether to fit or not when selecting trimming curve(s) on the trimming curve list |
| CheckPointSpacing | Returns the maximum distance between two check points |
| DirectionOption | Returns or sets the option to set the method of defining trimming direction |
| ElevationAngle | Returns the elevation angle |
| HideSafeZone | Returns or sets the option to indicate whether to hide the feedback objects whose trim angles are in the safe zone or not |
| LineScale | Returns or sets the line scale |
| MaxAngle | Returns the upper limit of a valid trim angle |
| MinAngle | Returns the lower limit of a valid trim angle |
| PlaneAngle | Returns the plane angle |
| Tag | Returns the Tag for this object. |
| TrimmingCurves | Returns the trimming curves |
| TrimmingDirection | Returns or sets the trimming direction |
| TrimmingFaces | Returns the trimming faces |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| 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. |
| GetJoinedSelectedCurves | Get the joined trimming curves. |
| GetObject | Returns the object currently being edited by this builder. |
| GetTrimSideTags | Get the vector tags of joined trimming curve trim sides. |
| JoinCurvesAndEdges | Join the input curves and edges. |
| SetJoinedSelectedCurves | Set the joined trimming curves. |
| SetTrimSideTags | Set the vector tags of joined trimming curve trim sides. |
| 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¶
| DieEngTrimAngleCheckBuilderDirectionOptions Enumeration | Options to determine the method to specify direction. |
Property Detail¶
AutoFit¶
-
DieEngTrimAngleCheckBuilder.AutoFit¶ Returns or sets the option to indicate whether to fit or not when selecting trimming curve(s) on the trimming curve list
-------------------------------------Getter Method
Signature
AutoFitReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AutoFitParameters: autoFit (bool) – New in version NX8.5.0.
License requirements: die_engineering (“DIE ENGINEERING”)
CheckPointSpacing¶
-
DieEngTrimAngleCheckBuilder.CheckPointSpacing¶ Returns the maximum distance between two check points
-------------------------------------Getter Method
Signature
CheckPointSpacingReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: None.
DirectionOption¶
-
DieEngTrimAngleCheckBuilder.DirectionOption¶ Returns or sets the option to set the method of defining trimming direction
-------------------------------------Getter Method
Signature
DirectionOptionReturns: Return type: NXOpen.Tooling.DieEngTrimAngleCheckBuilderDirectionOptionsNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DirectionOptionParameters: directionOption ( NXOpen.Tooling.DieEngTrimAngleCheckBuilderDirectionOptions) –New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
ElevationAngle¶
-
DieEngTrimAngleCheckBuilder.ElevationAngle¶ Returns the elevation angle
-------------------------------------Getter Method
Signature
ElevationAngleReturns: Return type: NXOpen.ExpressionNew in version NX9.0.0.
License requirements: None.
HideSafeZone¶
-
DieEngTrimAngleCheckBuilder.HideSafeZone¶ Returns or sets the option to indicate whether to hide the feedback objects whose trim angles are in the safe zone or not
-------------------------------------Getter Method
Signature
HideSafeZoneReturns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HideSafeZoneParameters: hideSafeZone (bool) – New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
LineScale¶
-
DieEngTrimAngleCheckBuilder.LineScale¶ Returns or sets the line scale
-------------------------------------Getter Method
Signature
LineScaleReturns: Return type: float New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LineScaleParameters: lineScale (float) – New in version NX8.5.0.
License requirements: die_engineering (“DIE ENGINEERING”)
MaxAngle¶
-
DieEngTrimAngleCheckBuilder.MaxAngle¶ Returns the upper limit of a valid trim angle
-------------------------------------Getter Method
Signature
MaxAngleReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: None.
MinAngle¶
-
DieEngTrimAngleCheckBuilder.MinAngle¶ Returns the lower limit of a valid trim angle
-------------------------------------Getter Method
Signature
MinAngleReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: None.
PlaneAngle¶
-
DieEngTrimAngleCheckBuilder.PlaneAngle¶ Returns the plane angle
-------------------------------------Getter Method
Signature
PlaneAngleReturns: Return type: NXOpen.ExpressionNew in version NX9.0.0.
License requirements: None.
TrimmingCurves¶
-
DieEngTrimAngleCheckBuilder.TrimmingCurves¶ Returns the trimming curves
-------------------------------------Getter Method
Signature
TrimmingCurvesReturns: Return type: NXOpen.ScCollectorNew in version NX8.5.0.
License requirements: None.
TrimmingDirection¶
-
DieEngTrimAngleCheckBuilder.TrimmingDirection¶ Returns or sets the trimming direction
-------------------------------------Getter Method
Signature
TrimmingDirectionReturns: Return type: NXOpen.DirectionNew in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TrimmingDirectionParameters: trimmingDirection ( NXOpen.Direction) –New in version NX8.5.0.
License requirements: die_engineering (“DIE ENGINEERING”)
TrimmingFaces¶
-
DieEngTrimAngleCheckBuilder.TrimmingFaces¶ Returns the trimming faces
-------------------------------------Getter Method
Signature
TrimmingFacesReturns: Return type: NXOpen.ScCollectorNew in version NX8.5.0.
License requirements: None.
Method Detail¶
GetJoinedSelectedCurves¶
-
DieEngTrimAngleCheckBuilder.GetJoinedSelectedCurves¶ Get the joined trimming curves.
If join is not needed, they are the copies of trimming curves.
Signature
GetJoinedSelectedCurves()Returns: Return type: list of NXOpen.CurveNew in version NX9.0.0.
License requirements: None.
GetTrimSideTags¶
-
DieEngTrimAngleCheckBuilder.GetTrimSideTags¶ Get the vector tags of joined trimming curve trim sides.
Signature
GetTrimSideTags()Returns: Return type: list of NXOpen.DirectionNew in version NX9.0.0.
License requirements: None.
JoinCurvesAndEdges¶
-
DieEngTrimAngleCheckBuilder.JoinCurvesAndEdges¶ Join the input curves and edges.
Original curves and edges won’t be modified.
Signature
JoinCurvesAndEdges(inputCrvs, distTol)Parameters: - inputCrvs (list of
NXOpen.ICurve) – Curves/Edges to be joined. - distTol (float) – Distance tolerance.
Returns: Joined curves/edges or copies of the input curves/edges if join is not needed.
Return type: list of
NXOpen.ICurveNew in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
- inputCrvs (list of
SetJoinedSelectedCurves¶
-
DieEngTrimAngleCheckBuilder.SetJoinedSelectedCurves¶ Set the joined trimming curves.
If join is not needed, they are the copies of trimming curves.
Signature
SetJoinedSelectedCurves(joinedSelectedCurves)Parameters: joinedSelectedCurves (list of NXOpen.Curve) –New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SetTrimSideTags¶
-
DieEngTrimAngleCheckBuilder.SetTrimSideTags¶ Set the vector tags of joined trimming curve trim sides.
Signature
SetTrimSideTags(trimSideTags)Parameters: trimSideTags (list of NXOpen.Direction) –New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
Validate¶
-
DieEngTrimAngleCheckBuilder.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.