NX Open C++ Reference Guide
|
Represents a CAM geometry builder
This is an abstract class and cannot be instantiated.
More...
Public Types | |
enum | DepthLimitTypes { DepthLimitTypesThrough, DepthLimitTypesBlind, DepthLimitTypesUnknown } |
the depth limit types More... | |
enum | FormPitchTypes { FormPitchTypesSpecify, FormPitchTypesFromTable, FormPitchTypesFromTool, FormPitchTypesFromModel } |
the form and pitch types Created in NX7.5.0. More... | |
enum | FormTypes { FormTypesUnified, FormTypesMetric, FormTypesTrapezoidal, FormTypesAcme, FormTypesStubAcme, FormTypesLowernherz, FormTypesButtress, FormTypesSparkPlug, FormTypesNpt, FormTypesHoseCoupling, FormTypesFireHose, FormTypesUnj, FormTypesNps, FormTypesBsp, FormTypesBstp, FormTypesHelicoil, FormTypesNs, FormTypesUserDefined } |
the Form types Created in NX7.5.0. More... | |
enum | HoleBossTypes { HoleBossTypesHole, HoleBossTypesBoss, HoleBossTypesThreadedHole, HoleBossTypesThreadedBoss } |
the hole or boss types Created in NX7.5.0. More... | |
enum | OptimizationTypes { OptimizationTypesClosest, OptimizationTypesShortestPath } |
the optimization types Created in NX8.0.0. More... | |
enum | RotationTypes { RotationTypesRightHand, RotationTypesLeftHand } |
the rotation types Created in NX7.5.0. More... | |
Public Member Functions | |
NXOpen::CAM::HoleBossSetList * | BossList () |
Returns the boss list Created in NX8.0.0. | |
NXOpen::CAM::HoleBossSet * | CreateHoleBossBuilder (const std::vector< NXOpen::NXObject * > &entities, double diameter, double depth, NXOpen::NXObject *toolAxis, int depthLimit) |
Create a new Hole or Boss. | |
NXOpen::CAM::ThreadedBossSet * | CreateThreadedBossBuilder (const std::vector< NXOpen::NXObject * > &entities, double diameter, double height, NXOpen::NXObject *toolAxis, double majorDiameter, double minorDiameter, double lengh, const NXString &size, double pitch, int rotation, NXOpen::CAM::HoleBossGeom::FormTypes form, const NXString &formUserDefined) |
Create a new Thread Boss. | |
NXOpen::CAM::ThreadedHoleSet * | CreateThreadedHoleBuilder (const std::vector< NXOpen::NXObject * > &entities, double tapDrillSize, double depth, NXOpen::NXObject *toolAxis, double majorDiameter, double minorDiameter, double lengh, const NXString &size, const NXString &radialEngage, double pitch, int rotation, NXOpen::CAM::HoleBossGeom::FormTypes form, const NXString &formUserDefined, const NXString &tableStandard, int depthLimit) |
Create a new Thread Hole. | |
NXOpen::CAM::HoleBossGeom::DepthLimitTypes | DepthLimit () |
Returns the Depth Limit types | |
NXOpen::CAM::HoleBossGeom::FormPitchTypes | FormAndPitch () |
Returns the Form and Pitch types Created in NX7.5.0. | |
void | GetForm (NXOpen::CAM::HoleBossGeom::FormTypes *type, NXString *formCustom) |
The Form types. | |
NXOpen::CAM::HoleBossGeom::HoleBossTypes | HoleBossGeomType () |
Returns the hole or boss types Created in NX7.5.0. | |
NXOpen::CAM::HoleBossSetList * | HoleList () |
Returns the hole list Created in NX8.0.0. | |
NXOpen::CAM::HoleBossGeom::OptimizationTypes | Optimization () |
Returns the optimization types Created in NX8.0.0. | |
double | Pitch () |
Returns the Pitch Created in NX7.5.0. | |
void | ReorderList () |
Reverses the direction of the feature Created in NX8.0.0. | |
NXOpen::CAM::HoleBossGeom::RotationTypes | Rotation () |
Returns the Rotation types Created in NX7.5.0. | |
NXOpen::SelectTaggedObject * | Selection () |
Returns the selection geometry Created in NX7.5.0. | |
void | SetDepthLimit (NXOpen::CAM::HoleBossGeom::DepthLimitTypes type) |
Sets the Depth Limit types | |
void | SetForm (NXOpen::CAM::HoleBossGeom::FormTypes type, const NXString &formCustom) |
The Form types. | |
void | SetFormAndPitch (NXOpen::CAM::HoleBossGeom::FormPitchTypes type) |
Sets the Form and Pitch types Created in NX7.5.0. | |
void | SetHoleBossGeomType (NXOpen::CAM::HoleBossGeom::HoleBossTypes type) |
Sets the hole or boss types Created in NX7.5.0. | |
void | SetOptimization (NXOpen::CAM::HoleBossGeom::OptimizationTypes type) |
Sets the optimization types Created in NX8.0.0. | |
void | SetPitch (double holeBossValue) |
Sets the Pitch Created in NX7.5.0. | |
void | SetRotation (NXOpen::CAM::HoleBossGeom::RotationTypes type) |
Sets the Rotation types Created in NX7.5.0. | |
NXOpen::CAM::ThreadedBossSetList * | ThreadedBossList () |
Returns the threaded boss list Created in NX7.5.0. | |
NXOpen::CAM::ThreadedHoleSetList * | ThreadedHoleList () |
Returns the threaded hole list Created in NX7.5.0. |
Represents a CAM geometry builder
This is an abstract class and cannot be instantiated.
Created in NX7.5.0.
the depth limit types
Created in NX7.5.0.
DepthLimitTypesThrough |
Depth Limit: Through. |
DepthLimitTypesBlind |
Depth Limit: Blind. |
DepthLimitTypesUnknown |
It maybe mixed type with both Through and Blind features in NX8. Please use HoleBossSet builder to get the type |
the form and pitch types
Created in NX7.5.0.
FormPitchTypesSpecify |
Form and Pitch: Specify. |
FormPitchTypesFromTable |
Form and Pitch: From Table. |
FormPitchTypesFromTool |
Form and Pitch: From Tool. |
FormPitchTypesFromModel |
Form and Pitch: From Model. |
the Form types
Created in NX7.5.0.
the optimization types
Created in NX8.0.0.
OptimizationTypesClosest |
Optimization: Closet. |
OptimizationTypesShortestPath |
Optimization: Shortest Path. |
Returns the boss list
Created in NX8.0.0.
License requirements : None
NXOpen::CAM::HoleBossSet* NXOpen::CAM::HoleBossGeom::CreateHoleBossBuilder | ( | const std::vector< NXOpen::NXObject * > & | entities, |
double | diameter, | ||
double | depth, | ||
NXOpen::NXObject * | toolAxis, | ||
int | depthLimit | ||
) |
Create a new Hole or Boss.
entities | the geometry |
diameter | the diameter |
depth | the depth |
toolAxis | the tool axis |
depthLimit | the depth limit |
NXOpen::CAM::ThreadedBossSet* NXOpen::CAM::HoleBossGeom::CreateThreadedBossBuilder | ( | const std::vector< NXOpen::NXObject * > & | entities, |
double | diameter, | ||
double | height, | ||
NXOpen::NXObject * | toolAxis, | ||
double | majorDiameter, | ||
double | minorDiameter, | ||
double | lengh, | ||
const NXString & | size, | ||
double | pitch, | ||
int | rotation, | ||
NXOpen::CAM::HoleBossGeom::FormTypes | form, | ||
const NXString & | formUserDefined | ||
) |
Create a new Thread Boss.
entities | the geometry |
diameter | the diameter |
height | the height |
toolAxis | the tool axis |
majorDiameter | the major diameter |
minorDiameter | the minor diameter |
lengh | the lengh |
size | the size title NOTE: The full Unicode character set is not supported for this parameter. |
pitch | the pitch |
rotation | the rotation |
form | the form |
formUserDefined | the user defined Form NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::CAM::ThreadedHoleSet* NXOpen::CAM::HoleBossGeom::CreateThreadedHoleBuilder | ( | const std::vector< NXOpen::NXObject * > & | entities, |
double | tapDrillSize, | ||
double | depth, | ||
NXOpen::NXObject * | toolAxis, | ||
double | majorDiameter, | ||
double | minorDiameter, | ||
double | lengh, | ||
const NXString & | size, | ||
const NXString & | radialEngage, | ||
double | pitch, | ||
int | rotation, | ||
NXOpen::CAM::HoleBossGeom::FormTypes | form, | ||
const NXString & | formUserDefined, | ||
const NXString & | tableStandard, | ||
int | depthLimit | ||
) |
Create a new Thread Hole.
entities | the geometry |
tapDrillSize | the tap drill size |
depth | the depth |
toolAxis | the tool axis |
majorDiameter | the major diameter |
minorDiameter | the minor diameter |
lengh | the lengh |
size | the size NOTE: The full Unicode character set is not supported for this parameter. |
radialEngage | the radial engage NOTE: The full Unicode character set is not supported for this parameter. |
pitch | the pitch |
rotation | the rotation |
form | the form |
formUserDefined | the user defined Form NOTE: The full Unicode character set is not supported for this parameter. |
tableStandard | the Standard NOTE: The full Unicode character set is not supported for this parameter. |
depthLimit | the depth limit |
Returns the Depth Limit types
Created in NX7.5.0.
License requirements : None
Returns the Form and Pitch types
Created in NX7.5.0.
License requirements : None
void NXOpen::CAM::HoleBossGeom::GetForm | ( | NXOpen::CAM::HoleBossGeom::FormTypes * | type, |
NXString * | formCustom | ||
) |
The Form types.
When the Form type is user defined, it will return the Form type(UserDefined) and User Defined Name; When the Form type is NOT user defined, it will return the Form type and the formCustom is NULL.
Created in NX7.5.0.
License requirements : None
type | the Form Standard type |
formCustom | the User Defined Form |
Returns the hole or boss types
Created in NX7.5.0.
License requirements : None
Returns the hole list
Created in NX8.0.0.
License requirements : None
Returns the optimization types
Created in NX8.0.0.
License requirements : None
double NXOpen::CAM::HoleBossGeom::Pitch | ( | ) |
Returns the Pitch
Created in NX7.5.0.
License requirements : None
Reverses the direction of the feature
Created in NX8.0.0.
License requirements : None
Returns the Rotation types
Created in NX7.5.0.
License requirements : None
Returns the selection geometry
Created in NX7.5.0.
License requirements : None
Sets the Depth Limit types
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
type | the Depth Limit type |
void NXOpen::CAM::HoleBossGeom::SetForm | ( | NXOpen::CAM::HoleBossGeom::FormTypes | type, |
const NXString & | formCustom | ||
) |
The Form types.
When the Form type is user defined, please set the Form type(UserDefined) and User Defined Name; When the Form type is NOT user defined, please set the Form type and let the formCustom NULL.
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
type | the Form Standard type |
formCustom | the User Defined Form NOTE: The full Unicode character set is not supported for this parameter. |
Sets the Form and Pitch types
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
type | the Form and Pitch type |
void NXOpen::CAM::HoleBossGeom::SetHoleBossGeomType | ( | NXOpen::CAM::HoleBossGeom::HoleBossTypes | type | ) |
Sets the hole or boss types
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
type | the hole boss type |
void NXOpen::CAM::HoleBossGeom::SetOptimization | ( | NXOpen::CAM::HoleBossGeom::OptimizationTypes | type | ) |
Sets the optimization types
Created in NX8.0.0.
License requirements : cam_base ("CAM BASE")
type | the optimization type |
void NXOpen::CAM::HoleBossGeom::SetPitch | ( | double | holeBossValue | ) |
Sets the Pitch
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
holeBossValue | the Pitch |
Sets the Rotation types
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
type | the Rotation type |
Returns the threaded boss list
Created in NX7.5.0.
License requirements : None
Returns the threaded hole list
Created in NX7.5.0.
License requirements : None