ThroughCurveMeshBuilder Class

class NXOpen.Features.ThroughCurveMeshBuilder

Bases: NXOpen.Features.FeatureBuilder

Represents a NXOpen.Features.ThroughCurveMesh builder.

Let you create a body from a collection of existing curve outlines (known as strings) running in two different directions.

To create a new instance of this class, use NXOpen.Features.FeatureCollection.CreateThroughCurveMeshBuilder()

Default values.

Property Value
Construction Normal
CrossSurfaceRebuildData.RebuildType None
CurvatureTolerance 0.5
Emphasis Both
FirstCrossContinuity.ContinuityType G0
FirstPrimaryContinuity.ContinuityType G0
IntersectionTolerance 0.02
LastCrossContinuity.ContinuityType G0
LastPrimaryContinuity.ContinuityType G0
PositionTolerance 0.0254 (millimeters part), 0.001 (inches part)
PrimarySurfaceRebuildData.RebuildType None
TangentTolerance 0.5

New in version NX5.0.0.

Properties

Property Description
BodyPreference Returns or sets the body type options
Construction Returns or sets the construction options.
CrossCurvesList Returns the cross curves list which is required.
CrossSurfaceRebuildData Returns the cross surface rebuild data, NXOpen.GeometricUtilities.Rebuild.
CrossTemplateString Returns the cross template curve.
CurvatureTolerance Returns or sets the curvature tolerance.
Emphasis Returns or sets the emphasis options.
FirstCrossContinuity Returns the first cross continuity, NXOpen.GeometricUtilities.Continuity.
FirstPrimaryContinuity Returns the first primary continuity, NXOpen.GeometricUtilities.Continuity.
IntersectionTolerance Returns or sets the intersection tolerance.
LastCrossContinuity Returns the last cross continuity, NXOpen.GeometricUtilities.Continuity.
LastPrimaryContinuity Returns the last primary continuity, NXOpen.GeometricUtilities.Continuity.
ParentFeatureInternal Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal
PatchSolutionFlag Returns or sets the patch solution flag
PatchSurfaceFilename Returns or sets the patch surface filename
PositionTolerance Returns or sets the position tolerance.
PrimaryCurvesList Returns the primary curves list which is required.
PrimarySurfaceRebuildData Returns the primary surface rebuild data, NXOpen.GeometricUtilities.Rebuild.
PrimaryTemplateString Returns the primary template curve.
Spine Returns the spine.
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.
TangentTolerance Returns or sets the tangent tolerance.

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
CommitFeature Commits the feature parameters and creates the feature
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.
GetFeature Returns the feature currently being edited by this builder.
GetObject Returns the object currently being edited by this builder.
HideInternalParentFeatureAfterEdit Re-suppress an internal parent feature (a slave feature) after it has been edited.
SetParentFeatureInternal Set the parent features which would be internal or slaves to the feature being created or commited
ShowInternalParentFeatureForEdit Unsuppress an internal parent feature (a slave feature) so it can be edited.
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
UnsetParentFeatureInternal Set the internal parent feature of the feature being edited to external
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

ThroughCurveMeshBuilderBodyPreferenceTypes Enumeration This enum represents the body type option.
ThroughCurveMeshBuilderConstructionMethod Enumeration This enum represents the Construction options.
ThroughCurveMeshBuilderEmphasisType Enumeration This enum represents the Emphasis options.

Property Detail

BodyPreference

ThroughCurveMeshBuilder.BodyPreference

Returns or sets the body type options

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

Getter Method

Signature BodyPreference

Returns:
Return type:NXOpen.Features.ThroughCurveMeshBuilderBodyPreferenceTypes

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature BodyPreference

Parameters:bodyPreference (NXOpen.Features.ThroughCurveMeshBuilderBodyPreferenceTypes) –

New in version NX7.5.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

Construction

ThroughCurveMeshBuilder.Construction

Returns or sets the construction options.

Use one of three construction options when you create a Through Curve Mesh feature: Normal, Use Spline Points, and Simple.

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

Getter Method

Signature Construction

Returns:
Return type:NXOpen.Features.ThroughCurveMeshBuilderConstructionMethod

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

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

Setter Method

Signature Construction

Parameters:construction (NXOpen.Features.ThroughCurveMeshBuilderConstructionMethod) –

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

CrossCurvesList

ThroughCurveMeshBuilder.CrossCurvesList

Returns the cross curves list which is required.

They should all be roughly parallel and run in approximately one direction. A point could be selected as the first and/or last primary string.

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

Getter Method

Signature CrossCurvesList

Returns:
Return type:NXOpen.SectionList

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

CrossSurfaceRebuildData

ThroughCurveMeshBuilder.CrossSurfaceRebuildData

Returns the cross surface rebuild data, NXOpen.GeometricUtilities.Rebuild.

Redefine the degree and knot points of the cross strings to build a surface that joins smoothly with surrounding surfaces. It is only available for the Normal Construction option.

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

Getter Method

Signature CrossSurfaceRebuildData

Returns:
Return type:NXOpen.GeometricUtilities.Rebuild

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

CrossTemplateString

ThroughCurveMeshBuilder.CrossTemplateString

Returns the cross template curve.

Control the building of the simple surface in cross curve direction. It is only available when the construction method is simple. If you leave it empty, the system will automatically choose the most complicated one for fitting.

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

Getter Method

Signature CrossTemplateString

Returns:
Return type:NXOpen.Section

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

CurvatureTolerance

ThroughCurveMeshBuilder.CurvatureTolerance

Returns or sets the curvature tolerance.

Control the curvature tolerance of the rebuild surface in relation to the input curves.

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

Getter Method

Signature CurvatureTolerance

Returns:
Return type:float

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

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

Setter Method

Signature CurvatureTolerance

Parameters:tolerance (float) –

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

Emphasis

ThroughCurveMeshBuilder.Emphasis

Returns or sets the emphasis options.

Allow you to tell the system which set of strings will have the most effect on the created surface in both location and shape.

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

Getter Method

Signature Emphasis

Returns:
Return type:NXOpen.Features.ThroughCurveMeshBuilderEmphasisType

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

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

Setter Method

Signature Emphasis

Parameters:emphasis (NXOpen.Features.ThroughCurveMeshBuilderEmphasisType) –

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

FirstCrossContinuity

ThroughCurveMeshBuilder.FirstCrossContinuity

Returns the first cross continuity, NXOpen.GeometricUtilities.Continuity.

Define continuity constraint at the first cross sections side. It contains the continuity type and the constraint face.

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

Getter Method

Signature FirstCrossContinuity

Returns:
Return type:NXOpen.GeometricUtilities.Continuity

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

FirstPrimaryContinuity

ThroughCurveMeshBuilder.FirstPrimaryContinuity

Returns the first primary continuity, NXOpen.GeometricUtilities.Continuity.

Define continuity constraint at the first primary sections side. It contains the continuity type and the constraint face.

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

Getter Method

Signature FirstPrimaryContinuity

Returns:
Return type:NXOpen.GeometricUtilities.Continuity

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

IntersectionTolerance

ThroughCurveMeshBuilder.IntersectionTolerance

Returns or sets the intersection tolerance.

Define how far the primary strings and cross strings can deviate from each other.

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

Getter Method

Signature IntersectionTolerance

Returns:
Return type:float

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

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

Setter Method

Signature IntersectionTolerance

Parameters:tolerance (float) –

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

LastCrossContinuity

ThroughCurveMeshBuilder.LastCrossContinuity

Returns the last cross continuity, NXOpen.GeometricUtilities.Continuity.

Define continuity constraint at the first cross sections side. It contains the continuity type and the constraint face.

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

Getter Method

Signature LastCrossContinuity

Returns:
Return type:NXOpen.GeometricUtilities.Continuity

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

LastPrimaryContinuity

ThroughCurveMeshBuilder.LastPrimaryContinuity

Returns the last primary continuity, NXOpen.GeometricUtilities.Continuity.

Define continuity constraint at the last primary sections side. It contains the continuity type and the constraint face.

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

Getter Method

Signature LastPrimaryContinuity

Returns:
Return type:NXOpen.GeometricUtilities.Continuity

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

PositionTolerance

ThroughCurveMeshBuilder.PositionTolerance

Returns or sets the position tolerance.

Control the distance accuracy of the rebuild surface in relation to the input curves.

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

Getter Method

Signature PositionTolerance

Returns:
Return type:float

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

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

Setter Method

Signature PositionTolerance

Parameters:tolerance (float) –

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

PrimaryCurvesList

ThroughCurveMeshBuilder.PrimaryCurvesList

Returns the primary curves list which is required.

They should all be roughly parallel and run in approximately one direction. A point could be selected as the first and/or last primary string.

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

Getter Method

Signature PrimaryCurvesList

Returns:
Return type:NXOpen.SectionList

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

PrimarySurfaceRebuildData

ThroughCurveMeshBuilder.PrimarySurfaceRebuildData

Returns the primary surface rebuild data, NXOpen.GeometricUtilities.Rebuild.

Redefine the degree and knot points of the primary strings to build a surface that joins smoothly with surrounding surfaces. It is only available for the Normal Construction option.

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

Getter Method

Signature PrimarySurfaceRebuildData

Returns:
Return type:NXOpen.GeometricUtilities.Rebuild

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

PrimaryTemplateString

ThroughCurveMeshBuilder.PrimaryTemplateString

Returns the primary template curve.

Control the building of the simple surface in primary curve direction. It is only available when the construction method is simple. If you leave it empty, the system will automatically choose the most complicated one for fitting.

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

Getter Method

Signature PrimaryTemplateString

Returns:
Return type:NXOpen.Section

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

Spine

ThroughCurveMeshBuilder.Spine

Returns the spine.

Control the parameterization of the cross strings. It is valid only if both the first and last primary strings are planar and this spine string is perpendicular to the first and last primary strings

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

Getter Method

Signature Spine

Returns:
Return type:NXOpen.Section

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

TangentTolerance

ThroughCurveMeshBuilder.TangentTolerance

Returns or sets the tangent tolerance.

Control the angle accuracy of the rebuild surface in relation to the input curves.It is expressed in degree.

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

Getter Method

Signature TangentTolerance

Returns:
Return type:float

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

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

Setter Method

Signature TangentTolerance

Parameters:tolerance (float) –

New in version NX5.0.0.

License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)

Method Detail

Validate

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