Defines parameters used in sheet metal design analysis. More...
Public Member Functions | |
DFMSheetMetal_TabParameters () | |
Constructor. | |
DFMSheetMetal_TabParameters (double theWidthRatio, double theLengthRatio) | |
Constructor. | |
double | MinWidthToSheetThicknessRatio () const |
void | SetMinWidthToSheetThicknessRatio (double theRatio) |
double | MaxLengthToWidthRatio () const |
void | SetMaxLengthToWidthRatio (double theRatio) |
Protected Attributes | |
std::shared_ptr< internal::DFMSheetMetalImpl_TabParameters > | myImpl |
Defines parameters used in sheet metal design analysis.
These parameters used to determine irregular tab.
The tab counts as an issue, if at least one of it size parameters fails the following condition:
\[ \large W_t \geq T \times Rt_w \quad \text{and} \quad L_t \leq W_t \times Rt_l \]
\[ \begin{aligned} & \small W_t - \text{width of analyzed tab} \\ & \small L_t - \text{length of analyzed tab} \\ & \small T - \text{thickness of analyzed sheet} \\ & \small Rt_w - \text{minimum tab width to sheet thickness ratio} \\ & \small Rt_l - \text{maximum tab length to tab width ratio} \end{aligned} \]
Default width ratio is 2. Default length ratio is 5.
cadex::DFMSheetMetal_TabParameters::DFMSheetMetal_TabParameters | ( | ) |
Constructor.
Sets default values: width ratio to 2, length ratio to 5.
cadex::DFMSheetMetal_TabParameters::DFMSheetMetal_TabParameters | ( | double | theWidthRatio, |
double | theLengthRatio ) |
Constructor.
Sets specified width and length ratios.
double cadex::DFMSheetMetal_TabParameters::MaxLengthToWidthRatio | ( | ) | const |
Returns maximum tab length to tab width ratio.
double cadex::DFMSheetMetal_TabParameters::MinWidthToSheetThicknessRatio | ( | ) | const |
Returns minimum tab width to sheet thickness ratio.
void cadex::DFMSheetMetal_TabParameters::SetMaxLengthToWidthRatio | ( | double | theRatio | ) |
Sets maximum tab length to tab width ratio. theRatio should be greater than zero.
void cadex::DFMSheetMetal_TabParameters::SetMinWidthToSheetThicknessRatio | ( | double | theRatio | ) |
Sets minimum tab width to sheet thickness ratio. theRatio should be greater than zero.