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

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

Inheritance diagram for cadex::DFMMachining_MillingAnalyzerParameters:
cadex::DFMMachining_BaseAnalyzerParameters

Public Member Functions

 DFMMachining_MillingAnalyzerParameters ()
 Constructor.
 
const DFMBase_StandardSizeParametersMilledPartFloorRadiusStandardSizeParameters () const
 Returns floor radius standard size parameters used in milled part floor radius analysis.
 
DFMBase_StandardSizeParametersMilledPartFloorRadiusStandardSizeParameters ()
 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_MilledPartSizeMaxMilledPartSize () const
 Returns maximum milled part size used in milled part size analysis.
 
void SetMaxMilledPartSize (const DFMMachining_MilledPartSize &theMilledPartSize)
 
bool IsAxisDefined () const
 
const Geom::Axis1dAxis () const
 
void SetAxis (const Geom::Axis1d &theAxis)
 
double MinWallThickness () const
 
void SetMinWallThickness (double theThickness)
 
size_t WallThicknessResolution () const
 
void SetWallThicknessResolution (size_t theResolution)
 
- 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 milling 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 milling 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_MillingAnalyzerParameters()

cadex::DFMMachining_MillingAnalyzerParameters::DFMMachining_MillingAnalyzerParameters ( )

Constructor.

Sets default parameter values.

Member Function Documentation

◆ Axis()

const Geom::Axis1d & cadex::DFMMachining_MillingAnalyzerParameters::Axis ( ) const

Returns z-axis.

See also
IsAxisDefined(), SetAxis()

◆ IsAxisDefined()

bool cadex::DFMMachining_MillingAnalyzerParameters::IsAxisDefined ( ) const

Returns true if z-axis is determined.

See also
Axis(), SetAxis()

◆ MaxBossHeightToLengthAndWidthRatio()

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.

See also
SetMaxBossHeightToLengthAndWidthRatio(), DFMMachining_HighBossIssue

◆ MaxMilledPartInternalCornerDepthToRadiusRatio()

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.

See also
SetMaxMilledPartInternalCornerDepthToRadiusRatio(), DFMMachining_SmallRadiusMilledPartInternalCornerIssue

◆ MaxMilledPartSize()

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.

See also
SetMaxMilledPartSize(), DFMMachining_LargeMilledPartIssue, DFMMachining_MilledPartSize

◆ MaxPocketDepthToWidthRatio()

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.

See also
SetMaxPocketDepthToWidthRatio(), DFMMachining_DeepPocketIssue

◆ MaxRegionsMaxToMinSizeRatio()

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.

See also
SetMaxRegionsMaxToMinSizeRatio(), DFMMachining_LargeDifferenceRegionsSizeInPocketIssue()

◆ MilledPartFloorRadiusStandardSizeParameters() [1/2]

DFMBase_StandardSizeParameters & cadex::DFMMachining_MillingAnalyzerParameters::MilledPartFloorRadiusStandardSizeParameters ( )

Returns reference to floor radius standard size parameters.

See also
MilledPartFloorRadiusStandardSizeParameters()

◆ MilledPartFloorRadiusStandardSizeParameters() [2/2]

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

See also
DFMMachining_NonStandardRadiusMilledPartFloorFilletIssue, DFMBase_StandardSizeParameters

◆ MinRegionInPocketSize()

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.

See also
SetMinRegionInPocketSize(), DFMMachining_NarrowRegionInPocketIssue()

◆ MinWallThickness()

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.

See also
SetMinWallThickness (), SetWallThicknessResolution (), DFMMachining_SmallWallThicknessIssue

◆ SetAxis()

void cadex::DFMMachining_MillingAnalyzerParameters::SetAxis ( const Geom::Axis1d & theAxis)

Sets z-axis.

See also
IsAxisDefined(), Axis()

◆ SetMaxBossHeightToLengthAndWidthRatio()

void cadex::DFMMachining_MillingAnalyzerParameters::SetMaxBossHeightToLengthAndWidthRatio ( double theRatio)

Sets maximum boss height to width ratio. theRatio should be greater than zero.

See also
MaxBossHeightToLengthAndWidthRatio()

◆ SetMaxMilledPartInternalCornerDepthToRadiusRatio()

void cadex::DFMMachining_MillingAnalyzerParameters::SetMaxMilledPartInternalCornerDepthToRadiusRatio ( double theRatio)

Sets maximum milled part internal corner depth to radius ratio. theRatio should be greater than zero.

See also
MaxMilledPartInternalCornerDepthToRadiusRatio()

◆ SetMaxMilledPartSize()

void cadex::DFMMachining_MillingAnalyzerParameters::SetMaxMilledPartSize ( const DFMMachining_MilledPartSize & theMilledPartSize)

Sets maximum milled part size.

See also
MaxMilledPartSize()

◆ SetMaxPocketDepthToWidthRatio()

void cadex::DFMMachining_MillingAnalyzerParameters::SetMaxPocketDepthToWidthRatio ( double theRatio)

Sets maximum pocket depth to width ratio. theRatio should be greater than zero.

See also
MaxPocketDepthToWidthRatio()

◆ SetMaxRegionsMaxToMinSizeRatio()

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.

See also
MaxRegionsMaxToMinSizeRatio()

◆ SetMinRegionInPocketSize()

void cadex::DFMMachining_MillingAnalyzerParameters::SetMinRegionInPocketSize ( double theMinSize)

Sets minimum size between feature and wall in a pocket. theMinSize should be greater than 0.

See also
MinRegionInPocketSize()

◆ SetMinWallThickness()

void cadex::DFMMachining_MillingAnalyzerParameters::SetMinWallThickness ( double theThickness)

Sets minimal wall thickness. theThickness should be greater than zero.

See also
MinWallThickness()

◆ SetWallThicknessResolution()

void cadex::DFMMachining_MillingAnalyzerParameters::SetWallThicknessResolution ( size_t theResolution)

Sets resolution for wall thickness analysis. theResolution should be greater than zero, recommended value 1000.

See also
WallThicknessResolution()