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 (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 DFMMachining_MillingAnalyzerParameters ()
 Constructor.
 
cadex.DFMBase_StandardSizeParameters MilledPartFloorRadiusStandardSizeParameters ()
 Returns reference to floor radius standard size parameters.
 
double MaxBossHeightToLengthAndWidthRatio ()
 
void SetMaxBossHeightToLengthAndWidthRatio (double theRatio)
 
double MaxPocketDepthToWidthRatio ()
 
void SetMaxPocketDepthToWidthRatio (double theRatio)
 
double MinRegionInPocketSize ()
 
void SetMinRegionInPocketSize (double theMinSize)
 
double MaxRegionsMaxToMinSizeRatio ()
 
void SetMaxRegionsMaxToMinSizeRatio (double theRatio)
 
double MaxMilledPartInternalCornerDepthToRadiusRatio ()
 
void SetMaxMilledPartInternalCornerDepthToRadiusRatio (double theRatio)
 
cadex.DFMMachining_MilledPartSize MaxMilledPartSize ()
 Returns maximum milled part size used in milled part size analysis.
 
void SetMaxMilledPartSize (cadex.DFMMachining_MilledPartSize theMilledPartSize)
 
bool IsAxisDefined ()
 
cadex.Geom.Axis1d Axis ()
 
void SetAxis (cadex.Geom.Axis1d theAxis)
 
bool IsWallThicknessAnalysisEnabled ()
 
void SetIsWallThicknessAnalysisEnabled (bool theValue)
 
double MinWallThickness ()
 
void SetMinWallThickness (double theThickness)
 
uint WallThicknessResolution ()
 
void SetWallThicknessResolution (uint theResolution)
 
- Public Member Functions inherited from cadex.DFMMachining_BaseAnalyzerParameters
 DFMMachining_BaseAnalyzerParameters (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 DFMMachining_BaseAnalyzerParameters ()
 Constructor.
 
bool IsNull ()
 Returns true if the object is null.
 

Static Public Member Functions

static bool CompareType (cadex.DFMMachining_BaseAnalyzerParameters theParameters)
 Returns true if theParameters are DFM machining milling analyzer parameters.
 
static cadex.DFMMachining_MillingAnalyzerParameters Cast (cadex.DFMMachining_BaseAnalyzerParameters theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 

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 ( )
inline

Constructor.

Sets default parameter values.

Member Function Documentation

◆ Axis()

cadex.Geom.Axis1d cadex.DFMMachining_MillingAnalyzerParameters.Axis ( )
inline

Returns z-axis.

See also
IsAxisDefined(), SetAxis()

◆ Dispose()

override void cadex.DFMMachining_MillingAnalyzerParameters.Dispose ( bool disposing)
inlineprotectedvirtual

◆ IsAxisDefined()

bool cadex.DFMMachining_MillingAnalyzerParameters.IsAxisDefined ( )
inline

Returns true if z-axis is determined.

See also
Axis(), SetAxis()

◆ IsWallThicknessAnalysisEnabled()

bool cadex.DFMMachining_MillingAnalyzerParameters.IsWallThicknessAnalysisEnabled ( )
inline

Returns true if wall thickness analysis is enabled during model processing.

The default value is false.

◆ MaxBossHeightToLengthAndWidthRatio()

double cadex.DFMMachining_MillingAnalyzerParameters.MaxBossHeightToLengthAndWidthRatio ( )
inline

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 ( )
inline

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

cadex.DFMMachining_MilledPartSize cadex.DFMMachining_MillingAnalyzerParameters.MaxMilledPartSize ( )
inline

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 ( )
inline

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 ( )
inline

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

cadex.DFMBase_StandardSizeParameters cadex.DFMMachining_MillingAnalyzerParameters.MilledPartFloorRadiusStandardSizeParameters ( )
inline

Returns reference to floor radius standard size parameters.

See also
MilledPartFloorRadiusStandardSizeParameters()

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 ( )
inline

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 ( )
inline

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 ( cadex.Geom.Axis1d theAxis)
inline

Sets z-axis.

See also
IsAxisDefined(), Axis()

◆ SetIsWallThicknessAnalysisEnabled()

void cadex.DFMMachining_MillingAnalyzerParameters.SetIsWallThicknessAnalysisEnabled ( bool theValue)
inline

Sets the flag whether to run wall thickness analysis during model processing.

Note
Wall thickness analysis can significantly increase execution time.
See also
IsWallThicknessAnalysisEnabled()

◆ SetMaxBossHeightToLengthAndWidthRatio()

void cadex.DFMMachining_MillingAnalyzerParameters.SetMaxBossHeightToLengthAndWidthRatio ( double theRatio)
inline

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

See also
MaxBossHeightToLengthAndWidthRatio()

◆ SetMaxMilledPartInternalCornerDepthToRadiusRatio()

void cadex.DFMMachining_MillingAnalyzerParameters.SetMaxMilledPartInternalCornerDepthToRadiusRatio ( double theRatio)
inline

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 ( cadex.DFMMachining_MilledPartSize theMilledPartSize)
inline

Sets maximum milled part size.

See also
MaxMilledPartSize()

◆ SetMaxPocketDepthToWidthRatio()

void cadex.DFMMachining_MillingAnalyzerParameters.SetMaxPocketDepthToWidthRatio ( double theRatio)
inline

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

See also
MaxPocketDepthToWidthRatio()

◆ SetMaxRegionsMaxToMinSizeRatio()

void cadex.DFMMachining_MillingAnalyzerParameters.SetMaxRegionsMaxToMinSizeRatio ( double theRatio)
inline

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

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

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

See also
MinWallThickness()

◆ SetWallThicknessResolution()

void cadex.DFMMachining_MillingAnalyzerParameters.SetWallThicknessResolution ( uint theResolution)
inline

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

See also
WallThicknessResolution()

◆ WallThicknessResolution()

uint cadex.DFMMachining_MillingAnalyzerParameters.WallThicknessResolution ( )
inline

Returns the resolution for the wall thickness analysis.

See also
SetWallThicknessResolution()