ExtrudeBuilder Class¶
-
class
NXOpen.Features.
ExtrudeBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a extrude feature builder.
It creates or edits extrude feature. Inputs to this class can be convergent objects.
This class provides methods to get the various extrude sub components.
Following are default values and options.
** Section </b> User must set it
** Direction </b> Must be set by user
** Limit Type </b>
** Start Limit Distance </b> 0.0/0.0 [in/mm]
** End Limit Distance </b> 1.0/25.0 [in/mm]
** Draft Type </b> :py:class:` NXOpen.GeometricUtilities.SimpleDraftSimpleDraftType.NoDraft < NXOpen.GeometricUtilities.SimpleDraftSimpleDraftType>`
** Boolean Sign </b> :py:class:` NXOpen.Features.FeatureBooleanType.Create < NXOpen.Features.FeatureBooleanType>`
** Boolean Target </b> None
** Allow Self-intersecting Section </b> false
To create a new instance of this class, use
NXOpen.Features.FeatureCollection.CreateExtrudeBuilder()
Default values.
Property Value SmartVolumeProfile.OpenProfileSmartVolumeOption 0 New in version NX4.0.0.
Properties¶
Property | Description |
---|---|
AngularTolerance | Returns or sets the angle tolerance |
BooleanOperation | Returns the extrude boolean operation |
ChainingTolerance | Returns or sets the chaining tolerance |
Direction | Returns or sets the extrude direction |
DistanceTolerance | Returns or sets the distance tolerance |
Draft | Returns the extrude draft operation |
FeatureOptions | Returns the feature options |
Limits | Returns the extrude limits |
Offset | Returns the extrude Offset operation |
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 |
PlanarTolerance | Returns or sets the planar tolerance |
Section | Returns or sets the section |
SmartVolumeProfile | Returns the smart volume profile |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
AllowSelfIntersectingSection | SET option for supporting self-intersecting section |
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. |
SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited |
SetToleranceValues | SET all the tolerances at once |
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. |
Property Detail¶
AngularTolerance¶
-
ExtrudeBuilder.
AngularTolerance
¶ Returns or sets the angle tolerance
-------------------------------------
Getter Method
Signature
AngularTolerance()
Returns: out -> The Extrude angle tolerance. Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AngularTolerance(angleTolerance)
Parameters: angleTolerance (float) – New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
BooleanOperation¶
-
ExtrudeBuilder.
BooleanOperation
¶ Returns the extrude boolean operation
-------------------------------------
Getter Method
Signature
BooleanOperation()
Returns: The Extrude boolean operation. Return type: NXOpen.GeometricUtilities.BooleanOperation
New in version NX4.0.0.
License requirements: None.
ChainingTolerance¶
-
ExtrudeBuilder.
ChainingTolerance
¶ Returns or sets the chaining tolerance
-------------------------------------
Getter Method
Signature
ChainingTolerance()
Returns: out -> The Extrude chaining tolerance. Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ChainingTolerance(chainingTolerance)
Parameters: chainingTolerance (float) – New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Direction¶
-
ExtrudeBuilder.
Direction
¶ Returns or sets the extrude direction
-------------------------------------
Getter Method
Signature
Direction()
Returns: The Extrude direction. Return type: NXOpen.Direction
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Direction(direction)
Parameters: direction ( NXOpen.Direction
) – Extrude direction This parameter may not be None.New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
DistanceTolerance¶
-
ExtrudeBuilder.
DistanceTolerance
¶ Returns or sets the distance tolerance
-------------------------------------
Getter Method
Signature
DistanceTolerance()
Returns: out -> The Extrude distance tolerance. Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DistanceTolerance(distanceTolerance)
Parameters: distanceTolerance (float) – New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Draft¶
-
ExtrudeBuilder.
Draft
¶ Returns the extrude draft operation
-------------------------------------
Getter Method
Signature
Draft()
Returns: The Extrude draft Return type: NXOpen.GeometricUtilities.MultiDraft
New in version NX4.0.0.
License requirements: None.
FeatureOptions¶
-
ExtrudeBuilder.
FeatureOptions
¶ Returns the feature options
-------------------------------------
Getter Method
Signature
FeatureOptions()
Returns: The Extrude Feature Options. Return type: NXOpen.GeometricUtilities.FeatureOptions
New in version NX4.0.0.
License requirements: None.
Limits¶
-
ExtrudeBuilder.
Limits
¶ Returns the extrude limits
-------------------------------------
Getter Method
Signature
Limits()
Returns: The Extrude Limits. Return type: NXOpen.GeometricUtilities.Limits
New in version NX4.0.0.
License requirements: None.
Offset¶
-
ExtrudeBuilder.
Offset
¶ Returns the extrude Offset operation
-------------------------------------
Getter Method
Signature
Offset()
Returns: The Extrude Offset operation. Return type: NXOpen.GeometricUtilities.FeatureOffset
New in version NX4.0.0.
License requirements: None.
PlanarTolerance¶
-
ExtrudeBuilder.
PlanarTolerance
¶ Returns or sets the planar tolerance
-------------------------------------
Getter Method
Signature
PlanarTolerance()
Returns: out -> The Extrude planar tolerance. Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PlanarTolerance(planarTolerance)
Parameters: planarTolerance (float) – New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Section¶
-
ExtrudeBuilder.
Section
¶ Returns or sets the section
-------------------------------------
Getter Method
Signature
Section()
Returns: out -> The Extrude section. Return type: NXOpen.Section
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Section(section)
Parameters: section ( NXOpen.Section
) – Section to be extruded This parameter may not be None.New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
SmartVolumeProfile¶
-
ExtrudeBuilder.
SmartVolumeProfile
¶ Returns the smart volume profile
-------------------------------------
Getter Method
Signature
SmartVolumeProfile()
Returns: The Smart Volume Profile Return type: NXOpen.GeometricUtilities.SmartVolumeProfileBuilder
New in version NX8.5.0.
License requirements: None.
Method Detail¶
AllowSelfIntersectingSection¶
-
ExtrudeBuilder.
AllowSelfIntersectingSection
¶ SET option for supporting self-intersecting section
Signature
AllowSelfIntersectingSection(allowSelfIntersectingSection)
Parameters: allowSelfIntersectingSection (bool) – If true, allow self-intersecting section. New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
SetToleranceValues¶
-
ExtrudeBuilder.
SetToleranceValues
¶ SET all the tolerances at once
Signature
SetToleranceValues(distanceTolerance, chainingTolerance, planarTolerance, angularTolerance)
Parameters: - distanceTolerance (float) –
- chainingTolerance (float) –
- planarTolerance (float) –
- angularTolerance (float) –
New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Validate¶
-
ExtrudeBuilder.
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.