SubdivideFacetBodyBuilder Class

class NXOpen.Facet.SubdivideFacetBodyBuilder

Bases: NXOpen.Builder

This 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.

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 AngleThreshold

Returns:
Return type:float

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature AngleThreshold

Parameters: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 Bodies

Returns:
Return type:NXOpen.SelectDisplayableObjectList

New 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 EdgeLength

Returns:
Return type:float

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature EdgeLength

Parameters: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 FacetBodies

Returns:
Return type:NXOpen.Facet.SelectFacetedBodyList

New 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 FacetCollector

Returns:
Return type:NXOpen.FacetCollector

New in version NX12.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature FacetCollector

Parameters: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 InterpolationMethod

Returns:
Return type:NXOpen.Facet.SubdivideFacetBodyBuilderInterpolationMethodType

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature InterpolationMethod

Parameters: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 IsEditCopy

Returns:
Return type:bool

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature IsEditCopy

Parameters: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 IsOptimize

Returns:
Return type:bool

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature IsOptimize

Parameters: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 RegionList

Returns:
Return type:NXOpen.GeometricUtilities.BoundaryDefinitionBuilderList

New 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 SubdivisionMethod

Returns:
Return type:NXOpen.Facet.SubdivideFacetBodyBuilderSubdivisionMethodType

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature SubdivisionMethod

Parameters: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.