SmoothFacetBodyBuilder Class¶
-
class
NXOpen.Facet.
SmoothFacetBodyBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.Facet.SmoothFacetBodyBuilder
.Smooth Facet Body Builder is a function to facilitate the removal of noise from facet bodies while keeping the general shape in tact. To create a new instance of this class, use
NXOpen.Facet.FacetedBodyCollection.CreateSmoothFacetBodyBuilder()
Default values.
Property Value IsEditCopy 0 IsLockBoundary 0 ModifyPercent 100 SmoothFactor 1 New in version NX7.5.0.
Properties¶
Property | Description |
---|---|
Bodies | Returns the facet bodies to be smoothed. |
FacetBodies | Returns the facet bodies to be smoothed |
IsEditCopy | Returns or sets the option indicating if a copy of the facet body will be smoothed without altering the original |
IsLockBoundary | Returns or sets the option indicating if the open edges of inner and outer loops in the facet bodies are to be kept intact |
ModifyPercent | Returns or sets the modification percentage |
RegionList | Returns an optional list of regions on the facet bodies to be smoothed |
SmoothFactor | Returns or sets the smoothing factor |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
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. |
GetObject | Returns the object currently being edited by this builder. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
Bodies¶
-
SmoothFacetBodyBuilder.
Bodies
¶ Returns the facet bodies to be smoothed.
Inputs to this command can be convergent objects.
-------------------------------------
Getter Method
Signature
Bodies()
Returns: Return type: NXOpen.SelectDisplayableObjectList
New in version NX11.0.0.
License requirements: None.
FacetBodies¶
-
SmoothFacetBodyBuilder.
FacetBodies
¶ Returns the facet bodies to be smoothed
-------------------------------------
Getter Method
Signature
FacetBodies()
Returns: Return type: NXOpen.Facet.SelectFacetedBodyList
New in version NX7.5.0.
Deprecated since version NX11.0.0: Use
NXOpen.Facet.SmoothFacetBodyBuilder.Bodies()
instead.License requirements: None.
IsEditCopy¶
-
SmoothFacetBodyBuilder.
IsEditCopy
¶ Returns or sets the option indicating if a copy of the facet body will be smoothed without altering the original
-------------------------------------
Getter Method
Signature
IsEditCopy()
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
IsEditCopy(isEditCopy)
Parameters: isEditCopy (bool) – New in version NX7.5.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
IsLockBoundary¶
-
SmoothFacetBodyBuilder.
IsLockBoundary
¶ Returns or sets the option indicating if the open edges of inner and outer loops in the facet bodies are to be kept intact
-------------------------------------
Getter Method
Signature
IsLockBoundary()
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
IsLockBoundary(isLockBoundary)
Parameters: isLockBoundary (bool) – New in version NX7.5.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
ModifyPercent¶
-
SmoothFacetBodyBuilder.
ModifyPercent
¶ Returns or sets the modification percentage
-------------------------------------
Getter Method
Signature
ModifyPercent()
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ModifyPercent(modifyPercent)
Parameters: modifyPercent (int) – New in version NX7.5.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
RegionList¶
-
SmoothFacetBodyBuilder.
RegionList
¶ Returns an optional list of regions on the facet bodies to be smoothed
-------------------------------------
Getter Method
Signature
RegionList()
Returns: Return type: NXOpen.GeometricUtilities.BoundaryDefinitionBuilderList
New in version NX7.5.0.
License requirements: None.
SmoothFactor¶
-
SmoothFacetBodyBuilder.
SmoothFactor
¶ Returns or sets the smoothing factor
-------------------------------------
Getter Method
Signature
SmoothFactor()
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SmoothFactor(smoothFactor)
Parameters: smoothFactor (int) – New in version NX7.5.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
Method Detail¶
Validate¶
-
SmoothFacetBodyBuilder.
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.