public interface FitCurveBuilder extends FeatureBuilder
FitCurve
builder
FeatureCollection.createFitCurveBuilder(nxopen.features.FitCurve)
Property | Value |
---|---|
Extender.EndExtensionOption | None |
Extender.EndValue.Value | 0 (millimeters part), 0 (inches part) |
Extender.StartExtensionOption | None |
Extender.StartValue.Value | 0 (millimeters part), 0 (inches part) |
IsClosedCurve | true |
ProjectionDirectionOption | Normal |
Radius.Value | 50.0 (millimeters part), 2.0 (inches part) |
RejectionThreshold.Value | 10.0 (millimeters part), 0.5 (inches part) |
Modifier and Type | Interface and Description |
---|---|
static class |
FitCurveBuilder.FittingParametersOptions
Fitting parameters options
|
static class |
FitCurveBuilder.ProjectionDirectionOptions
Auxiliary curve projection direction options
|
static class |
FitCurveBuilder.TargetSourceTypes
Fitting target types
|
static class |
FitCurveBuilder.Types
Fitting types
|
Modifier and Type | Method and Description |
---|---|
boolean |
canKeepTemplateSelected()
Returns the flag indicating if template curve should be kept selected
License requirements: None. |
boolean |
canRejectPointsAutomatically()
Returns the flag indicating if points beyond a threshold value should be ignored during fitting
License requirements: None. |
boolean |
canUseAllPointsInPart()
Returns the flag indicating if all points in the part can be used for chaining
License requirements: None. |
void |
chainAllPoints()
Chains all the points in work part based on one selected point and evaluates the curve.
|
GeometricConstraintDataManager |
constraintManager()
Returns the constraint manager
License requirements: None. |
int |
degree()
Returns the degree
License requirements: None. |
void |
deleteTargetPoints(Point[] points)
Deletes target points
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
evaluate()
Evaluates the curve
License requirements: solid_modeling ("SOLIDS MODELING") . |
CurveExtensionBuilder |
extender()
Returns the extension option
License requirements: None. |
FitCurveBuilder.FittingParametersOptions |
fittingParameters()
Returns the fitting parameters
License requirements: None. |
Point |
getFinalTargetPoint(int index)
Returns the target point that are finally used for fitting
License requirements: solid_modeling ("SOLIDS MODELING") . |
int |
getFinalTargetPointsSize()
Returns the number of target points that are finally used for fitting
License requirements: solid_modeling ("SOLIDS MODELING") . |
boolean |
hasRadius()
Returns the has radius
License requirements: None. |
boolean |
hasReversedDirection()
Returns the flag indicating if fitted curve direction should be reversed
License requirements: None. |
boolean |
hasUniformSegments()
Returns the flag indicating if uniform segments should be created
License requirements: None. |
boolean |
isAssociative()
Returns the flag indicating if a feature should be created
License requirements: None. |
boolean |
isClosedBSpline()
Returns the flag indicating if a closed b-spline is to be fitted
License requirements: None. |
boolean |
isClosedCurve()
Returns the flag indicating if a full circle or ellipse is to be fitted
License requirements: None. |
void |
makeConstraint(Point point)
In case of point targets, makes a target point a positional constraint.
|
Direction |
projectionDirection()
Returns the projection direction
License requirements: None. |
FitCurveBuilder.ProjectionDirectionOptions |
projectionDirectionOption()
Returns the projection direction option
License requirements: None. |
Expression |
radius()
Returns the circle radius
License requirements: None. |
Expression |
rejectionThreshold()
Returns the rejection threshold
License requirements: None. |
void |
removeConstraint(Point point)
Makes existing positional constraint a free target point
License requirements: solid_modeling ("SOLIDS MODELING") . |
int |
segments()
Returns the segments
License requirements: None. |
void |
setAssociative(boolean associative)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setCanKeepTemplateSelected(boolean canKeepTemplateSelected)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setCanRejectPointsAutomatically(boolean rejectPoints)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setCanUseAllPointsInPart(boolean canUseAllPointsInPart)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setClosedBSpline(boolean isClosed)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setClosedCurve(boolean isClosed)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setDegree(int degree)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setFittingParameters(FitCurveBuilder.FittingParametersOptions fittingParameters)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setHasRadius(boolean hasRadius)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setHasReversedDirection(boolean hasReversedDirection)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setHasUniformSegments(boolean hasUniformSegments)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setProjectionDirection(Direction projectionDirection)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setProjectionDirectionOption(FitCurveBuilder.ProjectionDirectionOptions projectionDirectionOption)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setSegments(int segments)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setTargetSourceType(FitCurveBuilder.TargetSourceTypes targetSourceType)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setTolerance(double tolerance)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setType(FitCurveBuilder.Types type)
License requirements: solid_modeling ("SOLIDS MODELING") . |
SelectTaggedObjectList |
target()
Returns the target objects.
|
FitCurveBuilder.TargetSourceTypes |
targetSourceType()
Returns the target type
License requirements: None. |
SelectSpline |
templateCurve()
Returns the template curve
License requirements: None. |
double |
tolerance()
Returns the tolerance
License requirements: None. |
FitCurveBuilder.Types |
type()
Returns the type
License requirements: None. |
void |
updateTargetSelectionOnPointEditing()
Updates target selection by replacing original point by edited point.
|
commitFeature, getFeature, hideInternalParentFeatureAfterEdit, parentFeatureInternal, patchSolutionFlag, patchSurfaceFilename, setParentFeatureInternal, setParentFeatureInternal, setPatchSolutionFlag, setPatchSurfaceFilename, setSurroundingPatchSurfaceFilename, showInternalParentFeatureForEdit, surroundingPatchSurfaceFilename, unsetParentFeatureInternal
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
FitCurveBuilder.Types type() throws NXException, RemoteException
NXException
RemoteException
void setType(FitCurveBuilder.Types type) throws NXException, RemoteException
type
- NXException
RemoteException
FitCurveBuilder.TargetSourceTypes targetSourceType() throws NXException, RemoteException
NXException
RemoteException
void setTargetSourceType(FitCurveBuilder.TargetSourceTypes targetSourceType) throws NXException, RemoteException
targetSourceType
- NXException
RemoteException
SelectTaggedObjectList target() throws NXException, RemoteException
NXException
RemoteException
boolean canUseAllPointsInPart() throws NXException, RemoteException
NXException
RemoteException
void setCanUseAllPointsInPart(boolean canUseAllPointsInPart) throws NXException, RemoteException
canUseAllPointsInPart
- NXException
RemoteException
GeometricConstraintDataManager constraintManager() throws NXException, RemoteException
NXException
RemoteException
FitCurveBuilder.ProjectionDirectionOptions projectionDirectionOption() throws NXException, RemoteException
NXException
RemoteException
void setProjectionDirectionOption(FitCurveBuilder.ProjectionDirectionOptions projectionDirectionOption) throws NXException, RemoteException
projectionDirectionOption
- NXException
RemoteException
Direction projectionDirection() throws NXException, RemoteException
NXException
RemoteException
void setProjectionDirection(Direction projectionDirection) throws NXException, RemoteException
projectionDirection
- NXException
RemoteException
boolean hasRadius() throws NXException, RemoteException
NXException
RemoteException
void setHasRadius(boolean hasRadius) throws NXException, RemoteException
hasRadius
- NXException
RemoteException
Expression radius() throws NXException, RemoteException
NXException
RemoteException
boolean isClosedCurve() throws NXException, RemoteException
NXException
RemoteException
void setClosedCurve(boolean isClosed) throws NXException, RemoteException
isClosed
- NXException
RemoteException
FitCurveBuilder.FittingParametersOptions fittingParameters() throws NXException, RemoteException
NXException
RemoteException
void setFittingParameters(FitCurveBuilder.FittingParametersOptions fittingParameters) throws NXException, RemoteException
fittingParameters
- NXException
RemoteException
int degree() throws NXException, RemoteException
NXException
RemoteException
void setDegree(int degree) throws NXException, RemoteException
degree
- NXException
RemoteException
int segments() throws NXException, RemoteException
NXException
RemoteException
void setSegments(int segments) throws NXException, RemoteException
segments
- NXException
RemoteException
double tolerance() throws NXException, RemoteException
NXException
RemoteException
void setTolerance(double tolerance) throws NXException, RemoteException
tolerance
- NXException
RemoteException
SelectSpline templateCurve() throws NXException, RemoteException
NXException
RemoteException
boolean canKeepTemplateSelected() throws NXException, RemoteException
NXException
RemoteException
void setCanKeepTemplateSelected(boolean canKeepTemplateSelected) throws NXException, RemoteException
canKeepTemplateSelected
- NXException
RemoteException
boolean isClosedBSpline() throws NXException, RemoteException
NXException
RemoteException
void setClosedBSpline(boolean isClosed) throws NXException, RemoteException
isClosed
- NXException
RemoteException
boolean hasUniformSegments() throws NXException, RemoteException
NXException
RemoteException
void setHasUniformSegments(boolean hasUniformSegments) throws NXException, RemoteException
hasUniformSegments
- NXException
RemoteException
boolean hasReversedDirection() throws NXException, RemoteException
NXException
RemoteException
void setHasReversedDirection(boolean hasReversedDirection) throws NXException, RemoteException
hasReversedDirection
- NXException
RemoteException
CurveExtensionBuilder extender() throws NXException, RemoteException
NXException
RemoteException
boolean canRejectPointsAutomatically() throws NXException, RemoteException
NXException
RemoteException
void setCanRejectPointsAutomatically(boolean rejectPoints) throws NXException, RemoteException
rejectPoints
- NXException
RemoteException
Expression rejectionThreshold() throws NXException, RemoteException
NXException
RemoteException
boolean isAssociative() throws NXException, RemoteException
NXException
RemoteException
void setAssociative(boolean associative) throws NXException, RemoteException
associative
- NXException
RemoteException
void chainAllPoints() throws NXException, RemoteException
FitCurveBuilder.TargetSourceTypes.INFER
only.
NXException
RemoteException
int getFinalTargetPointsSize() throws NXException, RemoteException
NXException
RemoteException
Point getFinalTargetPoint(int index) throws NXException, RemoteException
index
- NXException
RemoteException
void makeConstraint(Point point) throws NXException, RemoteException
point
- One of the original target points to make a constraint ofNXException
RemoteException
void removeConstraint(Point point) throws NXException, RemoteException
point
- One of the original target points or one of the constraint manager points to remove a constraint ofNXException
RemoteException
void deleteTargetPoints(Point[] points) throws NXException, RemoteException
points
- One of the original target points or one of the constraint manager points to remove a constraint ofNXException
RemoteException
void evaluate() throws NXException, RemoteException
NXException
RemoteException
void updateTargetSelectionOnPointEditing() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.