SpringbackCompensationBuilder Class¶
-
class
NXOpen.Die.SpringbackCompensationBuilder¶ Bases:
NXOpen.Features.FeatureBuilderUsed to create or edit a
NXOpen.Die.SpringbackCompensationfeature.To create a new instance of this class, use
NXOpen.Die.DieCollection.CreateSpringbackCompensationBuilder()Default values.
Property Value ConvexityEnabled false CreateFacets false DefinedBy OneStepFeature DeformationFactor 1 Degree Two Divisions 3 ResultType Compensated ShapeValue 0.5 SmoothingFactor 1e-009 StepSize 1.0 New in version NX7.5.0.
Properties¶
| Property | Description |
|---|---|
| AngleTolerance | Returns or sets the angle tolerance. |
| CalculateMaxDeviation | Returns or sets the indication if the feature should calculate the maximum deviation of the result. |
| ConvexityDirection | Returns or sets the convexity direction. |
| ConvexityEnabled | Returns or sets the toggle that determines whether to constrain convexity |
| CreateFacets | Returns or sets the value determines if a faceted output body is also created. |
| DefinedBy | Returns or sets the type of data that will be used to define the feature. |
| DeformationFactor | Returns or sets the deformation factor determines how much of the calculated deformation is applied to the result body. |
| Degree | Returns or sets the polynomial degree (one unit less than the order). |
| DistanceTolerance | Returns or sets the distance tolerance. |
| Divisions | Returns or sets the number of equi-distant points to divide the cube of the sheet body (N x N x N). |
| DrawVector | Returns or sets the vector indicating the draw direction. |
| InnerCurve | Returns the inner boundary curve of the transition area. |
| IsGlobalDeformation | Returns or sets the indication if the feature is a generic Global Deformation. |
| OneStep | Returns the one-step feature. |
| OuterCurve | Returns the outer boundary curve of transition area. |
| 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 |
| ProductFacets | Returns the product facets. |
| ProductPointsFile | Returns or sets the product points file name. |
| ProductSheet | Returns the sheet body representing the product shape. |
| ResultType | Returns or sets the type of output to generate. |
| ShapeValue | Returns or sets the parameter that determines the shape of the transition area. |
| SmoothingFactor | Returns or sets the smoothing factor regulates a trade-off between interpolation error and smoothing when creating the result body. |
| SprungFacets | Returns the sprung facets. |
| SprungPointsFile | Returns or sets the sprung points file name. |
| StepSize | Returns or sets the step size. |
| SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| CommitFeature | Commits the feature parameters and creates the feature |
| 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. |
| GetProductPoints | Get the sample points on the product surface. |
| GetSprungPoints | Get the sample points on the sprung surface. |
| HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited. |
| SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited |
| SetProductPoints | Set the sample points on the product surface. |
| SetSprungPoints | Set the sample points on the sprung surface. |
| 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 |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| SpringbackCompensationBuilderDefinedByType Enumeration | The type of input data that defines the compensation. |
| SpringbackCompensationBuilderDegreeType Enumeration | The polynomial degree type. |
| SpringbackCompensationBuilderResultSheetType Enumeration | The type of sheet body you would like created as output. |
Property Detail¶
AngleTolerance¶
-
SpringbackCompensationBuilder.AngleTolerance¶ Returns or sets the angle tolerance.
-------------------------------------Getter Method
Signature
AngleToleranceReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AngleToleranceParameters: angleTolerance (float) – New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
CalculateMaxDeviation¶
-
SpringbackCompensationBuilder.CalculateMaxDeviation¶ Returns or sets the indication if the feature should calculate the maximum deviation of the result.
True indicates the deviation should be calculated, false indicates the deviation will not be calculated.
-------------------------------------Getter Method
Signature
CalculateMaxDeviationReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CalculateMaxDeviationParameters: calculateMaxDeviation (bool) – New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
ConvexityDirection¶
-
SpringbackCompensationBuilder.ConvexityDirection¶ Returns or sets the convexity direction.
-------------------------------------Getter Method
Signature
ConvexityDirectionReturns: Return type: NXOpen.DirectionNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ConvexityDirectionParameters: convexityDirection ( NXOpen.Direction) –New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
ConvexityEnabled¶
-
SpringbackCompensationBuilder.ConvexityEnabled¶ Returns or sets the toggle that determines whether to constrain convexity
-------------------------------------Getter Method
Signature
ConvexityEnabledReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ConvexityEnabledParameters: isConvexityEnabled (bool) – New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
CreateFacets¶
-
SpringbackCompensationBuilder.CreateFacets¶ Returns or sets the value determines if a faceted output body is also created.
True indicates to output a faceted body, false indicates that a faceted body is not output. Only when type is
Die.SpringbackCompensationBuilderDefinedByType.FacetedBodies-------------------------------------Getter Method
Signature
CreateFacetsReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CreateFacetsParameters: createFacets (bool) – New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
DefinedBy¶
-
SpringbackCompensationBuilder.DefinedBy¶ Returns or sets the type of data that will be used to define the feature.
Die.SpringbackCompensationBuilderDefinedByType.OneStepFeatureDie.SpringbackCompensationBuilder.OneStep()
Die.SpringbackCompensationBuilderDefinedByType.FacetedBodiesDie.SpringbackCompensationBuilder.ProductSheet()Die.SpringbackCompensationBuilder.ProductFacets()Die.SpringbackCompensationBuilder.SprungFacets()
Die.SpringbackCompensationBuilderDefinedByType.PointsDie.SpringbackCompensationBuilder.ProductSheet()Die.SpringbackCompensationBuilder.SetProductPoints()Die.SpringbackCompensationBuilder.SetSprungPoints()
-------------------------------------Getter Method
Signature
DefinedByReturns: Return type: NXOpen.Die.SpringbackCompensationBuilderDefinedByTypeNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DefinedByParameters: definedBy ( NXOpen.Die.SpringbackCompensationBuilderDefinedByType) –New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
DeformationFactor¶
-
SpringbackCompensationBuilder.DeformationFactor¶ Returns or sets the deformation factor determines how much of the calculated deformation is applied to the result body.
-------------------------------------Getter Method
Signature
DeformationFactorReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DeformationFactorParameters: deformationFactor (float) – New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
Degree¶
-
SpringbackCompensationBuilder.Degree¶ Returns or sets the polynomial degree (one unit less than the order).
-------------------------------------Getter Method
Signature
DegreeReturns: Return type: NXOpen.Die.SpringbackCompensationBuilderDegreeTypeNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DegreeParameters: degree ( NXOpen.Die.SpringbackCompensationBuilderDegreeType) –New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
DistanceTolerance¶
-
SpringbackCompensationBuilder.DistanceTolerance¶ Returns or sets the distance tolerance.
-------------------------------------Getter Method
Signature
DistanceToleranceReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DistanceToleranceParameters: distanceTolerance (float) – New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
Divisions¶
-
SpringbackCompensationBuilder.Divisions¶ Returns or sets the number of equi-distant points to divide the cube of the sheet body (N x N x N).
-------------------------------------Getter Method
Signature
DivisionsReturns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DivisionsParameters: divisions (int) – New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
DrawVector¶
-
SpringbackCompensationBuilder.DrawVector¶ Returns or sets the vector indicating the draw direction.
-------------------------------------Getter Method
Signature
DrawVectorReturns: Return type: NXOpen.DirectionNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DrawVectorParameters: drawVector ( NXOpen.Direction) –New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
InnerCurve¶
-
SpringbackCompensationBuilder.InnerCurve¶ Returns the inner boundary curve of the transition area.
-------------------------------------Getter Method
Signature
InnerCurveReturns: Return type: NXOpen.SectionNew in version NX7.5.0.
License requirements: None.
IsGlobalDeformation¶
-
SpringbackCompensationBuilder.IsGlobalDeformation¶ Returns or sets the indication if the feature is a generic Global Deformation.
True indicates the feature is a Global Deformation, false indicates the feature is not a Global Deformation.
-------------------------------------Getter Method
Signature
IsGlobalDeformationReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IsGlobalDeformationParameters: isGlobalDeformation (bool) – New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
OneStep¶
-
SpringbackCompensationBuilder.OneStep¶ Returns the one-step feature.
Only when type is
Die.SpringbackCompensationBuilderDefinedByType.OneStepFeature.-------------------------------------Getter Method
Signature
OneStepReturns: Return type: NXOpen.Features.SelectFeatureNew in version NX7.5.0.
License requirements: None.
OuterCurve¶
-
SpringbackCompensationBuilder.OuterCurve¶ Returns the outer boundary curve of transition area.
-------------------------------------Getter Method
Signature
OuterCurveReturns: Return type: NXOpen.SectionNew in version NX7.5.0.
License requirements: None.
ProductFacets¶
-
SpringbackCompensationBuilder.ProductFacets¶ Returns the product facets.
Only when type is
Die.SpringbackCompensationBuilderDefinedByType.FacetedBodies. Optional.-------------------------------------Getter Method
Signature
ProductFacetsReturns: Return type: NXOpen.Facet.SelectFacetedBodyNew in version NX7.5.0.
License requirements: None.
ProductPointsFile¶
-
SpringbackCompensationBuilder.ProductPointsFile¶ Returns or sets the product points file name.
This is saved for reference only. The product points are actually defined by calling
Die.SpringbackCompensationBuilder.SetProductPoints(). Only when type isDie.SpringbackCompensationBuilderDefinedByType.Points. Optional.-------------------------------------Getter Method
Signature
ProductPointsFileReturns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ProductPointsFileParameters: filename (str) – New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
ProductSheet¶
-
SpringbackCompensationBuilder.ProductSheet¶ Returns the sheet body representing the product shape.
Only when type is
Die.SpringbackCompensationBuilderDefinedByType.FacetedBodiesorDie.SpringbackCompensationBuilderDefinedByType.Points.-------------------------------------Getter Method
Signature
ProductSheetReturns: Return type: NXOpen.SelectBodyNew in version NX7.5.0.
License requirements: None.
ResultType¶
-
SpringbackCompensationBuilder.ResultType¶ Returns or sets the type of output to generate.
-------------------------------------Getter Method
Signature
ResultTypeReturns: Return type: NXOpen.Die.SpringbackCompensationBuilderResultSheetTypeNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ResultTypeParameters: resultType ( NXOpen.Die.SpringbackCompensationBuilderResultSheetType) –New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
ShapeValue¶
-
SpringbackCompensationBuilder.ShapeValue¶ Returns or sets the parameter that determines the shape of the transition area.
-------------------------------------Getter Method
Signature
ShapeValueReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShapeValueParameters: shapeValue (float) – New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
SmoothingFactor¶
-
SpringbackCompensationBuilder.SmoothingFactor¶ Returns or sets the smoothing factor regulates a trade-off between interpolation error and smoothing when creating the result body.
-------------------------------------Getter Method
Signature
SmoothingFactorReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SmoothingFactorParameters: smoothingFactor (float) – New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
SprungFacets¶
-
SpringbackCompensationBuilder.SprungFacets¶ Returns the sprung facets.
Only when type is
Die.SpringbackCompensationBuilderDefinedByType.FacetedBodies.-------------------------------------Getter Method
Signature
SprungFacetsReturns: Return type: NXOpen.Facet.SelectFacetedBodyNew in version NX7.5.0.
License requirements: None.
SprungPointsFile¶
-
SpringbackCompensationBuilder.SprungPointsFile¶ Returns or sets the sprung points file name.
This is saved for reference only. The product points are actually defined by calling
Die.SpringbackCompensationBuilder.SetSprungPoints(). Only when type isDie.SpringbackCompensationBuilderDefinedByType.Points. Optional.-------------------------------------Getter Method
Signature
SprungPointsFileReturns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SprungPointsFileParameters: filename (str) – New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
StepSize¶
-
SpringbackCompensationBuilder.StepSize¶ Returns or sets the step size.
-------------------------------------Getter Method
Signature
StepSizeReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StepSizeParameters: stepSize (float) – New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
Method Detail¶
GetProductPoints¶
-
SpringbackCompensationBuilder.GetProductPoints¶ Get the sample points on the product surface.
Only when type is
Die.SpringbackCompensationBuilderDefinedByType.Points. Optional.Signature
GetProductPoints()Returns: Points representing the shape of the product. Return type: list of NXOpen.Point3dNew in version NX7.5.0.
License requirements: None.
GetSprungPoints¶
-
SpringbackCompensationBuilder.GetSprungPoints¶ Get the sample points on the sprung surface.
Only when type is
Die.SpringbackCompensationBuilderDefinedByType.Points.Signature
GetSprungPoints()Returns: Points representing the shape of the sprung sheet. Return type: list of NXOpen.Point3dNew in version NX7.5.0.
License requirements: None.
SetProductPoints¶
-
SpringbackCompensationBuilder.SetProductPoints¶ Set the sample points on the product surface.
Must have the same number as sprung points. Only when type is
Die.SpringbackCompensationBuilderDefinedByType.Points. Optional.Signature
SetProductPoints(productPoints)Parameters: productPoints (list of NXOpen.Point3d) – Points representing the shape of the product.New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
SetSprungPoints¶
-
SpringbackCompensationBuilder.SetSprungPoints¶ Set the sample points on the sprung surface.
Must have the same number as product points. Only when type is
Die.SpringbackCompensationBuilderDefinedByType.Points.Signature
SetSprungPoints(sprungPoints)Parameters: sprungPoints (list of NXOpen.Point3d) – Points representing the shape of the sprung sheet.New in version NX7.5.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR nx_freeform_2 (“advanced freeform modeling”)
Validate¶
-
SpringbackCompensationBuilder.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.