ProjectCurveBuilder Class¶
-
class
NXOpen.Features.ProjectCurveBuilder¶ Bases:
NXOpen.Features.FeatureBuilderRepresents a
NXOpen.Features.ProjectCurvebuilder.Inputs to this class can be convergent objects.
To create a new instance of this class, use
NXOpen.Features.FeatureCollection.CreateProjectCurveBuilder()Default values.
Property Value AngleToProjectionVector.Value 0.0 BridgedGapSize 1.0 (millimeters part), 0.04 (inches part) CurveFitData.CurveJoinMethod No CurveFitData.Degree 7 CurveFitData.FitMethod DegreeAndSegments CurveFitData.IsAdvancedFit 0 CurveFitData.IsAlignShape 0 CurveFitData.MaximumDegree 7 CurveFitData.MaximumSegments 1 CurveFitData.MinimumDegree 5 CurveFitData.Segments 1 CurveFitJoinData.CurveFitOptions.FitOption (deprecated) Cubic CurveFitJoinData.CurveFitOptions.MaximumDegree (deprecated) 7 CurveFitJoinData.CurveFitOptions.MaximumSegments (deprecated) 1 EqualArcLengthMethod BothXY GapOption false InputCurvesOption.Associative True NearestPointOption false ProjectionDirectionMethod AlongFaceNormal ProjectionOption None New in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| AngleToProjectionVector | Returns the angle to projection vector |
| BridgedGapSize | Returns or sets the maximum bridged gap size. |
| CurveFitData | Returns the curve fit settings |
| CurveFitJoinData | Returns the curve fit join method |
| EqualArcLengthMethod | Returns or sets the equal arc length method |
| FaceToProjectTo | Returns the face to project to |
| GapOption | Returns or sets the gap option whether to create curve to bridge gap or not |
| InputCurvesOption | Returns the input curves option |
| LineToProjectToward | Returns the line to project toward |
| NearestPointOption | Returns or sets the nearest point option whether to project curve by nearest point or not. |
| 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 |
| PlaneToProjectTo | Returns or sets the plane to project to |
| PointToProjectToward | Returns or sets the point to project toward |
| ProjectionDirectionMethod | Returns or sets the projection direction method |
| ProjectionOption | Returns or sets the projection option type |
| ProjectionVector | Returns or sets the projection vector |
| ReferencePointForEqualArcLength | Returns or sets the reference point for equal arc length |
| SectionToProject | Returns the section to project |
| SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
| Tag | Returns the Tag for this object. |
| Tolerance | Returns or sets the tolerance |
| XVectorForEqualArcLength | Returns or sets the x vector for equal arc length |
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¶
| ProjectCurveBuilderArcLengthType Enumeration | Represents Equal Arc Length type |
| ProjectCurveBuilderDirectionType Enumeration | Represents direction method |
| ProjectCurveBuilderProjectionOptionType Enumeration | Represents projection option type used when direction type is along vector |
Property Detail¶
AngleToProjectionVector¶
-
ProjectCurveBuilder.AngleToProjectionVector¶ Returns the angle to projection vector
-------------------------------------Getter Method
Signature
AngleToProjectionVectorReturns: Return type: NXOpen.ExpressionNew in version NX5.0.0.
License requirements: None.
BridgedGapSize¶
-
ProjectCurveBuilder.BridgedGapSize¶ Returns or sets the maximum bridged gap size.
When gap distance is less than maximum bridged gap size and bigger than the default modeling tolerance, NX project curve will add an internal bridge curve to close the gap between segments in projection curve. This option is only valid if
NXOpen.Features.ProjectCurveBuilder.GapOption`()is true.-------------------------------------Getter Method
Signature
BridgedGapSizeReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BridgedGapSizeParameters: bridgedGapSize (float) – New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
CurveFitData¶
-
ProjectCurveBuilder.CurveFitData¶ Returns the curve fit settings
-------------------------------------Getter Method
Signature
CurveFitDataReturns: Return type: NXOpen.GeometricUtilities.CurveFitDataNew in version NX8.0.0.
License requirements: None.
CurveFitJoinData¶
-
ProjectCurveBuilder.CurveFitJoinData¶ Returns the curve fit join method
-------------------------------------Getter Method
Signature
CurveFitJoinDataReturns: Return type: NXOpen.GeometricUtilities.CurveFitJoinNew in version NX5.0.0.
Deprecated since version NX8.0.0: Use
NXOpen.Features.ProjectCurveBuilder.CurveFitData()insteadLicense requirements: None.
EqualArcLengthMethod¶
-
ProjectCurveBuilder.EqualArcLengthMethod¶ Returns or sets the equal arc length method
-------------------------------------Getter Method
Signature
EqualArcLengthMethodReturns: Return type: NXOpen.Features.ProjectCurveBuilderArcLengthTypeNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EqualArcLengthMethodParameters: arcLengthMethod ( NXOpen.Features.ProjectCurveBuilderArcLengthType) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
FaceToProjectTo¶
-
ProjectCurveBuilder.FaceToProjectTo¶ Returns the face to project to
-------------------------------------Getter Method
Signature
FaceToProjectToReturns: Return type: NXOpen.SelectObjectListNew in version NX5.0.0.
License requirements: None.
GapOption¶
-
ProjectCurveBuilder.GapOption¶ Returns or sets the gap option whether to create curve to bridge gap or not
-------------------------------------Getter Method
Signature
GapOptionReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GapOptionParameters: gapOption (bool) – New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
InputCurvesOption¶
-
ProjectCurveBuilder.InputCurvesOption¶ Returns the input curves option
-------------------------------------Getter Method
Signature
InputCurvesOptionReturns: Return type: NXOpen.GeometricUtilities.CurveOptionsNew in version NX5.0.0.
License requirements: None.
LineToProjectToward¶
-
ProjectCurveBuilder.LineToProjectToward¶ Returns the line to project toward
-------------------------------------Getter Method
Signature
LineToProjectTowardReturns: Return type: NXOpen.SelectDisplayableObjectNew in version NX5.0.0.
License requirements: None.
NearestPointOption¶
-
ProjectCurveBuilder.NearestPointOption¶ Returns or sets the nearest point option whether to project curve by nearest point or not.
This option is only valid if
NXOpen.Features.ProjectCurveBuilderDirectionType.AlongVectoris used andNXOpen.Features.ProjectCurveBuilderProjectionOptionType.NoneorNXOpen.Features.ProjectCurveBuilderProjectionOptionType.ProjectBothSidesis used.-------------------------------------Getter Method
Signature
NearestPointOptionReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NearestPointOptionParameters: nearestPointOption (bool) – New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
PlaneToProjectTo¶
-
ProjectCurveBuilder.PlaneToProjectTo¶ Returns or sets the plane to project to
-------------------------------------Getter Method
Signature
PlaneToProjectToReturns: Return type: NXOpen.PlaneNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PlaneToProjectToParameters: projectedPlane ( NXOpen.Plane) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
PointToProjectToward¶
-
ProjectCurveBuilder.PointToProjectToward¶ Returns or sets the point to project toward
-------------------------------------Getter Method
Signature
PointToProjectTowardReturns: Return type: NXOpen.PointNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PointToProjectTowardParameters: towardPoint ( NXOpen.Point) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
ProjectionDirectionMethod¶
-
ProjectCurveBuilder.ProjectionDirectionMethod¶ Returns or sets the projection direction method
-------------------------------------Getter Method
Signature
ProjectionDirectionMethodReturns: Return type: NXOpen.Features.ProjectCurveBuilderDirectionTypeNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ProjectionDirectionMethodParameters: directionMethod ( NXOpen.Features.ProjectCurveBuilderDirectionType) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
ProjectionOption¶
-
ProjectCurveBuilder.ProjectionOption¶ Returns or sets the projection option type
-------------------------------------Getter Method
Signature
ProjectionOptionReturns: Return type: NXOpen.Features.ProjectCurveBuilderProjectionOptionTypeNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ProjectionOptionParameters: projectionOption ( NXOpen.Features.ProjectCurveBuilderProjectionOptionType) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
ProjectionVector¶
-
ProjectCurveBuilder.ProjectionVector¶ Returns or sets the projection vector
-------------------------------------Getter Method
Signature
ProjectionVectorReturns: Return type: NXOpen.DirectionNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ProjectionVectorParameters: alongVector ( NXOpen.Direction) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
ReferencePointForEqualArcLength¶
-
ProjectCurveBuilder.ReferencePointForEqualArcLength¶ Returns or sets the reference point for equal arc length
-------------------------------------Getter Method
Signature
ReferencePointForEqualArcLengthReturns: Return type: NXOpen.PointNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReferencePointForEqualArcLengthParameters: referencePoint ( NXOpen.Point) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
SectionToProject¶
-
ProjectCurveBuilder.SectionToProject¶ Returns the section to project
-------------------------------------Getter Method
Signature
SectionToProjectReturns: Return type: NXOpen.SectionNew in version NX5.0.0.
License requirements: None.
Tolerance¶
-
ProjectCurveBuilder.Tolerance¶ Returns or sets the tolerance
-------------------------------------Getter Method
Signature
ToleranceReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceParameters: tolerance (float) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
XVectorForEqualArcLength¶
-
ProjectCurveBuilder.XVectorForEqualArcLength¶ Returns or sets the x vector for equal arc length
-------------------------------------Getter Method
Signature
XVectorForEqualArcLengthReturns: Return type: NXOpen.DirectionNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
XVectorForEqualArcLengthParameters: xVector ( NXOpen.Direction) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
Method Detail¶
Validate¶
-
ProjectCurveBuilder.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.