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 (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 DFMMachining_DrillingAnalyzerParameters ()
 Constructor.
 
double MinHoleDiameter ()
 
void SetMinHoleDiameter (double theDiameter)
 
double MaxHoleDiameter ()
 
void SetMaxHoleDiameter (double theDiameter)
 
double MaxHoleDepthToDiameterRatio ()
 
void SetMaxHoleDepthToDiameterRatio (double theRatio)
 
double MinPartialHoleMaterialPercent ()
 
void SetMinPartialHoleMaterialPercent (double thePercent)
 
cadex.DFMBase_StandardSizeParameters HoleDiameterStandardSizeParameters ()
 Returns hole diameter standard size parameters used in hole diameter analysis.
 
cadex.DFMBase_StandardSizeParameters BlindHoleDrillPointAngleStandardSizeParameters ()
 Returns blind hole angle standard size parameters used in blind hole angle analysis.
 
double MinRecognizablePartialHoleMaterialPercent ()
 
void SetMinRecognizablePartialHoleMaterialPercent (double theNewPercent)
 
double MinDistanceBetweenThreadedHoleAndEdgeToDaimeterRatio ()
 
void SetMinDistanceBetweenThreadedHoleAndEdgeToDaimeterRatio (double theRatio)
 
- Public Member Functions inherited from cadex.DFMMachining_BaseAnalyzerParameters
 DFMMachining_BaseAnalyzerParameters (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 DFMMachining_BaseAnalyzerParameters ()
 Constructor.
 
bool IsNull ()
 Returns true if the object is null.
 

Static Public Member Functions

static bool CompareType (cadex.DFMMachining_BaseAnalyzerParameters theParameters)
 Returns true if theParameters are DFM machining drilling analyzer parameters.
 
static cadex.DFMMachining_DrillingAnalyzerParameters Cast (cadex.DFMMachining_BaseAnalyzerParameters theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 

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 ( )
inline

Constructor.

Sets default parameter values.

Member Function Documentation

◆ BlindHoleDrillPointAngleStandardSizeParameters()

cadex.DFMBase_StandardSizeParameters cadex.DFMMachining_DrillingAnalyzerParameters.BlindHoleDrillPointAngleStandardSizeParameters ( )
inline

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

Returns reference to blind hole angle standard size parameters.

See also
BlindHoleAngleStandardSizeParameters()

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

◆ Dispose()

override void cadex.DFMMachining_DrillingAnalyzerParameters.Dispose ( bool disposing)
inlineprotectedvirtual

◆ HoleDiameterStandardSizeParameters()

cadex.DFMBase_StandardSizeParameters cadex.DFMMachining_DrillingAnalyzerParameters.HoleDiameterStandardSizeParameters ( )
inline

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

Returns reference to hole diameter standard size parameters.

See also
HoleDiameterStandartSizeParameters()

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 ( )
inline

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 ( )
inline

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 ( )
inline

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 ( )
inline

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 ( )
inline

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)
inline

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

See also
MaxHoleDepthToDiameterRatio()

◆ SetMaxHoleDiameter()

void cadex.DFMMachining_DrillingAnalyzerParameters.SetMaxHoleDiameter ( double theDiameter)
inline

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)
inline

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

See also
MinHoleDiameter()

◆ SetMinPartialHoleMaterialPercent()

void cadex.DFMMachining_DrillingAnalyzerParameters.SetMinPartialHoleMaterialPercent ( double thePercent)
inline

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)
inline

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()