SubdivideFacetBodyBuilder Class¶
-
class
NXOpen.Facet.SubdivideFacetBodyBuilder¶ Bases:
NXOpen.BuilderThis class provides functionality to subdivide the polygons to increase the density of the facet bodies.
Subdividing Polygons creates a smoother representation. To create a new instance of this class, use
NXOpen.Facet.FacetedBodyCollection.CreateSubdivideFacetBodyBuilder()Default values.
Property Value AngleThreshold 30 EdgeLength 1 InterpolationMethod Cubic IsEditCopy 0 IsOptimize 0 SubdivisionMethod SubdivideIntoFour New in version NX7.5.0.
Properties¶
| Property | Description |
|---|---|
| AngleThreshold | Returns or sets the angular tolerance to detect sharp edges to be kept. |
| Bodies | Returns the facet bodies to be subdivided. |
| EdgeLength | Returns or sets the value indicating length of the edge of the polygons to be subdivided. |
| FacetBodies | Returns the facet bodies to be subdivided |
| FacetCollector | Returns or sets a collector of facets on the facet bodies to be subdivided. |
| InterpolationMethod | Returns or sets the interpolation method |
| IsEditCopy | Returns or sets the value indicating if a copy of the facet body to be subdivided without altering the original. |
| IsOptimize | Returns or sets the value indicating whether to perform a decimation step after the subdivision. |
| RegionList | Returns an optional list of regions on the facet bodies to be subdivided. |
| SubdivisionMethod | Returns or sets the subdivision method |
| 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. |
Enumerations¶
| SubdivideFacetBodyBuilderInterpolationMethodType Enumeration | Subdivision interpolation methods |
| SubdivideFacetBodyBuilderSubdivisionMethodType Enumeration | Subdivision methods |
Property Detail¶
AngleThreshold¶
-
SubdivideFacetBodyBuilder.AngleThreshold¶ Returns or sets the angular tolerance to detect sharp edges to be kept.
Cubic interpolation can not interpolate over an edge of two triangles whose normals differ more than the specified value. Same applies to re-meshing.
-------------------------------------Getter Method
Signature
AngleThresholdReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AngleThresholdParameters: angleThreshold (float) – New in version NX7.5.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
Bodies¶
-
SubdivideFacetBodyBuilder.Bodies¶ Returns the facet bodies to be subdivided.
Inputs to this command can be convergent objects.
-------------------------------------Getter Method
Signature
BodiesReturns: Return type: NXOpen.SelectDisplayableObjectListNew in version NX11.0.0.
Deprecated since version NX12.0.0: Use
NXOpen.Facet.SubdivideFacetBodyBuilder.FacetCollector()instead.License requirements: None.
EdgeLength¶
-
SubdivideFacetBodyBuilder.EdgeLength¶ Returns or sets the value indicating length of the edge of the polygons to be subdivided.
-------------------------------------Getter Method
Signature
EdgeLengthReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EdgeLengthParameters: edgeLength (float) – New in version NX7.5.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
FacetBodies¶
-
SubdivideFacetBodyBuilder.FacetBodies¶ Returns the facet bodies to be subdivided
-------------------------------------Getter Method
Signature
FacetBodiesReturns: Return type: NXOpen.Facet.SelectFacetedBodyListNew in version NX7.5.0.
Deprecated since version NX11.0.0: Use
NXOpen.Facet.SubdivideFacetBodyBuilder.Bodies()instead.License requirements: None.
FacetCollector¶
-
SubdivideFacetBodyBuilder.FacetCollector¶ Returns or sets a collector of facets on the facet bodies to be subdivided.
-------------------------------------Getter Method
Signature
FacetCollectorReturns: Return type: NXOpen.FacetCollectorNew in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FacetCollectorParameters: collector ( NXOpen.FacetCollector) –New in version NX12.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
InterpolationMethod¶
-
SubdivideFacetBodyBuilder.InterpolationMethod¶ Returns or sets the interpolation method
-------------------------------------Getter Method
Signature
InterpolationMethodReturns: Return type: NXOpen.Facet.SubdivideFacetBodyBuilderInterpolationMethodTypeNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
InterpolationMethodParameters: interpolationMethod ( NXOpen.Facet.SubdivideFacetBodyBuilderInterpolationMethodType) –New in version NX7.5.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
IsEditCopy¶
-
SubdivideFacetBodyBuilder.IsEditCopy¶ Returns or sets the value indicating if a copy of the facet body to be subdivided without altering the original.
-------------------------------------Getter Method
Signature
IsEditCopyReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IsEditCopyParameters: isEditCopy (bool) – New in version NX7.5.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
IsOptimize¶
-
SubdivideFacetBodyBuilder.IsOptimize¶ Returns or sets the value indicating whether to perform a decimation step after the subdivision.
-------------------------------------Getter Method
Signature
IsOptimizeReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IsOptimizeParameters: isOptimize (bool) – New in version NX7.5.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
RegionList¶
-
SubdivideFacetBodyBuilder.RegionList¶ Returns an optional list of regions on the facet bodies to be subdivided.
-------------------------------------Getter Method
Signature
RegionListReturns: Return type: NXOpen.GeometricUtilities.BoundaryDefinitionBuilderListNew in version NX7.5.0.
Deprecated since version NX12.0.0: Use
NXOpen.Facet.SubdivideFacetBodyBuilder.FacetCollector()instead.License requirements: None.
SubdivisionMethod¶
-
SubdivideFacetBodyBuilder.SubdivisionMethod¶ Returns or sets the subdivision method
-------------------------------------Getter Method
Signature
SubdivisionMethodReturns: Return type: NXOpen.Facet.SubdivideFacetBodyBuilderSubdivisionMethodTypeNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SubdivisionMethodParameters: subdivisionMethod ( NXOpen.Facet.SubdivideFacetBodyBuilderSubdivisionMethodType) –New in version NX7.5.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
Method Detail¶
Validate¶
-
SubdivideFacetBodyBuilder.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.