DivideFacetFaceBuilder Class

class NXOpen.Facet.DivideFacetFaceBuilder

Bases: NXOpen.Builder

Represents a NXOpen.Facet.DivideFacetFaceBuilder.

Divide Facet Face Builder is a function to facilitate dividing of selected facet out of original facet face. To create a new instance of this class, use NXOpen.Facet.FacetModelingCollection.CreateDivideFacetFaceBuilder()

Default values.

Property Value
Degree 3
IsEditCopy 0
Segments 50

New in version NX12.0.0.

Properties

Property Description
Degree Returns or sets the polynomial degree (one unit less than the order).
FacetBodyCollector Returns the collector for specifying facet bodies to be divided based on colored regions.
FacetCollector Returns the collector for specifying facet regions
IsEditCopy Returns or sets the value indicating if a copy of the facet body to be used for Divide facet face without altering the original
Segments Returns or sets the number of segments used for advanced fitting
Tag Returns the Tag for this object.
Type Returns or sets the type of enum which decides method for dividing facet faces

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

DivideFacetFaceBuilderDivideFacetTypes Enumeration Divide Facet Face type

Property Detail

Degree

DivideFacetFaceBuilder.Degree

Returns or sets the polynomial degree (one unit less than the order).

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

Getter Method

Signature Degree

Returns:
Return type:int

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature Degree

Parameters:degree (int) –

New in version NX12.0.0.

License requirements: nx_polygon_modeling (” NX Polygon Modeling”)

FacetBodyCollector

DivideFacetFaceBuilder.FacetBodyCollector

Returns the collector for specifying facet bodies to be divided based on colored regions.

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

Getter Method

Signature FacetBodyCollector

Returns:
Return type:NXOpen.ScCollector

New in version NX12.0.0.

License requirements: None.

FacetCollector

DivideFacetFaceBuilder.FacetCollector

Returns the collector for specifying facet regions

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

Getter Method

Signature FacetCollector

Returns:
Return type:NXOpen.FacetCollector

New in version NX12.0.0.

License requirements: None.

IsEditCopy

DivideFacetFaceBuilder.IsEditCopy

Returns or sets the value indicating if a copy of the facet body to be used for Divide facet face without altering the original

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

Getter Method

Signature IsEditCopy

Returns:
Return type:bool

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature IsEditCopy

Parameters:isEditCopy (bool) –

New in version NX12.0.0.

License requirements: nx_polygon_modeling (” NX Polygon Modeling”)

Segments

DivideFacetFaceBuilder.Segments

Returns or sets the number of segments used for advanced fitting

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

Getter Method

Signature Segments

Returns:
Return type:int

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature Segments

Parameters:segments (int) –

New in version NX12.0.0.

License requirements: nx_polygon_modeling (” NX Polygon Modeling”)

Type

DivideFacetFaceBuilder.Type

Returns or sets the type of enum which decides method for dividing facet faces

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

Getter Method

Signature Type

Returns:
Return type:NXOpen.Facet.DivideFacetFaceBuilderDivideFacetTypes

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature Type

Parameters:type (NXOpen.Facet.DivideFacetFaceBuilderDivideFacetTypes) –

New in version NX12.0.0.

License requirements: nx_polygon_modeling (” NX Polygon Modeling”)

Method Detail

Validate

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