StyledCornerBuilder Class¶
-
class
NXOpen.Features.
StyledCornerBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a
NXOpen.Features.StyledCorner
builderTo create a new instance of this class, use
NXOpen.Features.FeatureCollection.CreateStyledCornerBuilder()
Default values.
Property Value BottomShapeControlMethods None CurveControl TopBaseCurve G0Tolerance 0.01 G1Tolerance 0.1 G2Tolerance 0.5 InteriorCurveType None TopShapeControlMethods None TrimAndSewMethod TrimBlends TrimCurve1Type TangentContinuous TrimCurve2Type TangentContinuous New in version NX6.0.0.
Properties¶
Property | Description |
---|---|
BaseCurveRebuildData | Returns the base curve rebuild data |
BaseFaces | Returns the base faces |
BottomBridgeCurveContinuity | Returns the bottom bridge curve continuity |
BottomShapeControlMethods | Returns or sets the bottom shape control methods |
BottomTangentMagnitude | Returns the bottom tangent magnitude |
ChangeAllBoundaryConstraints | Returns or sets the flag indicating to apply to all constraints |
CurveControl | Returns or sets the curve control |
G0Tolerance | Returns or sets the g0 tolerance |
G1Tolerance | Returns or sets the g1 tolerance |
G2Tolerance | Returns or sets the g2 tolerance |
InputBlend1 | Returns the input blend1 |
InputBlend2 | Returns the input blend2 |
InputBlend3 | Returns the input blend3 |
InputChanged | Returns or sets the flag indicating input face change |
InteriorCurveType | Returns or sets the interior curve type |
IsoUCurveEndPoint | Returns the iso u curve end point |
IsoUCurveStartPoint | Returns the iso u curve start point |
IsoUDepthSkew | Returns the iso u depth skew |
IsoUShapeControlMethods | Returns or sets the iso u shape control methods |
IsoUTangentMagnitude | Returns the iso u tangent magnitude |
IsoVCurveEndPoint | Returns the iso v curve end point |
IsoVCurveStartPoint | Returns the iso v curve start point |
IsoVDepthSkew | Returns the iso v depth skew |
IsoVShapeControlMethods | Returns or sets the iso v shape control methods |
IsoVTangentMagnitude | Returns the iso v tangent magnitude |
ParentFeatureInternal | Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal |
PatchSolutionFlag | Returns or sets the patch solution flag |
PatchSurfaceFilename | Returns or sets the patch surface filename |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
TopBaseCurveContinuity | Returns the top base curve continuity |
TopCurveEndPoint | Returns the top curve end point |
TopCurveStartPoint | Returns the top curve start point |
TopDepthSkew | Returns the top depth skew |
TopShapeControlMethods | Returns or sets the top shape control methods |
TopTangentMagnitude | Returns the top tangent magnitude |
TrimAndSewMethod | Returns or sets the trim and sew method |
TrimCurve1Continuity | Returns the trim curve1 continuity |
TrimCurve1Type | Returns or sets the trim curve1 type |
TrimCurve2Continuity | Returns the trim curve2 continuity |
TrimCurve2Type | Returns or sets the trim curve2 type |
TrimCurveRebuildData | Returns the trim curve rebuild data |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
CommitFeature | Commits the feature parameters and creates the feature @return |
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. |
GetFeature | Returns the feature currently being edited by this builder. |
GetObject | Returns the object currently being edited by this builder. |
HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited. |
ResetToTriangularCorner | Reset to triangular corner |
SetNumCornerSides | Set number of sides of the corner |
SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited |
ShowInternalParentFeatureForEdit | Unsuppress an internal parent feature (a slave feature) so it can be edited. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
UnsetParentFeatureInternal | Set the internal parent feature of the feature being edited to external |
UpdateCornerData | Updates corner data. |
UpdateOnPathDimPath | Gets the path in current position and sets it in builder. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
StyledCornerBuilderCurveControlTypes Enumeration | Curve control types |
StyledCornerBuilderInteriorCurveTypes Enumeration | Intertior curve type |
StyledCornerBuilderShapeControlMethodsTypes Enumeration | Shape control types |
StyledCornerBuilderTrimAndSewMethodTypes Enumeration | Trim and attach method types |
StyledCornerBuilderTrimCurveTypes Enumeration | Trim curve types |
Property Detail¶
BaseCurveRebuildData¶
-
StyledCornerBuilder.
BaseCurveRebuildData
¶ Returns the base curve rebuild data
-------------------------------------
Getter Method
Signature
BaseCurveRebuildData()
Returns: Return type: NXOpen.GeometricUtilities.Rebuild
New in version NX6.0.0.
License requirements: None.
BaseFaces¶
-
StyledCornerBuilder.
BaseFaces
¶ Returns the base faces
-------------------------------------
Getter Method
Signature
BaseFaces()
Returns: Return type: NXOpen.ScCollector
New in version NX6.0.0.
License requirements: None.
BottomBridgeCurveContinuity¶
-
StyledCornerBuilder.
BottomBridgeCurveContinuity
¶ Returns the bottom bridge curve continuity
-------------------------------------
Getter Method
Signature
BottomBridgeCurveContinuity()
Returns: Return type: NXOpen.GeometricUtilities.Continuity
New in version NX6.0.0.
License requirements: None.
BottomShapeControlMethods¶
-
StyledCornerBuilder.
BottomShapeControlMethods
¶ Returns or sets the bottom shape control methods
-------------------------------------
Getter Method
Signature
BottomShapeControlMethods()
Returns: Return type: NXOpen.Features.StyledCornerBuilderShapeControlMethodsTypes
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BottomShapeControlMethods(bottomShapeControlMethods)
Parameters: bottomShapeControlMethods ( NXOpen.Features.StyledCornerBuilderShapeControlMethodsTypes
) –New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
BottomTangentMagnitude¶
-
StyledCornerBuilder.
BottomTangentMagnitude
¶ Returns the bottom tangent magnitude
-------------------------------------
Getter Method
Signature
BottomTangentMagnitude()
Returns: Return type: NXOpen.GeometricUtilities.TangentMagnitudeBuilder
New in version NX6.0.0.
License requirements: None.
ChangeAllBoundaryConstraints¶
-
StyledCornerBuilder.
ChangeAllBoundaryConstraints
¶ Returns or sets the flag indicating to apply to all constraints
-------------------------------------
Getter Method
Signature
ChangeAllBoundaryConstraints()
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ChangeAllBoundaryConstraints(changeAllBoundaryConstraints)
Parameters: changeAllBoundaryConstraints (bool) – New in version NX7.5.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
CurveControl¶
-
StyledCornerBuilder.
CurveControl
¶ Returns or sets the curve control
-------------------------------------
Getter Method
Signature
CurveControl()
Returns: Return type: NXOpen.Features.StyledCornerBuilderCurveControlTypes
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CurveControl(curveControl)
Parameters: curveControl ( NXOpen.Features.StyledCornerBuilderCurveControlTypes
) –New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
G0Tolerance¶
-
StyledCornerBuilder.
G0Tolerance
¶ Returns or sets the g0 tolerance
-------------------------------------
Getter Method
Signature
G0Tolerance()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
G0Tolerance(g0Tolerance)
Parameters: g0Tolerance (float) – New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
G1Tolerance¶
-
StyledCornerBuilder.
G1Tolerance
¶ Returns or sets the g1 tolerance
-------------------------------------
Getter Method
Signature
G1Tolerance()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
G1Tolerance(g1Tolerance)
Parameters: g1Tolerance (float) – New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
G2Tolerance¶
-
StyledCornerBuilder.
G2Tolerance
¶ Returns or sets the g2 tolerance
-------------------------------------
Getter Method
Signature
G2Tolerance()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
G2Tolerance(g2Tolerance)
Parameters: g2Tolerance (float) – New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
InputBlend1¶
-
StyledCornerBuilder.
InputBlend1
¶ Returns the input blend1
-------------------------------------
Getter Method
Signature
InputBlend1()
Returns: Return type: NXOpen.ScCollector
New in version NX6.0.0.
License requirements: None.
InputBlend2¶
-
StyledCornerBuilder.
InputBlend2
¶ Returns the input blend2
-------------------------------------
Getter Method
Signature
InputBlend2()
Returns: Return type: NXOpen.ScCollector
New in version NX6.0.0.
License requirements: None.
InputBlend3¶
-
StyledCornerBuilder.
InputBlend3
¶ Returns the input blend3
-------------------------------------
Getter Method
Signature
InputBlend3()
Returns: Return type: NXOpen.ScCollector
New in version NX6.0.0.
License requirements: None.
InputChanged¶
-
StyledCornerBuilder.
InputChanged
¶ Returns or sets the flag indicating input face change
-------------------------------------
Getter Method
Signature
InputChanged()
Returns: Return type: bool New in version NX10.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
InputChanged(inputChanged)
Parameters: inputChanged (bool) – New in version NX10.0.1.
License requirements: studio_free_form (“STUDIO FREE FORM”)
InteriorCurveType¶
-
StyledCornerBuilder.
InteriorCurveType
¶ Returns or sets the interior curve type
-------------------------------------
Getter Method
Signature
InteriorCurveType()
Returns: Return type: NXOpen.Features.StyledCornerBuilderInteriorCurveTypes
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InteriorCurveType(interiorCurveType)
Parameters: interiorCurveType ( NXOpen.Features.StyledCornerBuilderInteriorCurveTypes
) –New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
IsoUCurveEndPoint¶
-
StyledCornerBuilder.
IsoUCurveEndPoint
¶ Returns the iso u curve end point
-------------------------------------
Getter Method
Signature
IsoUCurveEndPoint()
Returns: Return type: NXOpen.GeometricUtilities.OnPathDimensionBuilder
New in version NX6.0.0.
License requirements: None.
IsoUCurveStartPoint¶
-
StyledCornerBuilder.
IsoUCurveStartPoint
¶ Returns the iso u curve start point
-------------------------------------
Getter Method
Signature
IsoUCurveStartPoint()
Returns: Return type: NXOpen.GeometricUtilities.OnPathDimensionBuilder
New in version NX6.0.0.
License requirements: None.
IsoUDepthSkew¶
-
StyledCornerBuilder.
IsoUDepthSkew
¶ Returns the iso u depth skew
-------------------------------------
Getter Method
Signature
IsoUDepthSkew()
Returns: Return type: NXOpen.GeometricUtilities.DepthSkewBuilder
New in version NX6.0.0.
License requirements: None.
IsoUShapeControlMethods¶
-
StyledCornerBuilder.
IsoUShapeControlMethods
¶ Returns or sets the iso u shape control methods
-------------------------------------
Getter Method
Signature
IsoUShapeControlMethods()
Returns: Return type: NXOpen.Features.StyledCornerBuilderShapeControlMethodsTypes
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
IsoUShapeControlMethods(isoUShapeControlMethods)
Parameters: isoUShapeControlMethods ( NXOpen.Features.StyledCornerBuilderShapeControlMethodsTypes
) –New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
IsoUTangentMagnitude¶
-
StyledCornerBuilder.
IsoUTangentMagnitude
¶ Returns the iso u tangent magnitude
-------------------------------------
Getter Method
Signature
IsoUTangentMagnitude()
Returns: Return type: NXOpen.GeometricUtilities.TangentMagnitudeBuilder
New in version NX6.0.0.
License requirements: None.
IsoVCurveEndPoint¶
-
StyledCornerBuilder.
IsoVCurveEndPoint
¶ Returns the iso v curve end point
-------------------------------------
Getter Method
Signature
IsoVCurveEndPoint()
Returns: Return type: NXOpen.GeometricUtilities.OnPathDimensionBuilder
New in version NX6.0.0.
License requirements: None.
IsoVCurveStartPoint¶
-
StyledCornerBuilder.
IsoVCurveStartPoint
¶ Returns the iso v curve start point
-------------------------------------
Getter Method
Signature
IsoVCurveStartPoint()
Returns: Return type: NXOpen.GeometricUtilities.OnPathDimensionBuilder
New in version NX6.0.0.
License requirements: None.
IsoVDepthSkew¶
-
StyledCornerBuilder.
IsoVDepthSkew
¶ Returns the iso v depth skew
-------------------------------------
Getter Method
Signature
IsoVDepthSkew()
Returns: Return type: NXOpen.GeometricUtilities.DepthSkewBuilder
New in version NX6.0.0.
License requirements: None.
IsoVShapeControlMethods¶
-
StyledCornerBuilder.
IsoVShapeControlMethods
¶ Returns or sets the iso v shape control methods
-------------------------------------
Getter Method
Signature
IsoVShapeControlMethods()
Returns: Return type: NXOpen.Features.StyledCornerBuilderShapeControlMethodsTypes
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
IsoVShapeControlMethods(isoVShapeControlMethods)
Parameters: isoVShapeControlMethods ( NXOpen.Features.StyledCornerBuilderShapeControlMethodsTypes
) –New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
IsoVTangentMagnitude¶
-
StyledCornerBuilder.
IsoVTangentMagnitude
¶ Returns the iso v tangent magnitude
-------------------------------------
Getter Method
Signature
IsoVTangentMagnitude()
Returns: Return type: NXOpen.GeometricUtilities.TangentMagnitudeBuilder
New in version NX6.0.0.
License requirements: None.
TopBaseCurveContinuity¶
-
StyledCornerBuilder.
TopBaseCurveContinuity
¶ Returns the top base curve continuity
-------------------------------------
Getter Method
Signature
TopBaseCurveContinuity()
Returns: Return type: NXOpen.GeometricUtilities.Continuity
New in version NX6.0.0.
License requirements: None.
TopCurveEndPoint¶
-
StyledCornerBuilder.
TopCurveEndPoint
¶ Returns the top curve end point
-------------------------------------
Getter Method
Signature
TopCurveEndPoint()
Returns: Return type: NXOpen.GeometricUtilities.OnPathDimensionBuilder
New in version NX6.0.0.
License requirements: None.
TopCurveStartPoint¶
-
StyledCornerBuilder.
TopCurveStartPoint
¶ Returns the top curve start point
-------------------------------------
Getter Method
Signature
TopCurveStartPoint()
Returns: Return type: NXOpen.GeometricUtilities.OnPathDimensionBuilder
New in version NX6.0.0.
License requirements: None.
TopDepthSkew¶
-
StyledCornerBuilder.
TopDepthSkew
¶ Returns the top depth skew
-------------------------------------
Getter Method
Signature
TopDepthSkew()
Returns: Return type: NXOpen.GeometricUtilities.DepthSkewBuilder
New in version NX6.0.0.
License requirements: None.
TopShapeControlMethods¶
-
StyledCornerBuilder.
TopShapeControlMethods
¶ Returns or sets the top shape control methods
-------------------------------------
Getter Method
Signature
TopShapeControlMethods()
Returns: Return type: NXOpen.Features.StyledCornerBuilderShapeControlMethodsTypes
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TopShapeControlMethods(topShapeControlMethods)
Parameters: topShapeControlMethods ( NXOpen.Features.StyledCornerBuilderShapeControlMethodsTypes
) –New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
TopTangentMagnitude¶
-
StyledCornerBuilder.
TopTangentMagnitude
¶ Returns the top tangent magnitude
-------------------------------------
Getter Method
Signature
TopTangentMagnitude()
Returns: Return type: NXOpen.GeometricUtilities.TangentMagnitudeBuilder
New in version NX6.0.0.
License requirements: None.
TrimAndSewMethod¶
-
StyledCornerBuilder.
TrimAndSewMethod
¶ Returns or sets the trim and sew method
-------------------------------------
Getter Method
Signature
TrimAndSewMethod()
Returns: Return type: NXOpen.Features.StyledCornerBuilderTrimAndSewMethodTypes
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TrimAndSewMethod(trimAndSewMethod)
Parameters: trimAndSewMethod ( NXOpen.Features.StyledCornerBuilderTrimAndSewMethodTypes
) –New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
TrimCurve1Continuity¶
-
StyledCornerBuilder.
TrimCurve1Continuity
¶ Returns the trim curve1 continuity
-------------------------------------
Getter Method
Signature
TrimCurve1Continuity()
Returns: Return type: NXOpen.GeometricUtilities.Continuity
New in version NX6.0.0.
License requirements: None.
TrimCurve1Type¶
-
StyledCornerBuilder.
TrimCurve1Type
¶ Returns or sets the trim curve1 type
-------------------------------------
Getter Method
Signature
TrimCurve1Type()
Returns: Return type: NXOpen.Features.StyledCornerBuilderTrimCurveTypes
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TrimCurve1Type(trimCurve1Type)
Parameters: trimCurve1Type ( NXOpen.Features.StyledCornerBuilderTrimCurveTypes
) –New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
TrimCurve2Continuity¶
-
StyledCornerBuilder.
TrimCurve2Continuity
¶ Returns the trim curve2 continuity
-------------------------------------
Getter Method
Signature
TrimCurve2Continuity()
Returns: Return type: NXOpen.GeometricUtilities.Continuity
New in version NX6.0.0.
License requirements: None.
TrimCurve2Type¶
-
StyledCornerBuilder.
TrimCurve2Type
¶ Returns or sets the trim curve2 type
-------------------------------------
Getter Method
Signature
TrimCurve2Type()
Returns: Return type: NXOpen.Features.StyledCornerBuilderTrimCurveTypes
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TrimCurve2Type(trimCurve2Type)
Parameters: trimCurve2Type ( NXOpen.Features.StyledCornerBuilderTrimCurveTypes
) –New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
TrimCurveRebuildData¶
-
StyledCornerBuilder.
TrimCurveRebuildData
¶ Returns the trim curve rebuild data
-------------------------------------
Getter Method
Signature
TrimCurveRebuildData()
Returns: Return type: NXOpen.GeometricUtilities.Rebuild
New in version NX6.0.0.
License requirements: None.
Method Detail¶
ResetToTriangularCorner¶
-
StyledCornerBuilder.
ResetToTriangularCorner
¶ Reset to triangular corner
Signature
ResetToTriangularCorner()
New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
SetNumCornerSides¶
-
StyledCornerBuilder.
SetNumCornerSides
¶ Set number of sides of the corner
Signature
SetNumCornerSides(numSides)
Parameters: numSides (int) – 3 or 4 New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
UpdateCornerData¶
-
StyledCornerBuilder.
UpdateCornerData
¶ Updates corner data.
Various parameters are involved in the creation of corner surface. When all the parameters are used with their initial values, this method needs to be called to preprocess internal corner data in order to create corner surface. When a parameter is changed, this method needs to be called in order to update internal corner data that was preprocessed.
Signature
UpdateCornerData(inputFaceChanged, resetToTriangleCorner)
Parameters: - inputFaceChanged (bool) – If blend or base face changed
- resetToTriangleCorner (bool) – If resetting to 3-sided corner
New in version NX6.0.2.
License requirements: studio_free_form (“STUDIO FREE FORM”)
UpdateOnPathDimPath¶
-
StyledCornerBuilder.
UpdateOnPathDimPath
¶ Gets the path in current position and sets it in builder.
Call this before using the OnPathDimensionBuilder
Signature
UpdateOnPathDimPath(curveControlOption, startEndIndex)
Parameters: - curveControlOption (
NXOpen.Features.StyledCornerBuilderCurveControlTypes
) – Determines which OnPathDimensionBuilder to update - startEndIndex (int) – 0=start, 1=end
New in version NX6.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
- curveControlOption (
Validate¶
-
StyledCornerBuilder.
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.