public interface SketchOffsetBuilder extends Builder
SketchOffsetBuilder
SketchCollection.createSketchOffsetBuilder(nxopen.SketchOffset)
Property | Value |
---|---|
CapType | Extension |
ConvertToReference | False |
CreateDimension | True |
Degree | 3 |
Distance.Value | 5.0 (millimeters part), 2.0 (inches part) |
IsSymmetric | False |
NumberOfCopies | 1 |
Modifier and Type | Method and Description |
---|---|
void |
breakChain(NXObject object1,
NXObject object2,
Point3d helpPt)
This function breaks the base chain and all the associated offsets at a given location
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
SketchOffset.CapType |
capType()
Returns the type of the cap needed at the corners
License requirements: None. |
boolean |
convertToReference()
Returns the flag to indicate if the input curves needs to converted to reference
License requirements: None. |
boolean |
createDimension()
Returns the flag to create offset with a dimension or a dimensionless offset
License requirements: None. |
Section |
createSection()
The function creates a new empty section object and adds it to the builder
License requirements: None. |
int |
degree()
Returns the degree for approximating offset spline
License requirements: None. |
Expression |
distance()
Returns the offset distance expression
License requirements: None. |
void |
evaluateOffset()
This function will solve the offset constraint to update it based on the new data set in the builder
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
NXObject[] |
getOutputCurvesOfOffset()
This function gets all output curves of an offset
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
Section[] |
getSections()
This function gets all sections of an offset during create/edit
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
boolean |
isSymmetric()
Returns the flag to indicate if the offset needs to be symmetric or not
License requirements: None. |
void |
mergeChains(NXObject object1,
NXObject object2,
Point3d helpPt)
This function merges the two chains.
|
int |
numberOfCopies()
Returns the number of offset copies
License requirements: None. |
void |
removeSection(Section section)
The function removes the given section from the builder
License requirements: None. |
void |
reverseOffsetDirectionOfChain(NXObject objectInChain)
This function reverses the offset direction of the chain containing the input geometry
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setCapType(SketchOffset.CapType capType)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setConvertToReference(boolean reference)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setCreateDimension(boolean createDim)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setDegree(int degree)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setEndConstraint(NXObject objectInChain,
int inx,
boolean isStartEnd,
boolean constraint)
This function removes end constraint from the given offset
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setNumberOfCopies(int copies)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setSymmetric(boolean symmetric)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setTolerance(double tolerance)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
double |
tolerance()
Returns the tolerance for approximating offset spline
License requirements: None. |
void |
updateLoopsAndCopies()
This function will update the offset after curves are selected.
|
void |
updateSolverDistance()
This function will update the distance in the sketch solver using the new data set in the builder
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
Section createSection() throws NXException, RemoteException
NXException
RemoteException
void removeSection(Section section) throws NXException, RemoteException
section
- Section obj to removeNXException
RemoteException
Expression distance() throws NXException, RemoteException
NXException
RemoteException
int numberOfCopies() throws NXException, RemoteException
NXException
RemoteException
void setNumberOfCopies(int copies) throws NXException, RemoteException
copies
- NXException
RemoteException
boolean createDimension() throws NXException, RemoteException
NXException
RemoteException
void setCreateDimension(boolean createDim) throws NXException, RemoteException
createDim
- NXException
RemoteException
SketchOffset.CapType capType() throws NXException, RemoteException
NXException
RemoteException
void setCapType(SketchOffset.CapType capType) throws NXException, RemoteException
capType
- NXException
RemoteException
boolean isSymmetric() throws NXException, RemoteException
NXException
RemoteException
void setSymmetric(boolean symmetric) throws NXException, RemoteException
symmetric
- NXException
RemoteException
boolean convertToReference() throws NXException, RemoteException
NXException
RemoteException
void setConvertToReference(boolean reference) throws NXException, RemoteException
reference
- NXException
RemoteException
int degree() throws NXException, RemoteException
NXException
RemoteException
void setDegree(int degree) throws NXException, RemoteException
degree
- NXException
RemoteException
double tolerance() throws NXException, RemoteException
NXException
RemoteException
void setTolerance(double tolerance) throws NXException, RemoteException
tolerance
- NXException
RemoteException
void reverseOffsetDirectionOfChain(NXObject objectInChain) throws NXException, RemoteException
objectInChain
- An object in chain to reverseNXException
RemoteException
void breakChain(NXObject object1, NXObject object2, Point3d helpPt) throws NXException, RemoteException
object1
- An object in chain to breakobject2
- Adjacent object to the previous onehelpPt
- Help point for multiple intersectionsNXException
RemoteException
void mergeChains(NXObject object1, NXObject object2, Point3d helpPt) throws NXException, RemoteException
object1
- Last geom of first chainobject2
- First geom of next chainhelpPt
- Help point for multiple intersectionsNXException
RemoteException
void setEndConstraint(NXObject objectInChain, int inx, boolean isStartEnd, boolean constraint) throws NXException, RemoteException
objectInChain
- An object in the base chaininx
- Index of the constraint - starts from 0isStartEnd
- TRUE, if we want to remove the start end conconstraint
- TRUE to add the con, false to removeNXException
RemoteException
NXObject[] getOutputCurvesOfOffset() throws NXException, RemoteException
NXException
RemoteException
Section[] getSections() throws NXException, RemoteException
NXException
RemoteException
void updateLoopsAndCopies() throws NXException, RemoteException
NXException
RemoteException
void evaluateOffset() throws NXException, RemoteException
NXException
RemoteException
void updateSolverDistance() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.