Hide menu
Loading...
Searching...
No Matches
cadex::DFMMachining_TurningAnalyzerParameters Class Reference

Defines parameters used in cnc machining turning design analysis. More...

Inheritance diagram for cadex::DFMMachining_TurningAnalyzerParameters:
cadex::DFMMachining_BaseAnalyzerParameters

Public Member Functions

 DFMMachining_TurningAnalyzerParameters ()
 Constructor.
 
const DFMMachining_TurnedPartSizeMaxTurnedPartSize () 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 ModelData_Axis1PlacementAxis () const
 
void SetAxis (const ModelData_Axis1Placement &theAxis)
 
- 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 turning 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
 

Detailed Description

Defines parameters used in cnc machining turning 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_TurningAnalyzerParameters()

cadex::DFMMachining_TurningAnalyzerParameters::DFMMachining_TurningAnalyzerParameters ( )

Constructor.

Sets default parameter values.

Member Function Documentation

◆ Axis()

const ModelData_Axis1Placement & cadex::DFMMachining_TurningAnalyzerParameters::Axis ( ) const

Returns turning axis.

See also
IsAxisDefined(), SetAxis()

◆ IsAxisDefined()

bool cadex::DFMMachining_TurningAnalyzerParameters::IsAxisDefined ( ) const

Returns true if turning axis is determined.

See also
Axis(), SetAxis()

◆ MaxBoredHoleDepthToDiameterRatio()

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.

See also
SetMaxBoredHoleDepthToDiameterRatio(), DFMMachining_DeepBoredHoleIssue

◆ MaxFaceInclineAngle()

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

See also
SetMaxFaceInclineAngle(), DFMMachining_IrregularTurnedPartOuterDiameterProfileReliefIssue

◆ MaxTurnedPartLengthToMinDiameterRatio()

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.

See also
SetMaxTurnedPartLengthToMinDiameterRatio(), DFMMachining_LongSlenderTurnedPartIssue

◆ MaxTurnedPartSize()

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.

See also
SetMaxTurnedPartSize(), DFMMachining_LargeTurnedPartIssue, DFMMachining_TurnedPartSize

◆ MinBlindBoredHoleReliefDepthToDiameterRatio()

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.

See also
SetMinBlindBoredHoleReliefDepthToDiameterRatio(), DFMMachining_SmallDepthBlindBoredHoleReliefIssue

◆ MinTurnedPartInternalCornerRadius()

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.

See also
SetMinTurnedPartInternalCornerRadius(), DFMMachining_SmallRadiusTurnedPartInternalCornerIssue

◆ SetAxis()

void cadex::DFMMachining_TurningAnalyzerParameters::SetAxis ( const ModelData_Axis1Placement theAxis)

Sets turning axis.

See also
IsAxisDefined(), Axis()

◆ SetMaxBoredHoleDepthToDiameterRatio()

void cadex::DFMMachining_TurningAnalyzerParameters::SetMaxBoredHoleDepthToDiameterRatio ( double  theRatio)

Sets maximum bored hole depth to diameter ratio. theRatio should be greater or equal to zero.

See also
MaxBoredHoleDepthToDiameterRatio()

◆ SetMaxFaceInclineAngle()

void cadex::DFMMachining_TurningAnalyzerParameters::SetMaxFaceInclineAngle ( double  theAngle)

Sets maximum turning face incline angle in radians. theAngle should be greater than zero.

See also
MaxFaceInclineAngle()

◆ SetMaxTurnedPartLengthToMinDiameterRatio()

void cadex::DFMMachining_TurningAnalyzerParameters::SetMaxTurnedPartLengthToMinDiameterRatio ( double  theRatio)

Sets maximum turned part length to minimum diameter ratio. theRatio should be greater than zero.

See also
MaxTurnedPartLengthToMinDiameterRatio()

◆ SetMaxTurnedPartSize()

void cadex::DFMMachining_TurningAnalyzerParameters::SetMaxTurnedPartSize ( const DFMMachining_TurnedPartSize theTurnedPartSize)

Sets maximum turned part size.

See also
MaxTurnedPartSize()

◆ SetMinBlindBoredHoleReliefDepthToDiameterRatio()

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.

See also
MinBlindBoredHoleReliefDepthToDiameterRatio()

◆ SetMinTurnedPartInternalCornerRadius()

void cadex::DFMMachining_TurningAnalyzerParameters::SetMinTurnedPartInternalCornerRadius ( double  theValue)

Sets minimum turned part internal corner radius in mm . theValue should be greater or equal to zero.

See also
MinTurnedPartInternalCornerRadius()