ProjectCurveBuilder Class¶
-
class
NXOpen.Features.
ProjectCurveBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a
NXOpen.Features.ProjectCurve
builder.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
AngleToProjectionVector
Returns: Return type: NXOpen.Expression
New 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
BridgedGapSize
Returns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BridgedGapSize
Parameters: 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
CurveFitData
Returns: Return type: NXOpen.GeometricUtilities.CurveFitData
New in version NX8.0.0.
License requirements: None.
CurveFitJoinData¶
-
ProjectCurveBuilder.
CurveFitJoinData
¶ Returns the curve fit join method
-------------------------------------
Getter Method
Signature
CurveFitJoinData
Returns: Return type: NXOpen.GeometricUtilities.CurveFitJoin
New 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
EqualArcLengthMethod
Returns: Return type: NXOpen.Features.ProjectCurveBuilderArcLengthType
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EqualArcLengthMethod
Parameters: 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
FaceToProjectTo
Returns: Return type: NXOpen.SelectObjectList
New 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
GapOption
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
GapOption
Parameters: 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
InputCurvesOption
Returns: Return type: NXOpen.GeometricUtilities.CurveOptions
New in version NX5.0.0.
License requirements: None.
LineToProjectToward¶
-
ProjectCurveBuilder.
LineToProjectToward
¶ Returns the line to project toward
-------------------------------------
Getter Method
Signature
LineToProjectToward
Returns: Return type: NXOpen.SelectDisplayableObject
New 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.AlongVector
is used andNXOpen.Features.ProjectCurveBuilderProjectionOptionType.None
orNXOpen.Features.ProjectCurveBuilderProjectionOptionType.ProjectBothSides
is used.-------------------------------------
Getter Method
Signature
NearestPointOption
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
NearestPointOption
Parameters: 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
PlaneToProjectTo
Returns: Return type: NXOpen.Plane
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PlaneToProjectTo
Parameters: 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
PointToProjectToward
Returns: Return type: NXOpen.Point
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PointToProjectToward
Parameters: 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
ProjectionDirectionMethod
Returns: Return type: NXOpen.Features.ProjectCurveBuilderDirectionType
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ProjectionDirectionMethod
Parameters: 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
ProjectionOption
Returns: Return type: NXOpen.Features.ProjectCurveBuilderProjectionOptionType
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ProjectionOption
Parameters: 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
ProjectionVector
Returns: Return type: NXOpen.Direction
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ProjectionVector
Parameters: 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
ReferencePointForEqualArcLength
Returns: Return type: NXOpen.Point
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ReferencePointForEqualArcLength
Parameters: 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
SectionToProject
Returns: Return type: NXOpen.Section
New in version NX5.0.0.
License requirements: None.
Tolerance¶
-
ProjectCurveBuilder.
Tolerance
¶ Returns or sets the tolerance
-------------------------------------
Getter Method
Signature
Tolerance
Returns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Tolerance
Parameters: 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
XVectorForEqualArcLength
Returns: Return type: NXOpen.Direction
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
XVectorForEqualArcLength
Parameters: 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.