public interface TraverseLoopBuilder extends Builder
TraverseLoopCollection.createBuilder()
Property | Value |
---|---|
BridgeGap | 0 |
ByColor | 0 |
EndEdge | 0 |
TolSetting | 0.0254 |
Modifier and Type | Interface and Description |
---|---|
static class |
TraverseLoopBuilder.CheckGapData
This class holds the data returned from
checkGap(nxopen.NXObject[]) |
Modifier and Type | Method and Description |
---|---|
void |
actAccept()
Accept current path.
|
void |
actBack()
Traverse back action.
|
void |
actClose()
Close current loop.
|
void |
actCycle()
Cycle candidate path.
|
void |
actEdgeSelection(NXObject[] pTolSelObject,
NXObject[] selections,
NXObject[] deselections,
Point3d cpoint,
boolean selectEndEdge)
Start traverse after selecting edges or curve.
|
void |
actExit()
Exit current loop.
|
boolean |
bridgeGap()
Returns the option to bridge gap or not.
|
boolean |
byColor()
Returns a Traverse loop by following face color or not.
|
TraverseLoopBuilder.CheckGapData |
checkGap(NXObject[] selections)
Calculate the gap between last selected objects and existing loop string, and find out the nearest end point.
|
boolean |
endEdge()
Returns a Traverse loop by using start edge/end edge or not.
|
boolean |
exitLoop()
Returns the option to exit the current loop.
|
void |
moveCurves(NXObject[] pPartingLines)
Move extract curves that are not parting lines to the invisible layer.
|
void |
resetTraverseData()
Reset traverse data after one loop closed.
|
ScCollector |
selectEdge()
Returns the selected edges and curves which will form the loop.
|
void |
setBridgeGap(boolean bridgeGap)
License requirements: None. |
void |
setByColor(boolean byColor)
License requirements: None. |
void |
setEndEdge(boolean endEdge)
License requirements: None. |
void |
setExitLoop(boolean isExitLoop)
License requirements: None. |
void |
setTolSetting(double tolSetting)
License requirements: None. |
void |
setTraverseStartEndPoint(NXObject candidate,
Point3d pointCloseCursor,
NXObject[] selections)
Set start and end points for traversal.
|
void |
switchToPartinglineLayer()
Make parting layer as the work layer.
|
double |
tolSetting()
Returns the chaining tolerance.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
ScCollector selectEdge() throws NXException, RemoteException
NXException
RemoteException
void actBack() throws NXException, RemoteException
NXException
RemoteException
void actAccept() throws NXException, RemoteException
NXException
RemoteException
void actCycle() throws NXException, RemoteException
NXException
RemoteException
void actClose() throws NXException, RemoteException
NXException
RemoteException
void actExit() throws NXException, RemoteException
NXException
RemoteException
boolean byColor() throws NXException, RemoteException
NXException
RemoteException
void setByColor(boolean byColor) throws NXException, RemoteException
byColor
- NXException
RemoteException
boolean exitLoop() throws NXException, RemoteException
NXException
RemoteException
void setExitLoop(boolean isExitLoop) throws NXException, RemoteException
isExitLoop
- NXException
RemoteException
boolean endEdge() throws NXException, RemoteException
NXException
RemoteException
void setEndEdge(boolean endEdge) throws NXException, RemoteException
endEdge
- NXException
RemoteException
double tolSetting() throws NXException, RemoteException
NXException
RemoteException
void setTolSetting(double tolSetting) throws NXException, RemoteException
tolSetting
- NXException
RemoteException
void actEdgeSelection(NXObject[] pTolSelObject, NXObject[] selections, NXObject[] deselections, Point3d cpoint, boolean selectEndEdge) throws NXException, RemoteException
pTolSelObject
- Total selected objects.selections
- Last selected objects.deselections
- Last deselected objects.cpoint
- Cursor point position when selecting one edge first time.selectEndEdge
- Whether last selected object is the end edge.NXException
RemoteException
void resetTraverseData() throws NXException, RemoteException
NXException
RemoteException
void moveCurves(NXObject[] pPartingLines) throws NXException, RemoteException
pPartingLines
- parting lines obtained by Traverse Loop which can be edges or curves.NXException
RemoteException
void switchToPartinglineLayer() throws NXException, RemoteException
NXException
RemoteException
void setTraverseStartEndPoint(NXObject candidate, Point3d pointCloseCursor, NXObject[] selections) throws NXException, RemoteException
candidate
- First selected object.pointCloseCursor
- End point of selected object used to start traverse.selections
- All selected objects to traverse.NXException
RemoteException
boolean bridgeGap() throws NXException, RemoteException
NXException
RemoteException
void setBridgeGap(boolean bridgeGap) throws NXException, RemoteException
bridgeGap
- NXException
RemoteException
TraverseLoopBuilder.CheckGapData checkGap(NXObject[] selections) throws NXException, RemoteException
selections
- Last selected objects.NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.