Defines parameters used in cnc machining drilling design analysis. More...
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_StandardSizeParameters & | HoleDiameterStandardSizeParameters () const |
| Returns hole diameter standard size parameters used in hole diameter analysis. | |
| DFMBase_StandardSizeParameters & | HoleDiameterStandardSizeParameters () |
| const DFMBase_StandardSizeParameters & | BlindHoleDrillPointAngleStandardSizeParameters () const |
| Returns blind hole angle standard size parameters used in blind hole angle analysis. | |
| DFMBase_StandardSizeParameters & | BlindHoleDrillPointAngleStandardSizeParameters () |
| double | MinRecognizablePartialHoleMaterialPercent () const |
| void | SetMinRecognizablePartialHoleMaterialPercent (double theNewPercent) |
| double | MinDistanceBetweenThreadedHoleAndEdgeToDaimeterRatio () const |
| void | SetMinDistanceBetweenThreadedHoleAndEdgeToDaimeterRatio (double theRatio) |
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 |
Defines parameters used in cnc machining drilling design analysis.
Contains parameters used by DFMMachining_Analyzer during design analysis checks.
| cadex::DFMMachining_DrillingAnalyzerParameters::DFMMachining_DrillingAnalyzerParameters | ( | ) |
Constructor.
Sets default parameter values.
| DFMBase_StandardSizeParameters & cadex::DFMMachining_DrillingAnalyzerParameters::BlindHoleDrillPointAngleStandardSizeParameters | ( | ) |
Returns reference to blind hole angle standard size parameters.
| 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
| DFMBase_StandardSizeParameters & cadex::DFMMachining_DrillingAnalyzerParameters::HoleDiameterStandardSizeParameters | ( | ) |
Returns reference to hole diameter standard size parameters.
| 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
| 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.
| 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.
| 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.
| 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.
| 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.
| void cadex::DFMMachining_DrillingAnalyzerParameters::SetMaxHoleDepthToDiameterRatio | ( | double | theRatio | ) |
Sets maximum hole depth to diameter ratio. theRatio should greater than zero.
| void cadex::DFMMachining_DrillingAnalyzerParameters::SetMaxHoleDiameter | ( | double | theDiameter | ) |
Sets maximum possible diameter for a hole in mm . theDiameter should greater than zero.
| void cadex::DFMMachining_DrillingAnalyzerParameters::SetMinHoleDiameter | ( | double | theDiameter | ) |
Sets minimum hole diameter in mm . theDiameter should greater than zero.
| 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.
| 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.