ThroughCurvesBuilder Class¶
-
class
NXOpen.Features.
ThroughCurvesBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a
NXOpen.Features.ThroughCurves
builder.This builder lets you create or edit a body through a collection of curve outlines in one direction. The curve outlines are referred to as section strings.
To create a new instance of this class, use
NXOpen.Features.FeatureCollection.CreateThroughCurvesBuilder()
Default values.
Property Value Alignment.AlignType Parameter ClosedInV False Construction Normal FirstSectionContinuity.ContinuityType G0 FlowDirection.FlowDirectionType NotSpecified LastSectionContinuity.ContinuityType G0 LoftingSurfaceRebuildData.Degree 3 LoftingSurfaceRebuildData.RebuildType None NormalToEndSections False PatchType Multiple PreserveShape True SectionSurfaceRebuildData.RebuildType None New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
Alignment | Returns the alignment. |
BodyPreference | Returns or sets the body type options |
ClosedInV | Returns or sets the closed in V. |
Construction | Returns or sets the construction options. |
CurvatureTolerance | Returns or sets the curvature tolerance. |
FirstSectionContinuity | Returns the first section continuity. |
FlowDirection | Returns the flow direction. |
LastSectionContinuity | Returns the last section continuity. |
LoftingSurfaceRebuildData | Returns the lofting surface rebuild data. |
NormalToEndSections | Returns or sets the option of normal to end sections for Through Curves surface, which makes the output surface normal to the two end sections. |
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 |
PatchType | Returns or sets the patch type. |
PositionTolerance | Returns or sets the position tolerance. |
PreserveShape | Returns or sets the preserve shape. |
SectionSurfaceRebuildData | Returns the section surface rebuild data. |
SectionTemplateString | Returns or sets the section template curve. |
SectionsList | Returns the sections list which is required. |
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¶
ThroughCurvesBuilderBodyPreferenceTypes Enumeration | This enum represents the body type option. |
ThroughCurvesBuilderConstructionMethod Enumeration | This enum represents the Construction options. |
ThroughCurvesBuilderPatchTypes Enumeration | This enum represents the Patch options. |
Property Detail¶
Alignment¶
-
ThroughCurvesBuilder.
Alignment
¶ Returns the alignment.
See
NXOpen.GeometricUtilities.AlignmentMethodBuilder
for details.-------------------------------------
Getter Method
Signature
Alignment
Returns: Return type: NXOpen.GeometricUtilities.AlignmentMethodBuilder
New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
BodyPreference¶
-
ThroughCurvesBuilder.
BodyPreference
¶ Returns or sets the body type options
-------------------------------------
Getter Method
Signature
BodyPreference
Returns: Return type: NXOpen.Features.ThroughCurvesBuilderBodyPreferenceTypes
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BodyPreference
Parameters: bodyPreference ( NXOpen.Features.ThroughCurvesBuilderBodyPreferenceTypes
) –New in version NX7.5.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
ClosedInV¶
-
ThroughCurvesBuilder.
ClosedInV
¶ Returns or sets the closed in V.
When this option is ON, the sheet is closed along columns (that is, the V direction).
-------------------------------------
Getter Method
Signature
ClosedInV
Returns: Return type: bool New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
-------------------------------------
Setter Method
Signature
ClosedInV
Parameters: closedInV (bool) – New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
Construction¶
-
ThroughCurvesBuilder.
Construction
¶ Returns or sets the construction options.
Use one of three construction options when you create a Through Curves feature: Normal, Use Spline Points and Simple.
-------------------------------------
Getter Method
Signature
Construction
Returns: Return type: NXOpen.Features.ThroughCurvesBuilderConstructionMethod
New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
-------------------------------------
Setter Method
Signature
Construction
Parameters: construction ( NXOpen.Features.ThroughCurvesBuilderConstructionMethod
) –New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
CurvatureTolerance¶
-
ThroughCurvesBuilder.
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”) OR 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”) OR nx_freeform_1 (“basic freeform modeling”)
FirstSectionContinuity¶
-
ThroughCurvesBuilder.
FirstSectionContinuity
¶ Returns the first section continuity.
See
NXOpen.GeometricUtilities.Continuity
for details. Define continuity constraint at the first section side. It contains the continuity type and the constraint face.-------------------------------------
Getter Method
Signature
FirstSectionContinuity
Returns: Return type: NXOpen.GeometricUtilities.Continuity
New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
FlowDirection¶
-
ThroughCurvesBuilder.
FlowDirection
¶ Returns the flow direction.
See
NXOpen.GeometricUtilities.FlowDirection
for details.-------------------------------------
Getter Method
Signature
FlowDirection
Returns: Return type: NXOpen.GeometricUtilities.FlowDirection
New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
LastSectionContinuity¶
-
ThroughCurvesBuilder.
LastSectionContinuity
¶ Returns the last section continuity.
See
NXOpen.GeometricUtilities.Continuity
for details. Define continuity constraint at the last section side. It contains the continuity type and the constraint face.-------------------------------------
Getter Method
Signature
LastSectionContinuity
Returns: Return type: NXOpen.GeometricUtilities.Continuity
New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
LoftingSurfaceRebuildData¶
-
ThroughCurvesBuilder.
LoftingSurfaceRebuildData
¶ Returns the lofting surface rebuild data.
See
NXOpen.GeometricUtilities.Rebuild
for details.-------------------------------------
Getter Method
Signature
LoftingSurfaceRebuildData
Returns: Return type: NXOpen.GeometricUtilities.Rebuild
New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
NormalToEndSections¶
-
ThroughCurvesBuilder.
NormalToEndSections
¶ Returns or sets the option of normal to end sections for Through Curves surface, which makes the output surface normal to the two end sections.
If an end section is planar, the surface will be parallel to the plane normal at the end.If an end section is a 3D curve, an average normal vector will be computed, and the surface will be parallel to the average normal at the end. If an end section is a line, the normal vector will be computed so that it points from the end section to the section next to the end section.
-------------------------------------
Getter Method
Signature
NormalToEndSections
Returns: Return type: bool New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
-------------------------------------
Setter Method
Signature
NormalToEndSections
Parameters: normalToEndSections (bool) – New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
PatchType¶
-
ThroughCurvesBuilder.
PatchType
¶ Returns or sets the patch type.
Lets you create a body containing a single patch or multiple patches.
-------------------------------------
Getter Method
Signature
PatchType
Returns: Return type: NXOpen.Features.ThroughCurvesBuilderPatchTypes
New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
-------------------------------------
Setter Method
Signature
PatchType
Parameters: patchType ( NXOpen.Features.ThroughCurvesBuilderPatchTypes
) –New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
PositionTolerance¶
-
ThroughCurvesBuilder.
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”) OR 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”) OR nx_freeform_1 (“basic freeform modeling”)
PreserveShape¶
-
ThroughCurvesBuilder.
PreserveShape
¶ Returns or sets the preserve shape.
Allow you to keep sharp edges, overriding the default of approximating the output surface. Setting the Tolerance to 0.0 will achieve the same result.
-------------------------------------
Getter Method
Signature
PreserveShape
Returns: Return type: bool New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
-------------------------------------
Setter Method
Signature
PreserveShape
Parameters: preserveShape (bool) – New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
SectionSurfaceRebuildData¶
-
ThroughCurvesBuilder.
SectionSurfaceRebuildData
¶ Returns the section surface rebuild data.
See
NXOpen.GeometricUtilities.Rebuild
for details.-------------------------------------
Getter Method
Signature
SectionSurfaceRebuildData
Returns: Return type: NXOpen.GeometricUtilities.Rebuild
New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
SectionTemplateString¶
-
ThroughCurvesBuilder.
SectionTemplateString
¶ Returns or sets the section template curve.
Control the building of the simple surface in section 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
SectionTemplateString
Returns: Return type: NXOpen.Section
New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
-------------------------------------
Setter Method
Signature
SectionTemplateString
Parameters: sectionTemplate ( NXOpen.Section
) –New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
SectionsList¶
-
ThroughCurvesBuilder.
SectionsList
¶ Returns the sections list which is required.
See
NXOpen.ObjectList
for details. The section strings define the rows of the body. A section string can consist of a single object or multiple objects, and each object can be one of the following: a curve or a solid edge.-------------------------------------
Getter Method
Signature
SectionsList
Returns: Return type: NXOpen.SectionList
New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”) OR nx_freeform_1 (“basic freeform modeling”)
TangentTolerance¶
-
ThroughCurvesBuilder.
TangentTolerance
¶ Returns or sets the tangent tolerance.
Control the angular 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”) OR 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”) OR nx_freeform_1 (“basic freeform modeling”)
Method Detail¶
Validate¶
-
ThroughCurvesBuilder.
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.