Defines parameters used in cnc machining turning design analysis. More...
Public Member Functions | |
DFMMachining_TurningAnalyzerParameters () | |
Constructor. | |
const DFMMachining_TurnedPartSize & | MaxTurnedPartSize () const |
Returns maximum turned part size used in turned part size analysis. | |
void | SetMaxTurnedPartSize (const DFMMachining_TurnedPartSize &theTurnedPartSize) |
double | MaxTurnedPartLengthToMinDiameterRatio () const |
void | SetMaxTurnedPartLengthToMinDiameterRatio (double theRatio) |
double | MaxFaceInclineAngle () const |
void | SetMaxFaceInclineAngle (double theAngle) |
double | MinBlindBoredHoleReliefDepthToDiameterRatio () const |
void | SetMinBlindBoredHoleReliefDepthToDiameterRatio (double theRatio) |
double | MaxBoredHoleDepthToDiameterRatio () const |
void | SetMaxBoredHoleDepthToDiameterRatio (double theRatio) |
double | MinTurnedPartInternalCornerRadius () const |
void | SetMinTurnedPartInternalCornerRadius (double theValue) |
bool | IsAxisDefined () const |
const Geom::Axis1d & | Axis () const |
void | SetAxis (const Geom::Axis1d &theAxis) |
![]() | |
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 turning 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 turning design analysis.
Contains parameters used by DFMMachining_Analyzer during design analysis checks.
cadex::DFMMachining_TurningAnalyzerParameters::DFMMachining_TurningAnalyzerParameters | ( | ) |
Constructor.
Sets default parameter values.
const Geom::Axis1d & cadex::DFMMachining_TurningAnalyzerParameters::Axis | ( | ) | const |
bool cadex::DFMMachining_TurningAnalyzerParameters::IsAxisDefined | ( | ) | const |
double cadex::DFMMachining_TurningAnalyzerParameters::MaxBoredHoleDepthToDiameterRatio | ( | ) | const |
Returns maximum bored hole depth to diameter ratio used in deep bored hole analysis.
The bored hole of turned part counts as an issue, if it fails the following condition:
\[ \large D_h \leq Dia_h * Rt \]
\[ \begin{aligned} & \small D_h - \text{analyzed bored hole depth} \\ & \small Dia_h - \text{analyzed bored hole diameter} \\ & \small Rt - \text{maximum bored hole depth to diameter ratio} \end{aligned} \]
Default value for this ratio is 4.
double cadex::DFMMachining_TurningAnalyzerParameters::MaxFaceInclineAngle | ( | ) | const |
Returns maximum turning face incline angle (relative to the Axis()) in radians used in outer diameter profile relief analysis.
The turning face counts as an issue, if it fails the following condition:
\[ \large ANG_f \leq ang_m \]
\[ \begin{aligned} & \small ANG_f - \text{turning face incline angle} \\ & \small ang_m - \text{maximum turning face incline angle} \end{aligned} \]
Default value is 1.0122909 (58 deg).
double cadex::DFMMachining_TurningAnalyzerParameters::MaxTurnedPartLengthToMinDiameterRatio | ( | ) | const |
Returns maximum turned part length to minimum diameter ratio used in long-slender turned part analysis.
The turned part counts as an issue, if it fails the following condition:
\[ \large L_p \leq dia_p * Rt \]
\[ \begin{aligned} & \small L_p - \text{analyzed turned part length} \\ & \small dia_p - \text{analyzed turned part minimum diameter} \\ & \small Rt - \text{maximum turned part length to minimum diameter ratio} \end{aligned} \]
Default value for this ratio is 8.
const DFMMachining_TurnedPartSize & cadex::DFMMachining_TurningAnalyzerParameters::MaxTurnedPartSize | ( | ) | const |
Returns maximum turned part size used in turned part size analysis.
The turned part counts as an issue, if it fails the following condition:
\[ \large L_p \leq l_m \quad \text{and} \quad R_p \leq r_m \]
\[ \begin{aligned} & \small L_p - \text{analyzed turned part length} \\ & \small R_p - \text{analyzed turned part radius} \\ & \small l_m - \text{maximum turned part length} \\ & \small r_m - \text{maximum turned part radius} \end{aligned} \]
Default maximum length is 250. Default maximum radius is 1000.
double cadex::DFMMachining_TurningAnalyzerParameters::MinBlindBoredHoleReliefDepthToDiameterRatio | ( | ) | const |
Returns minimum blind bored hole relief depth to diameter ratio used in blind bored hole relief analysis.
The blind bored hole of turned part counts as an issue, if it fails the following condition:
\[ \large D_r \geq Dia_h * Rt \]
\[ \begin{aligned} & \small D_r - \text{analyzed blind bored hole relief depth} \\ & \small Dia_h - \text{analyzed blind bored hole diameter} \\ & \small Rt - \text{minimum blind bored hole relief depth to diameter ratio} \end{aligned} \]
Default value for this ratio is 0.1.
double cadex::DFMMachining_TurningAnalyzerParameters::MinTurnedPartInternalCornerRadius | ( | ) | const |
Returns minimum turned part internal corner radius in mm used to in turned part internal corner analysis.
The internal corner counts as an issue, if it fails the following condition:
\[ \large R_c \geq r_m \]
\[ \begin{aligned} & \small R_c - \text{analyzed turned part internal corner radius} \\ & \small r_m - \text{minimum turned part internal corner radius} \end{aligned} \]
Default value for this ratio is 5.
void cadex::DFMMachining_TurningAnalyzerParameters::SetAxis | ( | const Geom::Axis1d & | theAxis | ) |
Sets turning axis.
void cadex::DFMMachining_TurningAnalyzerParameters::SetMaxBoredHoleDepthToDiameterRatio | ( | double | theRatio | ) |
Sets maximum bored hole depth to diameter ratio. theRatio should be greater or equal to zero.
void cadex::DFMMachining_TurningAnalyzerParameters::SetMaxFaceInclineAngle | ( | double | theAngle | ) |
Sets maximum turning face incline angle in radians. theAngle should be greater than zero.
void cadex::DFMMachining_TurningAnalyzerParameters::SetMaxTurnedPartLengthToMinDiameterRatio | ( | double | theRatio | ) |
Sets maximum turned part length to minimum diameter ratio. theRatio should be greater than zero.
void cadex::DFMMachining_TurningAnalyzerParameters::SetMaxTurnedPartSize | ( | const DFMMachining_TurnedPartSize & | theTurnedPartSize | ) |
Sets maximum turned part size.
void cadex::DFMMachining_TurningAnalyzerParameters::SetMinBlindBoredHoleReliefDepthToDiameterRatio | ( | double | theRatio | ) |
Sets minimum blind bored hole relief depth to diameter ratio. theRatio should be greater or equal to 0, less or equal to 1.
void cadex::DFMMachining_TurningAnalyzerParameters::SetMinTurnedPartInternalCornerRadius | ( | double | theValue | ) |
Sets minimum turned part internal corner radius in mm . theValue should be greater or equal to zero.