public interface EdgePatchBuilder extends Builder
EdgePatchCollection.createBuilder()
Property | Value |
---|---|
PatchSurface | 1 |
SelType | Face |
Modifier and Type | Interface and Description |
---|---|
static class |
EdgePatchBuilder.BodyColorData
This class holds the data returned from
getBodyColor() |
static class |
EdgePatchBuilder.PatchStatus
Settings of the patch status types.
|
static class |
EdgePatchBuilder.SelectTypes
Settings of the selection types.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowPatch()
Returns the flag indicating if creating copies for patch surface is allowed.
|
SelectBody |
body()
Returns the body to use to search for loops.
|
NXColor |
bodyColor()
Returns the patch body color.
|
void |
clearList(int type)
Clear the index list.
|
void |
deleteOneLoopList(int index)
Delete one loop list of the index.
|
void |
destroyMemory()
Destroy the builder memory.
|
void |
directionReverse()
Reverse reference face direction.
|
void |
editReferenceFace(int index,
Face[] addFaces,
Face[] removeFaces)
Add or remove reference faces.
|
ScCollector |
face()
Returns the face to use to search for loops.
|
void |
findBodyHoles(Body body)
Find holes on the input body.
|
EdgePatchBuilder.PatchStatus |
findEdgesPatch(NXObject[] edges)
Get hole information of input edges.
|
EdgePatchBuilder.PatchStatus |
findFaceHoles(Face referFaces)
Find holes on the input faces.
|
EdgePatchBuilder.BodyColorData |
getBodyColor()
Deprecated.
Deprecated in NX8.5.0. Use
Tooling.EdgePatchBuilder#bodyColor instead.
|
ScCollector |
loops()
Returns the loops to patch.
|
void |
makeMoldWizardFills(double tolerance,
NXObject[] edges,
Face[] origFaces)
Create a mold wizard fill.
|
boolean |
patchSurface()
Returns the indication to create patch surface bodies in core/cavity.
|
ScCollector |
referenceFace()
Returns the reference face to use to create edge patch.
|
EdgePatchBuilder.SelectTypes |
selType()
Returns the patch type of the edge patch creation.
|
void |
setAllowPatch(boolean patch)
License requirements: None. |
void |
setBodyColor(double redValue,
double greenValue,
double blueValue)
Deprecated.
Deprecated in NX8.5.0. Use
Tooling.EdgePatchBuilder#setBodyColor instead.
|
void |
setBodyColor(NXColor patchColor)
License requirements: None. |
void |
setDeletedList(int[] items)
Set deleted list value.
|
void |
setGiveFailedMessage(int giveMessage)
Set the giving failed message value.
|
void |
setPatchSurface(boolean patchSurface)
License requirements: None. |
void |
setSelectedItems(int[] selectedItems)
Set the selected items index value.
|
void |
setSelType(EdgePatchBuilder.SelectTypes selType)
License requirements: None. |
void |
setTolerance(double tolerance)
Set the tolerance value.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
EdgePatchBuilder.SelectTypes selType() throws NXException, RemoteException
NXException
RemoteException
void setSelType(EdgePatchBuilder.SelectTypes selType) throws NXException, RemoteException
selType
- NXException
RemoteException
ScCollector face() throws NXException, RemoteException
NXException
RemoteException
SelectBody body() throws NXException, RemoteException
NXException
RemoteException
ScCollector loops() throws NXException, RemoteException
NXException
RemoteException
ScCollector referenceFace() throws NXException, RemoteException
NXException
RemoteException
void directionReverse() throws NXException, RemoteException
NXException
RemoteException
boolean patchSurface() throws NXException, RemoteException
NXException
RemoteException
void setPatchSurface(boolean patchSurface) throws NXException, RemoteException
patchSurface
- NXException
RemoteException
boolean allowPatch() throws NXException, RemoteException
NXException
RemoteException
void setAllowPatch(boolean patch) throws NXException, RemoteException
patch
- NXException
RemoteException
NXColor bodyColor() throws NXException, RemoteException
NXException
RemoteException
void setBodyColor(NXColor patchColor) throws NXException, RemoteException
patchColor
- the color indexNXException
RemoteException
EdgePatchBuilder.BodyColorData getBodyColor() throws NXException, RemoteException
Tooling.EdgePatchBuilder#bodyColor
instead.
NXException
RemoteException
void setBodyColor(double redValue, double greenValue, double blueValue) throws NXException, RemoteException
Tooling.EdgePatchBuilder#setBodyColor
instead.
redValue
- red value between 0 and 1greenValue
- green value between 0 and 1blueValue
- blue value between 0 and 1
NXException
RemoteException
EdgePatchBuilder.PatchStatus findFaceHoles(Face referFaces) throws NXException, RemoteException
referFaces
- the faces to find holesNXException
RemoteException
void findBodyHoles(Body body) throws NXException, RemoteException
body
- the body to find holes on whichNXException
RemoteException
EdgePatchBuilder.PatchStatus findEdgesPatch(NXObject[] edges) throws NXException, RemoteException
edges
- the edges or curves to find holes informationNXException
RemoteException
void editReferenceFace(int index, Face[] addFaces, Face[] removeFaces) throws NXException, RemoteException
index
- the index of list loopaddFaces
- The faces to add to reference facesremoveFaces
- The faces to remove from reference facesNXException
RemoteException
void deleteOneLoopList(int index) throws NXException, RemoteException
index
- the index valueNXException
RemoteException
void setSelectedItems(int[] selectedItems) throws NXException, RemoteException
selectedItems
- the selected index valuesNXException
RemoteException
void setTolerance(double tolerance) throws NXException, RemoteException
tolerance
- the tolerance valueNXException
RemoteException
void setGiveFailedMessage(int giveMessage) throws NXException, RemoteException
giveMessage
- the giving failed message valueNXException
RemoteException
void destroyMemory() throws NXException, RemoteException
NXException
RemoteException
void clearList(int type) throws NXException, RemoteException
type
- indicating which index list to clearNXException
RemoteException
void setDeletedList(int[] items) throws NXException, RemoteException
items
- the deleted index valuesNXException
RemoteException
void makeMoldWizardFills(double tolerance, NXObject[] edges, Face[] origFaces) throws NXException, RemoteException
tolerance
- distance toleranceedges
- ordered edges arrayorigFaces
- selected faces arrayNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.