Hide menu
Loading...
Searching...
No Matches
cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue Class Reference

Described the Narrow Pocket maximum to minimum sizes ratio issue found during cnc machining milling design analysis. More...

Inheritance diagram for cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue:
cadex::DFMMachining_MillingIssue cadex::DFMBase_Issue cadex::MTKBase_Feature

Public Member Functions

 DFMMachining_LargeDifferenceRegionsSizeInPocketIssue ()
 Constructor.
 
double ExpectedMaxRegionsMaxToMinSizeRatio () const
 Returns the expected maximum to minimum size ratio.
 
void SetExpectedMaxRegionsMaxToMinSizeRatio (double theRatio)
 Set expected maximum to minimum size ratio.Values should be greater 0.
 
double ActualMaxDistance () const
 Returns the actual maximum distance between features in a pocket.
 
void SetActualMaxRegionSize (double theMaxValue)
 Set actual maximum region size.Value should be greater 0.
 
double ActualMinDistance () const
 Returns the actual minimum distance between features in a pocket.
 
void SetActualMinRegionSize (double theMinValue)
 Set actual minimum region size.Value should be greater 0.
 
double ActualMaxRegionsMaxToMinSizeRatio () const
 Returns the actual maximum to minimum size ratio.
 
const Machining_PocketPocket () const
 Returns pocket, that contains features with an issue.
 
void SetPocket (const Machining_Pocket &thePocket)
 Set pocket, that contains features with an issue.
 
const ModelData::ShellMaxRegionPocketSidewall () const
 Returns shell with max region size to compared inner feature.
 
void SetMaxRegionPocketSidewall (const ModelData::Shell &theMaxRegionPocketSidewall)
 Set shell with the highest theMaxRegionPocketSidewall size to the inner feature.
 
const ModelData::ShellMinRegionPocketSidewall () const
 Returns shell with min region size to compared inner feature.
 
void SetMinRegionPocketSidewall (const ModelData::Shell &theMinRegionPocketSidewall)
 Set shell with the lowest theMinRegionPocketSidewall size to the inner feature.
 
const ModelData::ShellInnerFeature () const
 Returns an inner feature shell.
 
void SetInnerFeature (const ModelData::Shell &theInnerFeature)
 Set shell of an inner feature.
 
- Public Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature ()
 Constructor.
 
 ~MTKBase_Feature ()
 Destructor.
 
void Nullify ()
 Resets reference to implementation object.
 
bool IsNull () const
 Returns true if the object is nullified.
 
 operator bool () const
 Casts the object to the bool type.
 
template<typename T >
bool IsOfType () const
 
ImplType * Impl () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 
bool operator== (const MTKBase_Feature &theObject) const
 
bool operator!= (const MTKBase_Feature &theObject) const
 

Static Public Member Functions

static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theFeature is a DFM large difference regions size in pocket issue.
 
- Static Public Member Functions inherited from cadex::DFMMachining_MillingIssue
static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theIssue is a DFM machining milling issue.
 
- Static Public Member Functions inherited from cadex::DFMBase_Issue
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a DFM issue.
 

Additional Inherited Members

- Public Types inherited from cadex::DFMMachining_MillingIssue
typedef cadex::internal::DFMMachiningImpl_MillingIssue ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::DFMBase_Issue
typedef cadex::internal::DFMBaseImpl_Issue ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::MTKBase_Feature
typedef cadex::internal::MTKBaseImpl_Feature ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Protected Member Functions inherited from cadex::DFMMachining_MillingIssue
 DFMMachining_MillingIssue (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::DFMBase_Issue
 DFMBase_Issue (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Described the Narrow Pocket maximum to minimum sizes ratio issue found during cnc machining milling design analysis.

A large difference in region size in a pocket CNC machining milling design can impact the machining process in terms of the required tool selection, appropriate cutting parameters, required material removal, and tool path optimization.

Contains ratio that fails the following condition:

\[ \large R_p > R_m \]

\[ \begin{aligned} & \small R_p - \text{actual ratio of maximum to minimum sizes} \\ & \small R_m - \text{expected maximum ratio of maximum to minimum sizes} \\ \end{aligned} \]

See also
DFMMachining_Analyzer, DFMMachining_MillingAnalyzerParameters.MaxRegionsMaxToMinSizeRatio()
Examples
machining/dfm_analyzer/Program.cs, and machining/dfm_analyzer/main.cxx.

Constructor & Destructor Documentation

◆ DFMMachining_LargeDifferenceRegionsSizeInPocketIssue()

cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue ( )

Constructor.

Member Function Documentation

◆ ActualMaxDistance()

double cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::ActualMaxDistance ( ) const

Returns the actual maximum distance between features in a pocket.

See also
SetActualMaxRegionSize()

◆ ActualMaxRegionsMaxToMinSizeRatio()

double cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::ActualMaxRegionsMaxToMinSizeRatio ( ) const

Returns the actual maximum to minimum size ratio.

See also
SetActualMaxRegionSize(), SetActualMinRegionSize()
Examples
machining/dfm_analyzer/Program.cs.

◆ ActualMinDistance()

double cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::ActualMinDistance ( ) const

Returns the actual minimum distance between features in a pocket.

See also
SetActualMinRegionSize()

◆ CompareType()

bool cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::CompareType ( const MTKBase_Feature & theFeature)
static

Returns true if theFeature is a DFM large difference regions size in pocket issue.

Examples
machining/dfm_analyzer/Program.cs.

◆ ExpectedMaxRegionsMaxToMinSizeRatio()

double cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::ExpectedMaxRegionsMaxToMinSizeRatio ( ) const

Returns the expected maximum to minimum size ratio.

See also
SetExpectedMaxRegionsMaxToMinSizeRatio()
Examples
machining/dfm_analyzer/Program.cs.

◆ InnerFeature()

const ModelData::Shell & cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::InnerFeature ( ) const

Returns an inner feature shell.

See also
SetInnerFeature()

◆ MaxRegionPocketSidewall()

const ModelData::Shell & cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::MaxRegionPocketSidewall ( ) const

Returns shell with max region size to compared inner feature.

See also
SetMaxRegionPocketSidewall

◆ MinRegionPocketSidewall()

const ModelData::Shell & cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::MinRegionPocketSidewall ( ) const

Returns shell with min region size to compared inner feature.

See also
SetMinRegionPocketSidewall()

◆ Pocket()

const Machining_Pocket & cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::Pocket ( ) const

Returns pocket, that contains features with an issue.

See also
SetPocket()

◆ SetActualMaxRegionSize()

void cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::SetActualMaxRegionSize ( double theMaxValue)

Set actual maximum region size.Value should be greater 0.

See also
ActualMaxRegionSize()

◆ SetActualMinRegionSize()

void cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::SetActualMinRegionSize ( double theMinValue)

Set actual minimum region size.Value should be greater 0.

See also
ActualMinDistance()

◆ SetExpectedMaxRegionsMaxToMinSizeRatio()

void cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::SetExpectedMaxRegionsMaxToMinSizeRatio ( double theRatio)

Set expected maximum to minimum size ratio.Values should be greater 0.

See also
ExpectedMaxRegionsMaxToMinSizeRatio()

◆ SetInnerFeature()

void cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::SetInnerFeature ( const ModelData::Shell & theInnerFeature)

Set shell of an inner feature.

See also
InnerFeature()

◆ SetMaxRegionPocketSidewall()

void cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::SetMaxRegionPocketSidewall ( const ModelData::Shell & theMaxRegionPocketSidewall)

Set shell with the highest theMaxRegionPocketSidewall size to the inner feature.

See also
MaxRegionPocketSidewall()

◆ SetMinRegionPocketSidewall()

void cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::SetMinRegionPocketSidewall ( const ModelData::Shell & theMinRegionPocketSidewall)

Set shell with the lowest theMinRegionPocketSidewall size to the inner feature.

See also
MinRegionPocketSidewall()

◆ SetPocket()

void cadex::DFMMachining_LargeDifferenceRegionsSizeInPocketIssue::SetPocket ( const Machining_Pocket & thePocket)

Set pocket, that contains features with an issue.

See also
Pocket()