Defines parameters used in cnc machining milling design analysis. More...
Public Member Functions | |
DFMMachining_MillingAnalyzerParameters () | |
Constructor. | |
const DFMBase_StandardSizeParameters & | MilledPartFloorRadiusStandardSizeParameters () const |
Returns floor radius standard size parameters used in milled part floor radius analysis. | |
DFMBase_StandardSizeParameters & | MilledPartFloorRadiusStandardSizeParameters () |
Returns reference to floor radius standard size parameters. | |
double | MaxBossHeightToLengthAndWidthRatio () const |
void | SetMaxBossHeightToLengthAndWidthRatio (double theRatio) |
double | MaxPocketDepthToWidthRatio () const |
void | SetMaxPocketDepthToWidthRatio (double theRatio) |
double | MinRegionInPocketSize () const |
void | SetMinRegionInPocketSize (double theMinSize) |
double | MaxRegionsMaxToMinSizeRatio () const |
void | SetMaxRegionsMaxToMinSizeRatio (double theRatio) |
double | MaxMilledPartInternalCornerDepthToRadiusRatio () const |
void | SetMaxMilledPartInternalCornerDepthToRadiusRatio (double theRatio) |
const DFMMachining_MilledPartSize & | MaxMilledPartSize () const |
Returns maximum milled part size used in milled part size analysis. | |
void | SetMaxMilledPartSize (const DFMMachining_MilledPartSize &theMilledPartSize) |
bool | IsAxisDefined () const |
const Geom::Axis1d & | Axis () const |
void | SetAxis (const Geom::Axis1d &theAxis) |
double | MinWallThickness () const |
void | SetMinWallThickness (double theThickness) |
size_t | WallThicknessResolution () const |
void | SetWallThicknessResolution (size_t theResolution) |
![]() | |
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 milling analyzer parameters. | |
Additional Inherited Members | |
![]() | |
typedef cadex::internal::DFMMachiningImpl_BaseAnalyzerParameters | ImplType |
typedef std::shared_ptr< ImplType > | ImplPtrType |
![]() | |
DFMMachining_BaseAnalyzerParameters (ImplPtrType theImpl) | |
Reserved for internal use. | |
![]() | |
ImplPtrType | myImpl |
Defines parameters used in cnc machining milling design analysis.
Contains parameters used by DFMMachining_Analyzer during design analysis checks.
cadex::DFMMachining_MillingAnalyzerParameters::DFMMachining_MillingAnalyzerParameters | ( | ) |
Constructor.
Sets default parameter values.
const Geom::Axis1d & cadex::DFMMachining_MillingAnalyzerParameters::Axis | ( | ) | const |
bool cadex::DFMMachining_MillingAnalyzerParameters::IsAxisDefined | ( | ) | const |
double cadex::DFMMachining_MillingAnalyzerParameters::MaxBossHeightToLengthAndWidthRatio | ( | ) | const |
Returns maximum boss height to width ratio used in boss analysis.
The boss counts as an issue, if it fails on of the following conditions:
\[ \large Rt \leq H_b / W_b * \]
\[ \large Rt \leq H_b / L_b * \]
\[ \begin{aligned} & \small H_b - \text{analyzed boss height} \\ & \small W_b - \text{analyzed boss width} \\ & \small L_b - \text{analyzed boss length} \\ & \small Rt - \text{maximum high boss ratio} \end{aligned} \]
Default value for this ratio is 4.
double cadex::DFMMachining_MillingAnalyzerParameters::MaxMilledPartInternalCornerDepthToRadiusRatio | ( | ) | const |
Returns maximum milled part internal corner depth to radius ratio that used in internal corner analysis.
The internal corner counts as an issue, if it fails the following condition:
\[ \large R_c \geq \frac{D_c}{Rt} \]
\[ \begin{aligned} & \small R_c - \text{analyzed internal corner radius} \\ & \small D_c - \text{analyzed internal corner depth} \\ & \small Rt - \text{maximum internal corner depth to radius ratio} \end{aligned} \]
Default value for this ratio is 3.
const DFMMachining_MilledPartSize & cadex::DFMMachining_MillingAnalyzerParameters::MaxMilledPartSize | ( | ) | const |
Returns maximum milled part size used in milled part size analysis.
The milled part counts as an issue, if it fails the following condition:
\[ \large W_p \leq w_m \quad \text{and} \quad L_p \leq l_m \quad \text{and} \quad H_p \leq h_m \]
\[ \begin{aligned} & \small W_p - \text{analyzed milled part width} \\ & \small L_p - \text{analyzed milled part length} \\ & \small H_p - \text{analyzed milled part height} \\ & \small w_m - \text{maximum milled part width} \\ & \small l_m - \text{maximum milled part length} \\ & \small h_m - \text{maximum milled part height} \end{aligned} \]
Default maximum width is 800. Default maximum length is 2000. Default maximum height is 1000.
double cadex::DFMMachining_MillingAnalyzerParameters::MaxPocketDepthToWidthRatio | ( | ) | const |
Returns maximum pocket depth to width ratio used in deep pocket analysis.
The pocket counts as an issue, if it fails the following condition:
\[ \large D_p \leq W_p * Rt \]
\[ \begin{aligned} & \small D_p - \text{analyzed pocket depth} \\ & \small W_p - \text{analyzed pocket width} \\ & \small Rt - \text{maximum pocket depth to width ratio} \end{aligned} \]
Default value for this ratio is 4.
double cadex::DFMMachining_MillingAnalyzerParameters::MaxRegionsMaxToMinSizeRatio | ( | ) | const |
Returns maximum ratio of maximum to minimum sizes in a pocket for a feature.
The pocket counts as an issue, if it fails the following condition:
\[ \large R_p \leq R_m \]
\[ \begin{aligned} & \small R_p - \text{analyzed ratio} \\ & \small R_m - \text{maximum ratio} \end{aligned} \]
Default value for this ratio is 10.
DFMBase_StandardSizeParameters & cadex::DFMMachining_MillingAnalyzerParameters::MilledPartFloorRadiusStandardSizeParameters | ( | ) |
Returns reference to floor radius standard size parameters.
const DFMBase_StandardSizeParameters & cadex::DFMMachining_MillingAnalyzerParameters::MilledPartFloorRadiusStandardSizeParameters | ( | ) | const |
Returns floor radius standard size parameters used in milled part floor radius analysis.
The floor fillet counts as an issue, if it fails the following condition:
\[ \large |R_f - r_i| \leq Tol \]
\[ \begin{aligned} & \small R_f - \text{radius of analyzed floor fillet} \\ & \small r_i - \text{standard radius from range [0, list size] from standard size parameters} \\ & \small Tol - \text{validation tolerance from standard size parameters} \end{aligned} \]
Default standard radiuses list contains the following values in mm: 0.5, 0.75, 1, 1.25, 1.5, 2, 2.5, 3, 4
Default validation tolerance value is 0.01
double cadex::DFMMachining_MillingAnalyzerParameters::MinRegionInPocketSize | ( | ) | const |
Returns minimum size between feature and wall in a pocket.
The pocket counts as an issue, if it fails the following condition:
\[ \large S_p \leq S_m \]
\[ \begin{aligned} & \small S_p - \text{analyzed size} \\ & \small S_m - \text{minimum size} \end{aligned} \]
Default value for this size is 16.
double cadex::DFMMachining_MillingAnalyzerParameters::MinWallThickness | ( | ) | const |
Returns minimal wall thickness between two faces used in milling analysis.
The wall counts as an issue, if the minimal distance between two forming the wall faces fails the following condition:
\[ D \geq Min D \]
\[ \begin{aligned} & \small D - \text{distance between two faces} \\ & \small Min D - \text{minimal expected distance} \\ \end{aligned} \]
Default minimal expected distance is 0.8.
void cadex::DFMMachining_MillingAnalyzerParameters::SetAxis | ( | const Geom::Axis1d & | theAxis | ) |
Sets z-axis.
void cadex::DFMMachining_MillingAnalyzerParameters::SetMaxBossHeightToLengthAndWidthRatio | ( | double | theRatio | ) |
Sets maximum boss height to width ratio. theRatio should be greater than zero.
void cadex::DFMMachining_MillingAnalyzerParameters::SetMaxMilledPartInternalCornerDepthToRadiusRatio | ( | double | theRatio | ) |
Sets maximum milled part internal corner depth to radius ratio. theRatio should be greater than zero.
void cadex::DFMMachining_MillingAnalyzerParameters::SetMaxMilledPartSize | ( | const DFMMachining_MilledPartSize & | theMilledPartSize | ) |
Sets maximum milled part size.
void cadex::DFMMachining_MillingAnalyzerParameters::SetMaxPocketDepthToWidthRatio | ( | double | theRatio | ) |
Sets maximum pocket depth to width ratio. theRatio should be greater than zero.
void cadex::DFMMachining_MillingAnalyzerParameters::SetMaxRegionsMaxToMinSizeRatio | ( | double | theRatio | ) |
Sets maximum ratio of maximum to minimum sizes in a pocket for a feature. / a theRatio should be greater than zero.
void cadex::DFMMachining_MillingAnalyzerParameters::SetMinRegionInPocketSize | ( | double | theMinSize | ) |
Sets minimum size between feature and wall in a pocket. theMinSize should be greater than 0.
void cadex::DFMMachining_MillingAnalyzerParameters::SetMinWallThickness | ( | double | theThickness | ) |
Sets minimal wall thickness. theThickness should be greater than zero.
void cadex::DFMMachining_MillingAnalyzerParameters::SetWallThicknessResolution | ( | size_t | theResolution | ) |
Sets resolution for wall thickness analysis. theResolution should be greater than zero, recommended value 1000.