NX Open C++ Reference Guide
|
Represents a builder to be used to create edge patch surfaces. More...
Public Types | |
enum | PatchStatus { PatchStatusNoLoopExisted, PatchStatusOneLoopExisted, PatchStatusMultiLoopsExisted, PatchStatusSomeLoopsExisted, PatchStatusLoopNotPatched, PatchStatusPatchedAndSomeSuppressed, PatchStatusPatchedAndAllSuppressed, PatchStatusPatchedAndNoSuppressed } |
Settings of the patch status types. More... | |
enum | SelectTypes { SelectTypesFace, SelectTypesBody, SelectTypesTraverse } |
Settings of the selection types. More... | |
Public Member Functions | |
bool | AllowPatch () |
Returns the flag indicating if creating copies for patch surface is allowed. | |
NXOpen::SelectBody * | Body () |
Returns the body to use to search for loops. | |
NXOpen::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, const std::vector< NXOpen::Face * > &addFaces, const std::vector< NXOpen::Face * > &removeFaces) |
Add or remove reference faces. | |
NXOpen::ScCollector * | Face () |
Returns the face to use to search for loops. | |
void | FindBodyHoles (NXOpen::Body *body) |
Find holes on the input body. | |
NXOpen::Tooling::EdgePatchBuilder::PatchStatus | FindEdgesPatch (const std::vector< NXOpen::NXObject * > &edges) |
Get hole information of input edges. | |
NXOpen::Tooling::EdgePatchBuilder::PatchStatus | FindFaceHoles (NXOpen::Face *referFaces) |
Find holes on the input faces. | |
void | GetBodyColor (double *redValue, double *greenValue, double *blueValue) |
Returns the body color. | |
NXOpen::ScCollector * | Loops () |
Returns the loops to patch. | |
bool | PatchSurface () |
Returns the indication to create patch surface bodies in core/cavity. | |
NXOpen::ScCollector * | ReferenceFace () |
Returns the reference face to use to create edge patch. | |
NXOpen::Tooling::EdgePatchBuilder::SelectTypes | SelType () |
Returns the patch type of the edge patch creation. | |
void | SetAllowPatch (bool patch) |
Sets the flag indicating if creating copies for patch surface is allowed. | |
void | SetBodyColor (NXOpen::NXColor *patchColor) |
Sets the patch body color. | |
void | SetBodyColor (double redValue, double greenValue, double blueValue) |
Sets the body color. | |
void | SetDeletedList (const std::vector< int > &items) |
Set deleted list value. | |
void | SetGiveFailedMessage (int giveMessage) |
Set the giving failed message value. | |
void | SetPatchSurface (bool patchSurface) |
Sets the indication to create patch surface bodies in core/cavity. | |
void | SetSelectedItems (const std::vector< int > &selectedItems) |
Set the selected items index value. | |
void | SetSelType (NXOpen::Tooling::EdgePatchBuilder::SelectTypes selType) |
Sets the patch type of the edge patch creation. | |
void | SetTolerance (double tolerance) |
Set the tolerance value. |
Represents a builder to be used to create edge patch surfaces.
To create a new instance of this class, use Tooling::EdgePatchCollection::CreateBuilder
Default values.
Property | Value |
---|---|
PatchSurface |
1 |
SelType |
Created in NX7.5.0.
Settings of the patch status types.
Returns the flag indicating if creating copies for patch surface is allowed.
Created in NX7.5.3.
License requirements : None
Returns the body to use to search for loops.
Created in NX7.5.0.
License requirements : None
Returns the patch body color.
Created in NX7.5.5.
License requirements : None
void NXOpen::Tooling::EdgePatchBuilder::ClearList | ( | int | type | ) |
Clear the index list.
Created in NX7.5.0.
License requirements : None
type | indicating which index list to clear |
void NXOpen::Tooling::EdgePatchBuilder::DeleteOneLoopList | ( | int | index | ) |
Delete one loop list of the index.
Created in NX7.5.0.
License requirements : None
index | the index value |
Destroy the builder memory.
Created in NX7.5.0.
License requirements : None
Reverse reference face direction.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::EdgePatchBuilder::EditReferenceFace | ( | int | index, |
const std::vector< NXOpen::Face * > & | addFaces, | ||
const std::vector< NXOpen::Face * > & | removeFaces | ||
) |
Add or remove reference faces.
Created in NX7.5.0.
License requirements : None
index | the index of list loop |
addFaces | The faces to add to reference faces |
removeFaces | The faces to remove from reference faces |
Returns the face to use to search for loops.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::EdgePatchBuilder::FindBodyHoles | ( | NXOpen::Body * | body | ) |
Find holes on the input body.
Created in NX7.5.0.
License requirements : None
body | the body to find holes on which |
NXOpen::Tooling::EdgePatchBuilder::PatchStatus NXOpen::Tooling::EdgePatchBuilder::FindEdgesPatch | ( | const std::vector< NXOpen::NXObject * > & | edges | ) |
Get hole information of input edges.
edges | the edges or curves to find holes information |
NXOpen::Tooling::EdgePatchBuilder::PatchStatus NXOpen::Tooling::EdgePatchBuilder::FindFaceHoles | ( | NXOpen::Face * | referFaces | ) |
Find holes on the input faces.
referFaces | the faces to find holes |
void NXOpen::Tooling::EdgePatchBuilder::GetBodyColor | ( | double * | redValue, |
double * | greenValue, | ||
double * | blueValue | ||
) |
Returns the body color.
Created in NX7.5.0.
License requirements : None
redValue | red value between 0 and 1 |
greenValue | green value between 0 and 1 |
blueValue | blue value between 0 and 1 |
Returns the loops to patch.
Created in NX7.5.0.
License requirements : None
Returns the indication to create patch surface bodies in core/cavity.
Created in NX7.5.0.
License requirements : None
Returns the reference face to use to create edge patch.
Created in NX7.5.0.
License requirements : None
Returns the patch type of the edge patch creation.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::EdgePatchBuilder::SetAllowPatch | ( | bool | patch | ) |
Sets the flag indicating if creating copies for patch surface is allowed.
Created in NX7.5.3.
License requirements : None
patch | patch |
void NXOpen::Tooling::EdgePatchBuilder::SetBodyColor | ( | NXOpen::NXColor * | patchColor | ) |
Sets the patch body color.
Created in NX7.5.5.
License requirements : None
patchColor | the color index |
void NXOpen::Tooling::EdgePatchBuilder::SetBodyColor | ( | double | redValue, |
double | greenValue, | ||
double | blueValue | ||
) |
Sets the body color.
Created in NX7.5.0.
License requirements : None
redValue | red value between 0 and 1 |
greenValue | green value between 0 and 1 |
blueValue | blue value between 0 and 1 |
void NXOpen::Tooling::EdgePatchBuilder::SetDeletedList | ( | const std::vector< int > & | items | ) |
Set deleted list value.
Created in NX7.5.0.
License requirements : None
items | the deleted index values |
void NXOpen::Tooling::EdgePatchBuilder::SetGiveFailedMessage | ( | int | giveMessage | ) |
Set the giving failed message value.
Created in NX7.5.0.
License requirements : None
giveMessage | the giving failed message value |
void NXOpen::Tooling::EdgePatchBuilder::SetPatchSurface | ( | bool | patchSurface | ) |
Sets the indication to create patch surface bodies in core/cavity.
Created in NX7.5.0.
License requirements : None
patchSurface | patchsurface |
void NXOpen::Tooling::EdgePatchBuilder::SetSelectedItems | ( | const std::vector< int > & | selectedItems | ) |
Set the selected items index value.
Created in NX7.5.0.
License requirements : None
selectedItems | the selected index values |
void NXOpen::Tooling::EdgePatchBuilder::SetSelType | ( | NXOpen::Tooling::EdgePatchBuilder::SelectTypes | selType | ) |
Sets the patch type of the edge patch creation.
Created in NX7.5.0.
License requirements : None
selType | seltype |
void NXOpen::Tooling::EdgePatchBuilder::SetTolerance | ( | double | tolerance | ) |
Set the tolerance value.
Created in NX7.5.0.
License requirements : None
tolerance | the tolerance value |