TrimCurveBuilder Class

class NXOpen.Features.TrimCurveBuilder

Bases: NXOpen.Features.FeatureBuilder

Represents a NXOpen.Features.TrimCurve builder

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

Default values.

Property Value
CurveEndOption Start
CurveExtensionType Natural
CurveOptions.Associative True
CurveTrimRegionOption Inside
FirstBoundingObjectEndOption Start
FirstBoundingObjectOption SelectObject
InteresectionDirectionOption RelativeToWcs
InteresectionMethod Inferred
SecondBoundingObjectEndOption Start
SecondBoundingObjectOption SelectObject

New in version NX5.0.0.

Properties

Property Description
CurveEndOption Returns or sets the end of the curve that would be trimmed
CurveExtensionType Returns or sets the shape of the extension, if the curve to be trimmed is to be extended to its bounding object(s)
CurveList Returns the list of curves with the pick points
CurveOptions Returns the Curve Options
CurveTrimRegionOption Returns or sets the portion of the curves to be trimmed
CurvesToTrim Returns the curves to trim
FirstBoundingObject Returns the objects for the first boundary against which the selected curves are to be trimmed.
FirstBoundingObjectEndOption Returns or sets the end of the first bounding object which would be trimmed
FirstBoundingObjectOption Returns or sets the first bounding object option
FirstBoundingObjectPickPoint Returns or sets the pick point for the first bounding object
FirstBoundingPlane Returns or sets the first bounding object plane
FirstReferenceIntersection Returns the first user defined intersection point.
InteresectionDirectionOption Returns or sets the method the system uses to find object intersections
InteresectionMethod Returns or sets the method to be used to determine the intersections
InteresectionOptionVector Returns or sets the vector direction for the trim operation
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
ReverseTrimEnd Returns the curves the end to trim needs to be reversed
SecondBoundingObject Returns the objects for the second boundary against which the selected curves are to be trimmed.
SecondBoundingObjectEndOption Returns or sets the end of the second bounding object which would be trimmed
SecondBoundingObjectOption Returns or sets the second bounding object option
SecondBoundingObjectPickPoint Returns or sets the pick point for the second bounding object
SecondBoundingPlane Returns or sets the first bounding object plane
SecondReferenceIntersection Returns the second user defined intersection point.
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.
TrimBoundingObjects Returns or sets the option whether bounding objects are to be trimmed

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

TrimCurveBuilderCurveEndOptions Enumeration Represents the trim curve end options
TrimCurveBuilderCurveExtensionTypes Enumeration Represents the trim curve extension types
TrimCurveBuilderCurveTrimRegionOptions Enumeration Represents the trim curve trim region options
TrimCurveBuilderFirstBoundingObjectEndOptions Enumeration Represents the trim curve first bounding object end options
TrimCurveBuilderFirstBoundingObjectOptions Enumeration Represents the trim curve first bounding object options
TrimCurveBuilderInteresectionDirectionOptions Enumeration Represents the trim curve interesection direction options
TrimCurveBuilderInteresectionMethods Enumeration Represents the trim curve interesection methods
TrimCurveBuilderSecondBoundingObjectEndOptions Enumeration Represents the trim curve second bounding object end options
TrimCurveBuilderSecondBoundingObjectOptions Enumeration Represents the trim curve second bounding object options

Property Detail

CurveEndOption

TrimCurveBuilder.CurveEndOption

Returns or sets the end of the curve that would be trimmed

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

Getter Method

Signature CurveEndOption

Returns:
Return type:NXOpen.Features.TrimCurveBuilderCurveEndOptions

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature CurveEndOption

Parameters:curveEndOption (NXOpen.Features.TrimCurveBuilderCurveEndOptions) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

CurveExtensionType

TrimCurveBuilder.CurveExtensionType

Returns or sets the shape of the extension, if the curve to be trimmed is to be extended to its bounding object(s)

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

Getter Method

Signature CurveExtensionType

Returns:
Return type:NXOpen.Features.TrimCurveBuilderCurveExtensionTypes

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature CurveExtensionType

Parameters:curveExtensionType (NXOpen.Features.TrimCurveBuilderCurveExtensionTypes) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

CurveList

TrimCurveBuilder.CurveList

Returns the list of curves with the pick points

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

Getter Method

Signature CurveList

Returns:
Return type:NXOpen.SelectObjectList

New in version NX5.0.0.

License requirements: None.

CurveOptions

TrimCurveBuilder.CurveOptions

Returns the Curve Options

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

Getter Method

Signature CurveOptions

Returns:Curve Options
Return type:NXOpen.GeometricUtilities.CurveOptions

New in version NX5.0.0.

License requirements: None.

CurveTrimRegionOption

TrimCurveBuilder.CurveTrimRegionOption

Returns or sets the portion of the curves to be trimmed

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

Getter Method

Signature CurveTrimRegionOption

Returns:
Return type:NXOpen.Features.TrimCurveBuilderCurveTrimRegionOptions

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature CurveTrimRegionOption

Parameters:curveTrimRegionOption (NXOpen.Features.TrimCurveBuilderCurveTrimRegionOptions) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

CurvesToTrim

TrimCurveBuilder.CurvesToTrim

Returns the curves to trim

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

Getter Method

Signature CurvesToTrim

Returns:
Return type:NXOpen.Section

New in version NX5.0.0.

License requirements: None.

FirstBoundingObject

TrimCurveBuilder.FirstBoundingObject

Returns the objects for the first boundary against which the selected curves are to be trimmed.

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

Getter Method

Signature FirstBoundingObject

Returns:
Return type:NXOpen.SelectObjectList

New in version NX5.0.0.

License requirements: None.

FirstBoundingObjectEndOption

TrimCurveBuilder.FirstBoundingObjectEndOption

Returns or sets the end of the first bounding object which would be trimmed

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

Getter Method

Signature FirstBoundingObjectEndOption

Returns:
Return type:NXOpen.Features.TrimCurveBuilderFirstBoundingObjectEndOptions

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature FirstBoundingObjectEndOption

Parameters:firstBoundingObjectEndOption (NXOpen.Features.TrimCurveBuilderFirstBoundingObjectEndOptions) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

FirstBoundingObjectOption

TrimCurveBuilder.FirstBoundingObjectOption

Returns or sets the first bounding object option

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

Getter Method

Signature FirstBoundingObjectOption

Returns:
Return type:NXOpen.Features.TrimCurveBuilderFirstBoundingObjectOptions

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature FirstBoundingObjectOption

Parameters:firstBoundingObjectOption (NXOpen.Features.TrimCurveBuilderFirstBoundingObjectOptions) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

FirstBoundingObjectPickPoint

TrimCurveBuilder.FirstBoundingObjectPickPoint

Returns or sets the pick point for the first bounding object

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

Getter Method

Signature FirstBoundingObjectPickPoint

Returns:
Return type:NXOpen.Point3d

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature FirstBoundingObjectPickPoint

Parameters:firstBndgObjPickPoint (NXOpen.Point3d) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

FirstBoundingPlane

TrimCurveBuilder.FirstBoundingPlane

Returns or sets the first bounding object plane

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

Getter Method

Signature FirstBoundingPlane

Returns:
Return type:NXOpen.Plane

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature FirstBoundingPlane

Parameters:firstPlane (NXOpen.Plane) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

FirstReferenceIntersection

TrimCurveBuilder.FirstReferenceIntersection

Returns the first user defined intersection point.

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

Getter Method

Signature FirstReferenceIntersection

Returns:
Return type:NXOpen.SelectPoint

New in version NX5.0.0.

License requirements: None.

InteresectionDirectionOption

TrimCurveBuilder.InteresectionDirectionOption

Returns or sets the method the system uses to find object intersections

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

Getter Method

Signature InteresectionDirectionOption

Returns:
Return type:NXOpen.Features.TrimCurveBuilderInteresectionDirectionOptions

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature InteresectionDirectionOption

Parameters:interesectionDirectionOption (NXOpen.Features.TrimCurveBuilderInteresectionDirectionOptions) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

InteresectionMethod

TrimCurveBuilder.InteresectionMethod

Returns or sets the method to be used to determine the intersections

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

Getter Method

Signature InteresectionMethod

Returns:
Return type:NXOpen.Features.TrimCurveBuilderInteresectionMethods

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature InteresectionMethod

Parameters:interesectionMethod (NXOpen.Features.TrimCurveBuilderInteresectionMethods) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

InteresectionOptionVector

TrimCurveBuilder.InteresectionOptionVector

Returns or sets the vector direction for the trim operation

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

Getter Method

Signature InteresectionOptionVector

Returns:
Return type:NXOpen.Direction

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature InteresectionOptionVector

Parameters:interesectionOptionVector (NXOpen.Direction) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

ReverseTrimEnd

TrimCurveBuilder.ReverseTrimEnd

Returns the curves the end to trim needs to be reversed

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

Getter Method

Signature ReverseTrimEnd

Returns:
Return type:NXOpen.SelectObjectList

New in version NX5.0.0.

License requirements: None.

SecondBoundingObject

TrimCurveBuilder.SecondBoundingObject

Returns the objects for the second boundary against which the selected curves are to be trimmed.

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

Getter Method

Signature SecondBoundingObject

Returns:
Return type:NXOpen.SelectObjectList

New in version NX5.0.0.

License requirements: None.

SecondBoundingObjectEndOption

TrimCurveBuilder.SecondBoundingObjectEndOption

Returns or sets the end of the second bounding object which would be trimmed

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

Getter Method

Signature SecondBoundingObjectEndOption

Returns:
Return type:NXOpen.Features.TrimCurveBuilderSecondBoundingObjectEndOptions

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature SecondBoundingObjectEndOption

Parameters:secondBoundingObjectEndOption (NXOpen.Features.TrimCurveBuilderSecondBoundingObjectEndOptions) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

SecondBoundingObjectOption

TrimCurveBuilder.SecondBoundingObjectOption

Returns or sets the second bounding object option

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

Getter Method

Signature SecondBoundingObjectOption

Returns:
Return type:NXOpen.Features.TrimCurveBuilderSecondBoundingObjectOptions

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature SecondBoundingObjectOption

Parameters:secondboundingObjectOption (NXOpen.Features.TrimCurveBuilderSecondBoundingObjectOptions) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

SecondBoundingObjectPickPoint

TrimCurveBuilder.SecondBoundingObjectPickPoint

Returns or sets the pick point for the second bounding object

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

Getter Method

Signature SecondBoundingObjectPickPoint

Returns:
Return type:NXOpen.Point3d

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature SecondBoundingObjectPickPoint

Parameters:secondBndgObjPickPoint (NXOpen.Point3d) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

SecondBoundingPlane

TrimCurveBuilder.SecondBoundingPlane

Returns or sets the first bounding object plane

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

Getter Method

Signature SecondBoundingPlane

Returns:
Return type:NXOpen.Plane

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature SecondBoundingPlane

Parameters:secondPlane (NXOpen.Plane) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

SecondReferenceIntersection

TrimCurveBuilder.SecondReferenceIntersection

Returns the second user defined intersection point.

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

Getter Method

Signature SecondReferenceIntersection

Returns:
Return type:NXOpen.SelectPoint

New in version NX5.0.0.

License requirements: None.

TrimBoundingObjects

TrimCurveBuilder.TrimBoundingObjects

Returns or sets the option whether bounding objects are to be trimmed

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

Getter Method

Signature TrimBoundingObjects

Returns:
Return type:bool

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature TrimBoundingObjects

Parameters:trimBoundingObjects (bool) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

Method Detail

Validate

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