CurvatureBuilder Class

class NXOpen.Facet.CurvatureBuilder

Bases: NXOpen.Builder

Represents a NXOpen.Facet.CurvatureBuilder.

It calculates the maximum absolute principal curvature on facet bodies and creates a color map of these values.

To create a new instance of this class, use NXOpen.Facet.FacetedBodyCollection.CreateFacetCurvatureBuilder()

New in version NX5.0.0.

Properties

Property Description
Bodies Returns the input facet body list.
ConcaveRadius Returns or sets the concave radius threshold
ConvexRadius Returns or sets the convex radius threshold
FacetBodies Returns the input facet body list
IsDirectionReversed Returns or sets the reverse direction option
SmoothingFactor 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.
DeleteCurvature Deletes the curvature data associated with the input facet bodies.
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

CurvatureBuilder.Bodies

Returns the input facet body list.

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.

ConcaveRadius

CurvatureBuilder.ConcaveRadius

Returns or sets the concave radius threshold

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

Getter Method

Signature ConcaveRadius

Returns:
Return type:float

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature ConcaveRadius

Parameters:concaveRadius (float) –

New in version NX5.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

ConvexRadius

CurvatureBuilder.ConvexRadius

Returns or sets the convex radius threshold

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

Getter Method

Signature ConvexRadius

Returns:
Return type:float

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature ConvexRadius

Parameters:convexRadius (float) –

New in version NX5.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

FacetBodies

CurvatureBuilder.FacetBodies

Returns the input facet body list

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

Getter Method

Signature FacetBodies

Returns:
Return type:NXOpen.Facet.SelectFacetedBodyList

New in version NX5.0.0.

Deprecated since version NX11.0.0: Use NXOpen.Facet.CurvatureBuilder.Bodies() instead.

License requirements: None.

IsDirectionReversed

CurvatureBuilder.IsDirectionReversed

Returns or sets the reverse direction option

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

Getter Method

Signature IsDirectionReversed

Returns:
Return type:bool

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature IsDirectionReversed

Parameters:directionReversed (bool) –

New in version NX5.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

SmoothingFactor

CurvatureBuilder.SmoothingFactor

Returns or sets the smoothing factor

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

Getter Method

Signature SmoothingFactor

Returns:
Return type:float

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature SmoothingFactor

Parameters:smoothingFactor (float) –

New in version NX5.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

Method Detail

DeleteCurvature

CurvatureBuilder.DeleteCurvature

Deletes the curvature data associated with the input facet bodies.

Call this method in order to save memory if the curvature data are not needed any more.

Signature DeleteCurvature()

New in version NX5.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

Validate

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