ScalingMethodBuilder Class¶
-
class
NXOpen.GeometricUtilities.ScalingMethodBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents a
NXOpen.GeometricUtilities.ScalingMethodBuilderNew in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| AreaLaw | Returns the area law. |
| BlendingFunctionType | Returns or sets the blending function. |
| EndBlendScaleFactor | Returns or sets the end blend scale factor. |
| PerimeterLaw | Returns the perimeter law. |
| ScaleFactor | Returns or sets the scale factor. |
| ScalingCurve | Returns the scaling curve. |
| ScalingOption | Returns or sets the scaling method option. |
| ScalingPoint | Returns or sets the scaling point. |
| StartBlendScaleFactor | Returns or sets the start blend scale factor. |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| ScalingMethodBuilderBlendingFunctionTypes Enumeration | This enum represents the blending function type, if the scaling by BlendingFunction is selected. |
| ScalingMethodBuilderScalingOptions Enumeration | This enum represents the scaling method option. |
Property Detail¶
AreaLaw¶
-
ScalingMethodBuilder.AreaLaw¶ Returns the area law.
For scaling by Area Law, the input law governs the cross sectional area at the start and end of the guide curve.
-------------------------------------Getter Method
Signature
AreaLawReturns: Return type: NXOpen.GeometricUtilities.LawBuilderNew in version NX5.0.0.
License requirements: None.
BlendingFunctionType¶
-
ScalingMethodBuilder.BlendingFunctionType¶ Returns or sets the blending function.
Allows linear or cubic scaling between specified starting and ending scale factors, which correspond to the start and end of the guide string.
-------------------------------------Getter Method
Signature
BlendingFunctionTypeReturns: Return type: NXOpen.GeometricUtilities.ScalingMethodBuilderBlendingFunctionTypesNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BlendingFunctionTypeParameters: blendingFunctionType ( NXOpen.GeometricUtilities.ScalingMethodBuilderBlendingFunctionTypes) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
EndBlendScaleFactor¶
-
ScalingMethodBuilder.EndBlendScaleFactor¶ Returns or sets the end blend scale factor.
For scaling by Blending Function, the end scale factor will be applied at the end point of the guide curve.
-------------------------------------Getter Method
Signature
EndBlendScaleFactorReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EndBlendScaleFactorParameters: endBlendScaleFactor (float) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
PerimeterLaw¶
-
ScalingMethodBuilder.PerimeterLaw¶ Returns the perimeter law.
For scaling by Perimeter Law, the input law governs the perimeter of the sections at the start and end of the guide curve.
-------------------------------------Getter Method
Signature
PerimeterLawReturns: Return type: NXOpen.GeometricUtilities.LawBuilderNew in version NX5.0.0.
License requirements: None.
ScaleFactor¶
-
ScalingMethodBuilder.ScaleFactor¶ Returns or sets the scale factor.
For Constant scaling method, the scale factor will be applied to all sections along the guide.
-------------------------------------Getter Method
Signature
ScaleFactorReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ScaleFactorParameters: scaleFactor (float) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ScalingCurve¶
-
ScalingMethodBuilder.ScalingCurve¶ Returns the scaling curve.
For scaling by Another Curve, the scale at any given point is based on the length of the ruling between the guide string and the input scaling curve.
-------------------------------------Getter Method
Signature
ScalingCurveReturns: Return type: NXOpen.SectionNew in version NX5.0.0.
License requirements: None.
ScalingOption¶
-
ScalingMethodBuilder.ScalingOption¶ Returns or sets the scaling method option.
Except for Uniform and Lateral scaling methods, additional parameters and/or inputs are required.
-------------------------------------Getter Method
Signature
ScalingOptionReturns: Return type: NXOpen.GeometricUtilities.ScalingMethodBuilderScalingOptionsNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ScalingOptionParameters: scalingOption ( NXOpen.GeometricUtilities.ScalingMethodBuilderScalingOptions) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ScalingPoint¶
-
ScalingMethodBuilder.ScalingPoint¶ Returns or sets the scaling point.
For scaling by a Point, the scale at any given point is based on the length of the ruling between the guide string and the input point.
-------------------------------------Getter Method
Signature
ScalingPointReturns: Return type: NXOpen.PointNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ScalingPointParameters: scalingPoint ( NXOpen.Point) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
StartBlendScaleFactor¶
-
ScalingMethodBuilder.StartBlendScaleFactor¶ Returns or sets the start blend scale factor.
For scaling by Blending Function, the start scale factor will be applied at the starting of the guide curve.
-------------------------------------Getter Method
Signature
StartBlendScaleFactorReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StartBlendScaleFactorParameters: startBlendScaleFactor (float) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Method Detail¶
Validate¶
-
ScalingMethodBuilder.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.