NX Open C++ Reference Guide
|
Represents a Features::PatchBuilder Lets you use a sheet body to replace some of the faces of a solid body. More...
Public Member Functions | |
bool | CreateHolePatch () |
Returns the create hole patch. | |
bool | ReverseDirection () |
Returns the reverse direction. | |
NXOpen::SelectFace * | SeedFace () |
Returns the seed face. | |
void | SetCreateHolePatch (bool createHolePatch) |
Sets the create hole patch. | |
void | SetReverseDirection (bool reverseDirection) |
Sets the reverse direction. | |
void | SetTolerance (double tolerance) |
Sets the tolerance. | |
NXOpen::SelectBody * | Target () |
Returns the target. | |
double | Tolerance () |
Returns the tolerance. | |
NXOpen::SelectDisplayableObject * | Tool () |
Returns the tool. |
Represents a Features::PatchBuilder Lets you use a sheet body to replace some of the faces of a solid body.
You can also patch a sheet to another sheet.
To create a new instance of this class, use Features::FeatureCollection::CreatePatchBuilder
Default values.
Property | Value |
---|---|
CreateHolePatch |
False |
ReverseDirection |
False |
Created in NX5.0.0.
Returns the create hole patch.
Patch the closed tool sheet to the target body to create a hole-like patch feature. Note if the edges of the tool sheet have gaps that are larger than the tolerance, the patching may not work as expected.
Created in NX5.0.0.
License requirements : None
Returns the reverse direction.
If set to true, the target body faces against the direction are removed, else the target body faces where the direction points to are removed. The default direction is defined by the normal vector of the first face in tool body, or of the seed face if specified.
Created in NX5.0.0.
License requirements : None
Returns the seed face.
Use a single face of the tool sheet that has multiple faces as the direction.
Created in NX5.0.0.
License requirements : None
void NXOpen::Features::PatchBuilder::SetCreateHolePatch | ( | bool | createHolePatch | ) |
Sets the create hole patch.
Patch the closed tool sheet to the target body to create a hole-like patch feature. Note if the edges of the tool sheet have gaps that are larger than the tolerance, the patching may not work as expected.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
createHolePatch | createholepatch |
void NXOpen::Features::PatchBuilder::SetReverseDirection | ( | bool | reverseDirection | ) |
Sets the reverse direction.
If set to true, the target body faces against the direction are removed, else the target body faces where the direction points to are removed. The default direction is defined by the normal vector of the first face in tool body, or of the seed face if specified.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
reverseDirection | reversedirection |
void NXOpen::Features::PatchBuilder::SetTolerance | ( | double | tolerance | ) |
Sets the tolerance.
The upper gap between the edges of the target and tool body
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
tolerance | tolerance |
Returns the target.
A solid or sheet body acts as the target for the patch feature.
Created in NX5.0.0.
License requirements : None
double NXOpen::Features::PatchBuilder::Tolerance | ( | ) |
Returns the tolerance.
The upper gap between the edges of the target and tool body
Created in NX5.0.0.
License requirements : None
Returns the tool.
A sheet acts as the tool for the patch feature.
Created in NX5.0.0.
License requirements : None