NX Open C++ Reference Guide
|
Represents a cut level object for cavity mill and zlevel mill. More...
Public Types | |
enum | MeasureTypes { MeasureTypesTopLevel, MeasureTypesRangeTop, MeasureTypesRangeBottom, MeasureTypesWcsOrigin } |
measure from types Created in NX7.5.0. More... | |
enum | RangeTypes { RangeTypesAutomatic, RangeTypesUserDefined, RangeTypesSingle } |
range types Created in NX7.5.0. More... | |
enum | Types { TypesConstant, TypesOptimized, TypesRangeBottom } |
cut level types Created in NX7.5.0. More... | |
Public Member Functions | |
int | AddRangeFromDepth (double rangeDepth, double depthPerCut, NXOpen::CAM::CutLevel::MeasureTypes measureType, int referencedRange) |
Add a new range by specifying the range depth. More... | |
int | AddRangeFromGeometry (NXOpen::NXObject *selectedObject, double depthPerCut) |
Add a new range by specifying the level geometry. More... | |
void | ApplyGlobalDepthPerCut () |
Update the cut levels based on the global depth per cut Created in NX7.5.0. More... | |
NXOpen::CAM::CutLevel::Types | CutLevelType () |
Returns the cut level type Created in NX7.5.0. More... | |
void | DeleteRange (int index) |
Delete a range Created in NX7.5.0. More... | |
NXOpen::CAM::InheritableToolDepBuilder * | DistanceBelow () |
Returns the distance below the bottom of the last range Created in NX7.5.0. More... | |
NXOpen::CAM::StepoverBuilder * | GlobalDepthPerCut () |
Returns the global depth per cut Created in NX7.5.0. More... | |
bool | InitializeData () |
Prepare and update cut level data. More... | |
NXOpen::CAM::CutLevel::RangeTypes | RangeType () |
Returns the range type Created in NX7.5.0. More... | |
void | SetCutLevelType (NXOpen::CAM::CutLevel::Types newValue) |
Sets the cut level type Created in NX7.5.0. More... | |
void | SetRangeDepth (int index, double rangeDepth, NXOpen::CAM::CutLevel::MeasureTypes measureType) |
Set the range depth Created in NX7.5.0. More... | |
void | SetRangeDepthPerCut (int index, double depthPerCut) |
Set the range depth per cut Created in NX7.5.0. More... | |
void | SetRangeGeometry (int index, NXOpen::NXObject *geometry) |
Set the range geometry Created in NX7.5.0. More... | |
void | SetRangeType (NXOpen::CAM::CutLevel::RangeTypes newValue) |
Sets the range type Created in NX7.5.0. More... | |
void | SetTopGeometry (NXOpen::NXObject *currentValue) |
Set the top selected geometry Created in NX7.5.0. More... | |
void | SetTopOffCriticalDepths (bool newValue) |
Sets the top off critical depths Created in NX7.5.0. More... | |
void | SetTopZc (double newValue) |
Sets the top ZC value Created in NX7.5.0. More... | |
bool | TopOffCriticalDepths () |
Returns the top off critical depths Created in NX7.5.0. More... | |
double | TopZc () |
Returns the top ZC value Created in NX7.5.0. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a cut level object for cavity mill and zlevel mill.
Created in NX7.5.0.
int NXOpen::CAM::CutLevel::AddRangeFromDepth | ( | double | rangeDepth, |
double | depthPerCut, | ||
NXOpen::CAM::CutLevel::MeasureTypes | measureType, | ||
int | referencedRange | ||
) |
Add a new range by specifying the range depth.
rangeDepth | the range depth from reference point |
depthPerCut | the local depth per cut, if zero, set with global depth per cut |
measureType | the measure type for the depth |
referencedRange | the position of referenced range, only valid when measure type is range top or bottom. if -1, referencing the last range. |
int NXOpen::CAM::CutLevel::AddRangeFromGeometry | ( | NXOpen::NXObject * | selectedObject, |
double | depthPerCut | ||
) |
Add a new range by specifying the level geometry.
selectedObject | the geometry associated to the current level |
depthPerCut | the local depth per cut, if zero, set with global depth per cut |
void NXOpen::CAM::CutLevel::ApplyGlobalDepthPerCut | ( | ) |
Update the cut levels based on the global depth per cut
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
NXOpen::CAM::CutLevel::Types NXOpen::CAM::CutLevel::CutLevelType | ( | ) |
Returns the cut level type
Created in NX7.5.0.
License requirements : None
void NXOpen::CAM::CutLevel::DeleteRange | ( | int | index | ) |
Delete a range
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
index | the range index to be deleted |
NXOpen::CAM::InheritableToolDepBuilder* NXOpen::CAM::CutLevel::DistanceBelow | ( | ) |
Returns the distance below the bottom of the last range
Created in NX7.5.0.
License requirements : None
NXOpen::CAM::StepoverBuilder* NXOpen::CAM::CutLevel::GlobalDepthPerCut | ( | ) |
Returns the global depth per cut
Created in NX7.5.0.
License requirements : None
bool NXOpen::CAM::CutLevel::InitializeData | ( | ) |
Prepare and update cut level data.
NXOpen::CAM::CutLevel::RangeTypes NXOpen::CAM::CutLevel::RangeType | ( | ) |
Returns the range type
Created in NX7.5.0.
License requirements : None
void NXOpen::CAM::CutLevel::SetCutLevelType | ( | NXOpen::CAM::CutLevel::Types | newValue | ) |
Sets the cut level type
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
newValue | the cut level type |
void NXOpen::CAM::CutLevel::SetRangeDepth | ( | int | index, |
double | rangeDepth, | ||
NXOpen::CAM::CutLevel::MeasureTypes | measureType | ||
) |
Set the range depth
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
index | the range index to be modified |
rangeDepth | the range depth |
measureType | the measure type for the depth |
void NXOpen::CAM::CutLevel::SetRangeDepthPerCut | ( | int | index, |
double | depthPerCut | ||
) |
Set the range depth per cut
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
index | the range index to be modified |
depthPerCut | the local depth per cut |
void NXOpen::CAM::CutLevel::SetRangeGeometry | ( | int | index, |
NXOpen::NXObject * | geometry | ||
) |
Set the range geometry
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
index | the range index to be modified |
geometry | the geometry associated to the current level |
void NXOpen::CAM::CutLevel::SetRangeType | ( | NXOpen::CAM::CutLevel::RangeTypes | newValue | ) |
Sets the range type
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
newValue | the range type |
void NXOpen::CAM::CutLevel::SetTopGeometry | ( | NXOpen::NXObject * | currentValue | ) |
Set the top selected geometry
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
currentValue | the top object |
void NXOpen::CAM::CutLevel::SetTopOffCriticalDepths | ( | bool | newValue | ) |
Sets the top off critical depths
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
newValue | the top off critical depths |
void NXOpen::CAM::CutLevel::SetTopZc | ( | double | newValue | ) |
Sets the top ZC value
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
newValue | the ZC value |
bool NXOpen::CAM::CutLevel::TopOffCriticalDepths | ( | ) |
Returns the top off critical depths
Created in NX7.5.0.
License requirements : None
double NXOpen::CAM::CutLevel::TopZc | ( | ) |
Returns the top ZC value
Created in NX7.5.0.
License requirements : None