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

Defines parameters used in cnc machining drilling design analysis. More...

Inheritance diagram for cadex::DFMMachining_DrillingAnalyzerParameters:
cadex::DFMMachining_BaseAnalyzerParameters

Public Member Functions

 DFMMachining_DrillingAnalyzerParameters ()
 Constructor.
 
double MinHoleDiameter () const
 
void SetMinHoleDiameter (double theDiameter)
 
double MaxHoleDiameter () const
 
void SetMaxHoleDiameter (double theDiameter)
 
double MaxHoleDepthToDiameterRatio () const
 
void SetMaxHoleDepthToDiameterRatio (double theRatio)
 
double MinPartialHoleMaterialPercent () const
 
void SetMinPartialHoleMaterialPercent (double thePercent)
 
const DFMBase_StandardSizeParametersHoleDiameterStandardSizeParameters () const
 Returns hole diameter standard size parameters used in hole diameter analysis.
 
DFMBase_StandardSizeParametersHoleDiameterStandardSizeParameters ()
 
const DFMBase_StandardSizeParametersBlindHoleDrillPointAngleStandardSizeParameters () const
 Returns blind hole angle standard size parameters used in blind hole angle analysis.
 
DFMBase_StandardSizeParametersBlindHoleDrillPointAngleStandardSizeParameters ()
 
double MinRecognizablePartialHoleMaterialPercent () const
 
void SetMinRecognizablePartialHoleMaterialPercent (double theNewPercent)
 
- Public Member Functions inherited from cadex::DFMMachining_BaseAnalyzerParameters
 DFMMachining_BaseAnalyzerParameters ()
 Constructor.
 
 ~DFMMachining_BaseAnalyzerParameters ()
 Destructor.
 
bool IsNull () const
 Returns true if the object is null.
 
 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.
 

Static Public Member Functions

static bool CompareType (const DFMMachining_BaseAnalyzerParameters &theParameters)
 Returns true if theParameters are dfm machining drilling analyzer parameters.
 

Additional Inherited Members

- Public Types inherited from cadex::DFMMachining_BaseAnalyzerParameters
typedef cadex::internal::DFMMachiningImpl_BaseAnalyzerParameters ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Protected Member Functions inherited from cadex::DFMMachining_BaseAnalyzerParameters
 DFMMachining_BaseAnalyzerParameters (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Attributes inherited from cadex::DFMMachining_BaseAnalyzerParameters
ImplPtrType myImpl
 

Detailed Description

Defines parameters used in cnc machining drilling design analysis.

Contains parameters used by DFMMachining_Analyzer during design analysis checks.

Examples
MTKConverter/Program.cs, MTKConverter/main.cxx, machining/dfm_analyzer/Program.cs, and machining/dfm_analyzer/main.cxx.

Constructor & Destructor Documentation

◆ DFMMachining_DrillingAnalyzerParameters()

cadex::DFMMachining_DrillingAnalyzerParameters::DFMMachining_DrillingAnalyzerParameters ( )

Constructor.

Sets default parameter values.

Member Function Documentation

◆ BlindHoleDrillPointAngleStandardSizeParameters() [1/2]

DFMBase_StandardSizeParameters & cadex::DFMMachining_DrillingAnalyzerParameters::BlindHoleDrillPointAngleStandardSizeParameters ( )

Returns reference to blind hole angle standard size parameters.

See also
BlindHoleAngleStandardSizeParameters()

◆ BlindHoleDrillPointAngleStandardSizeParameters() [2/2]

const DFMBase_StandardSizeParameters & cadex::DFMMachining_DrillingAnalyzerParameters::BlindHoleDrillPointAngleStandardSizeParameters ( ) const

Returns blind hole angle standard size parameters used in blind hole angle analysis.

The hole counts as an issue, if it fails the following condition:

\[ \large |A_bh - A_s| > Tol \]

\[ \begin{aligned} & \small A_bh - \text{angle of analyzed blind hole} \\ & \small A_s - \text{standard angle from range [0, list size] from standard size parameters} \\ & \small Tol - \text{validation tolerance from standard size parameters} \end{aligned} \]

Default standard angle list contains the following values in degree: 118, 135
Default validation tolerance value is 0.01

See also
DFMMachining_NonStandardDrillPointAngleBlindHoleIssue, DFMBase_StandardSizeParameters

◆ HoleDiameterStandardSizeParameters() [1/2]

DFMBase_StandardSizeParameters & cadex::DFMMachining_DrillingAnalyzerParameters::HoleDiameterStandardSizeParameters ( )

Returns reference to hole diameter standard size parameters.

See also
HoleDiameterStandartSizeParameters()

◆ HoleDiameterStandardSizeParameters() [2/2]

const DFMBase_StandardSizeParameters & cadex::DFMMachining_DrillingAnalyzerParameters::HoleDiameterStandardSizeParameters ( ) const

Returns hole diameter standard size parameters used in hole diameter analysis.

The hole counts as an issue, if it fails the following condition:

\[ \large |Dia_h - dia_i| \leq Tol \]

\[ \begin{aligned} & \small Dia_h - \text{diameter of analyzed hole} \\ & \small dia_i - \text{standard diameter from range [0, list size] from standard size parameters} \\ & \small Tol - \text{validation tolerance from standard size parameters} \end{aligned} \]

Default standard diameters list contains the following values in mm: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38
Default validation tolerance value is 0.01

See also
DFMMachining_NonStandardDiameterHoleIssue, DFMBase_StandardSizeParameters

◆ MaxHoleDepthToDiameterRatio()

double cadex::DFMMachining_DrillingAnalyzerParameters::MaxHoleDepthToDiameterRatio ( ) const

Returns maximum hole depth to diameter ratio used in deep hole analysis.

The hole counts as an issue, if it fails the following condition:

\[ \large D_h \leq Dia_h * Rt \]

\[ \begin{aligned} & \small D_h - \text{analyzed hole depth} \\ & \small Dia_h - \text{analyzed hole diameter} \\ & \small Rt - \text{maximum hole depth to diameter ratio} \end{aligned} \]

Default value for this ratio is 3.5.

See also
SetMaxHoleDepthToDiameterRatio(), DFMMachining_DeepHoleIssue

◆ MaxHoleDiameter()

double cadex::DFMMachining_DrillingAnalyzerParameters::MaxHoleDiameter ( ) const

Returns maximum possible diameter for a hole in mm .

All holes with a greater diameter won't be analyzed.

Default value is 50.

See also
SetMaxHoleDiameter()

◆ MinHoleDiameter()

double cadex::DFMMachining_DrillingAnalyzerParameters::MinHoleDiameter ( ) const

Returns minimum hole diameter in mm used in small hole analysis.

The hole counts as an issue, if it fails the following condition:

\[ \large Dia_h \geq dia_m \]

\[ \begin{aligned} & \small Dia_h - \text{analyzed hole diameter} \\ & \small dia_m - \text{minimum hole diameter} \end{aligned} \]

Default value is 3.

See also
SetMinHoleDiameter(), DFMMachining_SmallDiameterHoleIssue

◆ MinPartialHoleMaterialPercent()

double cadex::DFMMachining_DrillingAnalyzerParameters::MinPartialHoleMaterialPercent ( ) const

Returns the minimum material percent (of the full hole) used in partial hole analysis.

The partial hole counts as an issue, if it fails the following condition:

\[ \large MP_h \geq mp_m \]

\[ \begin{aligned} & \small MP_h - \text{analyzed partial hole material percent} \\ & \small mp_m - \text{minimum partial hole material percent} \end{aligned} \]

Default value is 0.75.

See also
SetMinPartialHoleMaterialPercent(), DFMMachining_PartialHoleIssue

◆ MinRecognizablePartialHoleMaterialPercent()

double cadex::DFMMachining_DrillingAnalyzerParameters::MinRecognizablePartialHoleMaterialPercent ( ) const

Returns the minimum possible material percent for a partial hole.

All holes with a lower material percent won't be analyzed.

Default value is 0.2.

See also
SetMinRecognizablePartialHoleMaterialPercent()

◆ SetMaxHoleDepthToDiameterRatio()

void cadex::DFMMachining_DrillingAnalyzerParameters::SetMaxHoleDepthToDiameterRatio ( double theRatio)

Sets maximum hole depth to diameter ratio. theRatio should greater than zero.

See also
MaxHoleDepthToDiameterRatio()

◆ SetMaxHoleDiameter()

void cadex::DFMMachining_DrillingAnalyzerParameters::SetMaxHoleDiameter ( double theDiameter)

Sets maximum possible diameter for a hole in mm . theDiameter should greater than zero.

See also
MaxHoleDiameter()

◆ SetMinHoleDiameter()

void cadex::DFMMachining_DrillingAnalyzerParameters::SetMinHoleDiameter ( double theDiameter)

Sets minimum hole diameter in mm . theDiameter should greater than zero.

See also
MinHoleDiameter()

◆ SetMinPartialHoleMaterialPercent()

void cadex::DFMMachining_DrillingAnalyzerParameters::SetMinPartialHoleMaterialPercent ( double thePercent)

Sets the minimum material percent for the partial hole. thePercent should be greater or equal to 0, less or equal to 1.

See also
MinPartialHoleMaterialPercent()

◆ SetMinRecognizablePartialHoleMaterialPercent()

void cadex::DFMMachining_DrillingAnalyzerParameters::SetMinRecognizablePartialHoleMaterialPercent ( double theNewPercent)

Sets minimum possible material percent for a partial hole. theNewPercent should greater or equal than zero and less or equal than one.

See also
MinRecognizablePartialHoleMaterialPercent()