public interface FillHoleBuilder extends Builder
FacetedBodyCollection.createFillHoleBuilder()
Property | Value |
---|---|
IsEditCopy | 0 |
MaxEdges | 0 |
SmoothType | Linear |
TargetType | UserDefined |
Modifier and Type | Interface and Description |
---|---|
static class |
FillHoleBuilder.SmoothTypes
Smoothness and boundary continuity options.
|
static class |
FillHoleBuilder.TargetTypes
Options defining how to target holes for filling.
|
static class |
FillHoleBuilder.Types
Hole filling type options.
|
Modifier and Type | Method and Description |
---|---|
SelectICurveList |
bridgeEdges1()
Returns the first list of edges when bridging holes.
|
SelectICurveList |
bridgeEdges2()
Returns the second list of edges when bridging holes.
|
void |
clearHoleFills()
Cleans up local meshes associated with each fill.
|
void |
clearHoles()
Removes all holes, deletes associated hole polylines.
|
DisplayableObject |
fillHoles(boolean globalUpdate)
Fills targeted holes.
|
void |
findHoles()
Locates holes in the mesh and creates polylines around them.
|
DisplayableObject[] |
getAllHoles()
Gets a list of all holes (represented by polylines).
|
ICurve |
getHoleByIndex(int index)
Gets a hole given an index into the list of holes.
|
DisplayableObject |
getHoleFillsOnly()
Builds a facet body that contains only the facets of the filled holes.
|
int |
getNumberOfHoles()
Gets the number of holes in the target facet body.
|
DisplayableObject[] |
getTargetHolesByEdgeNumber(int numMaxEdges)
Gets a list of targeted holes (represented by polylines) based on number of edges.
|
SelectICurveList |
innerHole()
Returns the Inner Hole in island filling.
|
boolean |
isEditCopy()
Returns the flag indicating if the hole filling is on the copy of the input facet body.
|
int |
maxEdges()
Returns the maximum number of edges that a targeted hole can have.
|
SelectICurveList |
outerHole()
Returns the Outer Hole in island filling.
|
void |
setEditCopy(boolean isEditCopy)
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
setMaxEdges(int maxEdges)
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
setSmoothType(FillHoleBuilder.SmoothTypes smoothType)
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
setTargetType(FillHoleBuilder.TargetTypes targetType)
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
setType(FillHoleBuilder.Types type)
License requirements: studio_free_form ("STUDIO FREE FORM") . |
FillHoleBuilder.SmoothTypes |
smoothType()
Returns the boundary smoothness.
|
void |
switchHoleFillType()
Switches boundary edge mapping based on the filling type (holes, island, bridge)
When filling holes or islands, each hole is defined by a polyline.
|
SelectDisplayableObject |
targetBody()
Returns the facet body we will be filling.
|
SelectFacetedBody |
targetFacetBody()
Deprecated.
Deprecated in NX11.0.0. Use
targetBody() instead.
|
SelectICurveList |
targetHole()
Returns the hole curves using Fill Hole, User Defined.
|
FillHoleBuilder.TargetTypes |
targetType()
Returns the hole target type when filling holes.
|
FillHoleBuilder.Types |
type()
Returns the hole filling type.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
void clearHoles() throws NXException, RemoteException
NXException
RemoteException
void findHoles() throws NXException, RemoteException
NXException
RemoteException
void clearHoleFills() throws NXException, RemoteException
NXException
RemoteException
DisplayableObject fillHoles(boolean globalUpdate) throws NXException, RemoteException
globalUpdate
- If true, update the entire input facet body. If
false, GetHoleFillsOnly() may be used to get a facet body
that contains only the new facets of the filled holes.NXException
RemoteException
void switchHoleFillType() throws NXException, RemoteException
NXException
RemoteException
DisplayableObject getHoleFillsOnly() throws NXException, RemoteException
NXException
RemoteException
DisplayableObject[] getAllHoles() throws NXException, RemoteException
NXException
RemoteException
int getNumberOfHoles() throws NXException, RemoteException
NXException
RemoteException
ICurve getHoleByIndex(int index) throws NXException, RemoteException
index
- Index into the list of all holesNXException
RemoteException
DisplayableObject[] getTargetHolesByEdgeNumber(int numMaxEdges) throws NXException, RemoteException
numMaxEdges
- Targets polylines that have this many edges or less.NXException
RemoteException
SelectDisplayableObject targetBody() throws NXException, RemoteException
NXException
RemoteException
SelectFacetedBody targetFacetBody() throws NXException, RemoteException
targetBody()
instead.
NXException
RemoteException
FillHoleBuilder.TargetTypes targetType() throws NXException, RemoteException
NXException
RemoteException
void setTargetType(FillHoleBuilder.TargetTypes targetType) throws NXException, RemoteException
targetType
- NXException
RemoteException
SelectICurveList targetHole() throws NXException, RemoteException
NXException
RemoteException
SelectICurveList innerHole() throws NXException, RemoteException
NXException
RemoteException
SelectICurveList outerHole() throws NXException, RemoteException
NXException
RemoteException
SelectICurveList bridgeEdges1() throws NXException, RemoteException
NXException
RemoteException
SelectICurveList bridgeEdges2() throws NXException, RemoteException
NXException
RemoteException
int maxEdges() throws NXException, RemoteException
NXException
RemoteException
void setMaxEdges(int maxEdges) throws NXException, RemoteException
maxEdges
- NXException
RemoteException
FillHoleBuilder.SmoothTypes smoothType() throws NXException, RemoteException
NXException
RemoteException
void setSmoothType(FillHoleBuilder.SmoothTypes smoothType) throws NXException, RemoteException
smoothType
- NXException
RemoteException
FillHoleBuilder.Types type() throws NXException, RemoteException
NXException
RemoteException
void setType(FillHoleBuilder.Types type) throws NXException, RemoteException
type
- NXException
RemoteException
boolean isEditCopy() throws NXException, RemoteException
NXException
RemoteException
void setEditCopy(boolean isEditCopy) throws NXException, RemoteException
isEditCopy
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.