ScalingMethodBuilder Class¶
-
class
NXOpen.GeometricUtilities.
ScalingMethodBuilder
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents a
NXOpen.GeometricUtilities.ScalingMethodBuilder
New 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
AreaLaw()
Returns: Return type: NXOpen.GeometricUtilities.LawBuilder
New 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
BlendingFunctionType()
Returns: Return type: NXOpen.GeometricUtilities.ScalingMethodBuilderBlendingFunctionTypes
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BlendingFunctionType(blendingFunctionType)
Parameters: 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
EndBlendScaleFactor()
Returns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EndBlendScaleFactor(endBlendScaleFactor)
Parameters: 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
PerimeterLaw()
Returns: Return type: NXOpen.GeometricUtilities.LawBuilder
New 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
ScaleFactor()
Returns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ScaleFactor(scaleFactor)
Parameters: 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
ScalingCurve()
Returns: Return type: NXOpen.Section
New 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
ScalingOption()
Returns: Return type: NXOpen.GeometricUtilities.ScalingMethodBuilderScalingOptions
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ScalingOption(scalingOption)
Parameters: 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
ScalingPoint()
Returns: Return type: NXOpen.Point
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ScalingPoint(scalingPoint)
Parameters: 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
StartBlendScaleFactor()
Returns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
StartBlendScaleFactor(startBlendScaleFactor)
Parameters: 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.