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

Defines parameters used in injection molding design analysis. More...

Public Member Functions

 DFMMolding_AnalyzerParameters ()
 Constructor.
 
double MinRibDraftAngle () const
 Returns minimum rib draft angle in radians used in rib analysis.
 
void SetMinRibDraftAngle (double theDraftAngle)
 
double MaxRibHeightToThicknessRatio () const
 Returns maximum rib height to thickness ratio used in rib analysis.
 
void SetMaxRibHeightToThicknessRatio (double theRatio)
 
double MinCoreToOuterDiameterRatio () const
 Returns minimum core hole diameter to outer diameter ratio used in screw boss analysis.
 
void SetMinCoreToOuterDiameterRatio (double theRatio)
 
double MaxCoreToOuterDiameterRatio () const
 Returns maximum boss core hole diameter to outer diameter ratio used in screw boss analysis.
 
void SetMaxCoreToOuterDiameterRatio (double theRatio)
 
double MinScrewBossDraftAngle () const
 Returns minimum screw boss draft angle in radians used in screw boss analysis.
 
void SetMinScrewBossDraftAngle (double theDraftAngle)
 
double MaxHeightToThicknessRatio () const
 Returns maximum boss height to thickness ratio used in screw boss analysis.
 
void SetMaxHeightToThicknessRatio (double theRatio)
 
double MaxWallThickness () const
 Returns maximum wall thickness used in wall thickness analysis.
 
void SetMaxWallThickness (double theThickness)
 
double MinWallThickness () const
 Returns minimum wall thickness used in wall thickness analysis.
 
void SetMinWallThickness (double theThickness)
 
double AverageWallThicknessDeviationPercent () const
 Returns average wall thickness deviation percent used in wall thickness analysis.
 
void SetAverageWallThicknessDeviationPercent (double thePercent)
 
double MaxScrewBossThicknessToWallThicknessRatio () const
 Returns maximum screw boss thickness to wall thickness ratio used in screw boss analysis.
 
void SetMaxScrewBossThicknessToWallThicknessRatio (double theRatio)
 
double MinScrewBossThicknessToWallThicknessRatio () const
 Returns minimum screw boss thickness to wall thickness ratio used in screw boss analysis.
 
void SetMinScrewBossThicknessToWallThicknessRatio (double theRatio)
 
double MinScrewBossBaseRadiusToWallThicknessRatio () const
 Returns minimum screw boss base radius to wall thickness ratio used in screw boss analysis.
 
void SetMinScrewBossBaseRadiusToWallThicknessRatio (double theRatio)
 
double MinScrewBossHoleBaseRadiusToWallThicknessRatio () const
 Returns minimum screw boss hole base radius to wall thickness ratio used in screw boss analysis.
 
void SetMinScrewBossHoleBaseRadiusToWallThicknessRatio (double theRatio)
 
double MinRibBaseRadiusToWallThicknessRatio () const
 Returns minimum rib base radius to wall thickness ratio used in rib analysis.
 
void SetMinRibBaseRadiusToWallThicknessRatio (double theRatio)
 
double MinDistanceBetweenRibsToWallThicknessRatio () const
 Returns minimum distance between ribs to wall thickness ratio used in rib analysis.
 
void SetMinDistanceBetweenRibsToWallThicknessRatio (double theRatio)
 
double MaxRibThicknessToWallThicknessRatio () const
 Returns maximum rib thickness to wall thickness ratio used in rib analysis.
 
void SetMaxRibThicknessToWallThicknessRatio (double theRatio)
 
double MinRibThicknessToWallThicknessRatio () const
 Returns minimum rib thickness to wall thickness ratio used in rib analysis.
 
void SetMinRibThicknessToWallThicknessRatio (double theRatio)
 
size_t WallThicknessResolution () const
 
void SetWallThicknessResolution (size_t theResolution)
 
double MinWallDraftAngle () const
 Returns minimum wall draft angle in radians used in molding analysis.
 
void SetMinWallDraftAngle (double theDraftAngle)
 
double MinDistanceBetweenBossesToThicknessRatio () const
 
void SetMinDistanceBetweenBossesToThicknessRatio (double theRatio)
 

Protected Attributes

std::shared_ptr< internal::DFMMoldingImpl_AnalyzerParameters > myImpl
 

Detailed Description

Defines parameters used in injection molding design analysis.

Contains parameters used by DFMMolding_Analyzer during design analysis checks.

Examples
molding/dfm_analyzer/Program.cs, and molding/dfm_analyzer/main.cxx.

Constructor & Destructor Documentation

◆ DFMMolding_AnalyzerParameters()

cadex::DFMMolding_AnalyzerParameters::DFMMolding_AnalyzerParameters ( )

Constructor.

Sets default parameter values.

Member Function Documentation

◆ AverageWallThicknessDeviationPercent()

double cadex::DFMMolding_AnalyzerParameters::AverageWallThicknessDeviationPercent ( ) const

Returns average wall thickness deviation percent used in wall thickness analysis.

The wall counts as an issue, if it fails the following condition:

\[ \frac{\mid D - D_{avg} \mid}{D_{avg}} \leq U_D \]

\[ \begin{aligned} & \small D - \text{wall thickness} \\ & \small D_{avg} - \text{average thickness} \\ & \small U_D - \text{uniform wallthickness percent} \\ \end{aligned} \]

Default value for uniform wall thickness percent is 0.2.

The average thickness is determined by the median thickness value.

See also
SetAverageWallThicknessDeviationPercent(), DFMMolding_IrregularWallThicknessIssue

◆ MaxCoreToOuterDiameterRatio()

double cadex::DFMMolding_AnalyzerParameters::MaxCoreToOuterDiameterRatio ( ) const

Returns maximum boss core hole diameter to outer diameter ratio used in screw boss analysis.

The screw boss counts as an issue, if it fails the following condition:

\[ \large \frac{D_h}{D_b} \leq R_{max} \]

\[ \begin{aligned} & \small D_h - \text{analyzed boss core hole diameter} \\ & \small D_b - \text{analyzed boss outer diameter} \\ & \small R_{max} - \text{maximum boss core hole to outer diameter ratio} \\ \end{aligned} \]

Default value for this ratio is 0.5 .

See also
SetMaxCoreToOuterDiameterRatio(), MinCoreToOuterDiameterRatio(), DFMMolding_IrregularCoreDiameterScrewBossIssue, Molding_ScrewBoss

◆ MaxHeightToThicknessRatio()

double cadex::DFMMolding_AnalyzerParameters::MaxHeightToThicknessRatio ( ) const

Returns maximum boss height to thickness ratio used in screw boss analysis.

The screw boss counts as an issue, if it fails the following condition:

\[ \large H_b \leq T_b * R \]

\[ \begin{aligned} & \small H_b - \text{analyzed boss height} \\ & \small T_b - \text{analyzed boss thickness} \\ & \small R - \text{maximum boss height to thickness ratio} \\ \end{aligned} \]

Default value for this ratio is 1.5 .

See also
SetMaxHeightToThicknessRatio(), DFMMolding_HighScrewBossIssue, Molding_ScrewBoss

◆ MaxRibHeightToThicknessRatio()

double cadex::DFMMolding_AnalyzerParameters::MaxRibHeightToThicknessRatio ( ) const

Returns maximum rib height to thickness ratio used in rib analysis.

The rib counts as an issue, if it fails the following condition:

\[ \large H_r \leq T_r * R \]

\[ \begin{aligned} & \small H_r - \text{analyzed rib height} \\ & \small T_r - \text{analyzed rib thickness} \\ & \small R - \text{maximum rib height to thickness ratio} \\ \end{aligned} \]

Default value for this ratio is 3 .

See also
SetMaxRibHeightToThicknessRatio(), DFMMolding_HighRibIssue, Molding_Rib

◆ MaxRibThicknessToWallThicknessRatio()

double cadex::DFMMolding_AnalyzerParameters::MaxRibThicknessToWallThicknessRatio ( ) const

Returns maximum rib thickness to wall thickness ratio used in rib analysis.

The rib counts as an issue, if it fails the following condition:

\[ \frac{T_r}{T_w} \leq R_{max} \]

\[ \begin{aligned} & \small T_r - \text{analyzed rib thickness} \\ & \small T_w - \text{wall thickness} \\ & \small R_{max} - \text{maximum thickness to wall thickness ratio} \\ \end{aligned} \]

Default value for maximum rib thickness to wall thickness ratio is 0.6 .

See also
SetMaxRibThicknessToWallThicknessRatio(),

◆ MaxScrewBossThicknessToWallThicknessRatio()

double cadex::DFMMolding_AnalyzerParameters::MaxScrewBossThicknessToWallThicknessRatio ( ) const

Returns maximum screw boss thickness to wall thickness ratio used in screw boss analysis.

The screw boss counts as an issue, if it fails the following condition:

\[ \frac{D_b-D_h}{T_n} \leq R_{max} \]

\[ \begin{aligned} & \small D_b - \text{analyzed boss outer diameter} \\ & \small D_h - \text{analyzed boss core hole diameter} \\ & \small T_n - \text{nominal wall thickness} \\ & \small R_{max} - \text{maximal screw boss to wall thickness ratio} \\ \end{aligned} \]

Default value for maximum screw boss thickness to wall thickness ratio is 0.6 .

See also
SetMaxScrewBossThicknessToWallThicknessRatio(),

◆ MaxWallThickness()

double cadex::DFMMolding_AnalyzerParameters::MaxWallThickness ( ) const

Returns maximum wall thickness used in wall thickness analysis.

The wall counts as an issue, if it fails the following condition:

\[ D \leq D_{max} \]

\[ \begin{aligned} & \small D - \text{distance between two faces} \\ & \small D_{max} - \text{maximal expected distance} \\ \end{aligned} \]

Default value for maximal distance is 4.0 mm .

See also
SetMaxWallThickness(), DFMMolding_LargeWallThicknessIssue

◆ MinCoreToOuterDiameterRatio()

double cadex::DFMMolding_AnalyzerParameters::MinCoreToOuterDiameterRatio ( ) const

Returns minimum core hole diameter to outer diameter ratio used in screw boss analysis.

The screw boss counts as an issue, if it fails the following condition:

\[ \large R_{min} \leq \frac{D_h}{D_b} \]

\[ \begin{aligned} & \small D_h - \text{analyzed boss core hole diameter} \\ & \small D_b - \text{analyzed boss outer diameter} \\ & \small R_{min} - \text{minimum boss core hole to outer diameter ratio} \\ \end{aligned} \]

Default value for this ratio is 0.417 .

See also
SetMinCoreToOuterDiameterRatio(), MaxCoreToOuterDiameterRatio(), DFMMolding_IrregularCoreDiameterScrewBossIssue, Molding_ScrewBoss

◆ MinDistanceBetweenBossesToThicknessRatio()

double cadex::DFMMolding_AnalyzerParameters::MinDistanceBetweenBossesToThicknessRatio ( ) const

Returns minimum distance between bosses to nominal thickness ratio. Default value is 2.

See also
SetMinDistanceBetweenBossesToThicknessRatio()

◆ MinDistanceBetweenRibsToWallThicknessRatio()

double cadex::DFMMolding_AnalyzerParameters::MinDistanceBetweenRibsToWallThicknessRatio ( ) const

Returns minimum distance between ribs to wall thickness ratio used in rib analysis.

Contains problematic ribs, the distance between which fails the following condition:

\[ \large D \geq T \times R \]

\[ \begin{aligned} & \small D - \text{actual distance between ribs} \\ & \small T - \text{actual nominal thickness} \\ & \small R - \text{expected minimum distance between ribs to nominal thickness ratio} \\ \end{aligned} \]

Default value for minimum distance between ribs to wall thickness ratio is 2.0 .

See also
SetMinDistanceBetweenRibsToWallThicknessRatio(), DFMMolding_SmallDistanceBetweenRibsIssue

◆ MinRibBaseRadiusToWallThicknessRatio()

double cadex::DFMMolding_AnalyzerParameters::MinRibBaseRadiusToWallThicknessRatio ( ) const

Returns minimum rib base radius to wall thickness ratio used in rib analysis.

The rib counts as an issue, if it fails the following condition:

\[ \large \frac{R_b}{T} \geq R \]

\[ \begin{aligned} & \small R_b - \text{analyzed rib base radius} \\ & \small T - \text{wall thickness} \\ & \small R - \text{minimum rib base radius to wall thickness ratio} \\ \end{aligned} \]

Default value for minimum rib base radius to wall thickness ratio is 0.25 .

See also
SetMinRibBaseRadiusToWallThicknessRatio(), DFMMolding_SmallBaseRadiusRibIssue

◆ MinRibDraftAngle()

double cadex::DFMMolding_AnalyzerParameters::MinRibDraftAngle ( ) const

Returns minimum rib draft angle in radians used in rib analysis.

The rib counts as an issue, if it fails the following condition:

\[ \large A \geq Min A \]

\[ \begin{aligned} & \small A - \text{analyzed rib draft angle} \\ & \small Min A - \text{minimum rib draft angle} \\ \end{aligned} \]

Default value is 0.0087 radians.

See also
SetMinRibDraftAngle(), DFMMolding_SmallDraftAngleRibIssue, Molding_Rib

◆ MinRibThicknessToWallThicknessRatio()

double cadex::DFMMolding_AnalyzerParameters::MinRibThicknessToWallThicknessRatio ( ) const

Returns minimum rib thickness to wall thickness ratio used in rib analysis.

The rib counts as an issue, if it fails the following condition:

\[ \frac{T_r}{T_w} \geq R_{min} \]

\[ \begin{aligned} & \small T_r - \text{analyzed rib thickness} \\ & \small T_w - \text{wall thickness} \\ & \small R_{in} - \text{minimum thickness to wall thickness ratio} \\ \end{aligned} \]

Default value for minimum rib to wall thickness ratio is 0.4 .

See also
SetMinRibThicknessToWallThicknessRatio(), DFMMolding_IrregularWallThicknessRibIssue

◆ MinScrewBossBaseRadiusToWallThicknessRatio()

double cadex::DFMMolding_AnalyzerParameters::MinScrewBossBaseRadiusToWallThicknessRatio ( ) const

Returns minimum screw boss base radius to wall thickness ratio used in screw boss analysis.

The screw boss counts as an issue, if it fails the following condition:

\[ \large \frac{R_b}{T} \geq R \]

\[ \begin{aligned} & \small R_b - \text{analyzed boss base radius} \\ & \small T - \text{wall thickness} \\ & \small R - \text{minimum boss base radius to wall thickness ratio} \\ \end{aligned} \]

Default value for minimum screw boss base radius to wall thickness ratio is 0.25 .

See also
SetMinScrewBossBaseRadiusToWallThicknessRatio(), DFMMolding_SmallBaseRadiusScrewBossIssue

◆ MinScrewBossDraftAngle()

double cadex::DFMMolding_AnalyzerParameters::MinScrewBossDraftAngle ( ) const

Returns minimum screw boss draft angle in radians used in screw boss analysis.

The screw boss counts as an issue, if it fails the following condition:

\[ \large A \geq Min A \]

\[ \begin{aligned} & \small A - \text{analyzed screw boss draft angle} \\ & \small Min A - \text{minimum screw boss draft angle} \\ \end{aligned} \]

Default value is 0.0087 radians.

See also
SetMinScrewBossDraftAngle(), DFMMolding_SmallDraftAngleScrewBossIssue, Molding_ScrewBoss

◆ MinScrewBossHoleBaseRadiusToWallThicknessRatio()

double cadex::DFMMolding_AnalyzerParameters::MinScrewBossHoleBaseRadiusToWallThicknessRatio ( ) const

Returns minimum screw boss hole base radius to wall thickness ratio used in screw boss analysis.

The screw boss counts as an issue, if it fails the following condition:

\[ \large \frac{R_b}{T} \geq R \]

\[ \begin{aligned} & \small R_b - \text{hole base radius in analyzed boss} \\ & \small T - \text{wall thickness} \\ & \small R - \text{minimum hole base radius to wall thickness ratio} \\ \end{aligned} \]

Default value for minimum screw boss to wall thickness ratio is 0.25 .

See also
SetMinScrewBossHoleBaseRadiusToWallThicknessRatio(), DFMMolding_SmallHoleBaseRadiusScrewBossIssue

◆ MinScrewBossThicknessToWallThicknessRatio()

double cadex::DFMMolding_AnalyzerParameters::MinScrewBossThicknessToWallThicknessRatio ( ) const

Returns minimum screw boss thickness to wall thickness ratio used in screw boss analysis.

The screw boss counts as an issue, if it fails the following condition:

\[ \frac{D_b-D_h}{T_n} \geq R_{min} \]

\[ \begin{aligned} & \small D_b - \text{analyzed boss outer diameter} \\ & \small D_h - \text{analyzed boss core hole diameter} \\ & \small T_n - \text{nominal wall thickness} \\ & \small R_{min} - \text{minimal screw boss to wall thickness ratio} \\ \end{aligned} \]

Default value for minimum screw boss to wall thickness ratio is 0.4 .

See also
SetMinScrewBossThicknessToWallThicknessRatio(), DFMMolding_IrregularWallThicknessScrewBossIssue

◆ MinWallDraftAngle()

double cadex::DFMMolding_AnalyzerParameters::MinWallDraftAngle ( ) const

Returns minimum wall draft angle in radians used in molding analysis.

The wall counts as an issue, if it fails the following condition:

\[ \large A \geq Min A \]

\[ \begin{aligned} & \small A - \text{analyzed wall draft angle} \\ & \small Min A - \text{minimum wall draft angle} \\ \end{aligned} \]

Default value is 0.01745 radians.

See also
SetMinWallDraftAngle(), DFMMolding_SmallDraftAngleWallIssue

◆ MinWallThickness()

double cadex::DFMMolding_AnalyzerParameters::MinWallThickness ( ) const

Returns minimum wall thickness used in wall thickness analysis.

The wall counts as an issue, if it fails the following condition:

\[ D \geq D_{min} \]

\[ \begin{aligned} & \small D - \text{distance between two faces} \\ & \small D_{min} - \text{minimal expected distance} \\ \end{aligned} \]

Default value for minimal distance is 1.0 mm .

See also
SetMinWallThickness(), DFMMolding_SmallWallThicknessIssue

◆ SetAverageWallThicknessDeviationPercent()

void cadex::DFMMolding_AnalyzerParameters::SetAverageWallThicknessDeviationPercent ( double thePercent)

Sets average wall thickness deviation percent. the thickness should be in the [0, 1] range.

See also
AverageWallThicknessDeviationPercent()

◆ SetMaxCoreToOuterDiameterRatio()

void cadex::DFMMolding_AnalyzerParameters::SetMaxCoreToOuterDiameterRatio ( double theRatio)

Sets maximum boss core hole diameter to outer diameter ratio. theRatio should be greater then zero.

See also
MaxCoreToOuterDiameterRatio()

◆ SetMaxHeightToThicknessRatio()

void cadex::DFMMolding_AnalyzerParameters::SetMaxHeightToThicknessRatio ( double theRatio)

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

See also
MaxHeightToThicknessRatio()

◆ SetMaxRibHeightToThicknessRatio()

void cadex::DFMMolding_AnalyzerParameters::SetMaxRibHeightToThicknessRatio ( double theRatio)

Sets maximum rib height to thickness ratio. theRatio should be greater then zero.

See also
MaxRibHeightToThicknessRatio()

◆ SetMaxRibThicknessToWallThicknessRatio()

void cadex::DFMMolding_AnalyzerParameters::SetMaxRibThicknessToWallThicknessRatio ( double theRatio)

Sets maximal rib thickness to wall thickness ratio. the thickness should be in the [0, 1] range.

See also
MaxRibThicknessToWallThicknessRatio()

◆ SetMaxScrewBossThicknessToWallThicknessRatio()

void cadex::DFMMolding_AnalyzerParameters::SetMaxScrewBossThicknessToWallThicknessRatio ( double theRatio)

Sets maximal screw boss thickness to wall thickness ratio. the thickness should be in the [0, 1] range.

See also
MaxScrewBossThicknessToWallThicknessRatio()

◆ SetMaxWallThickness()

void cadex::DFMMolding_AnalyzerParameters::SetMaxWallThickness ( double theThickness)

Sets maximum wall thickness. the thickness should be greater than zero.

See also
MaxWallThickness()

◆ SetMinCoreToOuterDiameterRatio()

void cadex::DFMMolding_AnalyzerParameters::SetMinCoreToOuterDiameterRatio ( double theRatio)

Sets minimum boss outer diameter to core hole diameter ratio. theRatio should be greater then zero.

See also
MinCoreToOuterDiameterRatio()

◆ SetMinDistanceBetweenBossesToThicknessRatio()

void cadex::DFMMolding_AnalyzerParameters::SetMinDistanceBetweenBossesToThicknessRatio ( double theRatio)

Sets minimum distance between bosses to nominal thickness ratio. theDistance should be greater than zero.

See also
MinDistanceBetweenBossesToThicknessRatio()

◆ SetMinDistanceBetweenRibsToWallThicknessRatio()

void cadex::DFMMolding_AnalyzerParameters::SetMinDistanceBetweenRibsToWallThicknessRatio ( double theRatio)

Sets minimum distance between ribs to wall thickness ratio. theRatio should be greater than or equal to zero.

See also
MinDistanceBetweenRibsToWallThicknessRatio()

◆ SetMinRibBaseRadiusToWallThicknessRatio()

void cadex::DFMMolding_AnalyzerParameters::SetMinRibBaseRadiusToWallThicknessRatio ( double theRatio)

Sets minimal rib base radius to wall thickness ratio. theRatio should be in the [0, 1] range.

See also
MinRibBaseRadiusToWallThicknessRatio()

◆ SetMinRibDraftAngle()

void cadex::DFMMolding_AnalyzerParameters::SetMinRibDraftAngle ( double theDraftAngle)

Sets minimum rib draft angle. theDraftAngle should be greater than or equal to zero.

See also
MinRibDraftAngle()

◆ SetMinRibThicknessToWallThicknessRatio()

void cadex::DFMMolding_AnalyzerParameters::SetMinRibThicknessToWallThicknessRatio ( double theRatio)

Sets minimal rib thickness to wall thickness ratio. the ratio should be in the [0, 1] range.

See also
MinRibThicknessToWallThicknessRatio()

◆ SetMinScrewBossBaseRadiusToWallThicknessRatio()

void cadex::DFMMolding_AnalyzerParameters::SetMinScrewBossBaseRadiusToWallThicknessRatio ( double theRatio)

Sets minimal screw boss base radius to wall thickness ratio. theRatio should be in the [0, 1] range.

See also
MinScrewBossBaseRadiusToWallThicknessRatio()

◆ SetMinScrewBossDraftAngle()

void cadex::DFMMolding_AnalyzerParameters::SetMinScrewBossDraftAngle ( double theDraftAngle)

Sets minimum screw boss draft angle. theDraftAngle should be greater than or equal to zero.

See also
MinScrewBossDraftAngle()

◆ SetMinScrewBossHoleBaseRadiusToWallThicknessRatio()

void cadex::DFMMolding_AnalyzerParameters::SetMinScrewBossHoleBaseRadiusToWallThicknessRatio ( double theRatio)

Sets minimal screw boss hole base radius to wall thickness ratio. the ratio should be in the [0, 1] range.

See also
MinScrewBossHoleBaseRadiusToWallThicknessRatio()

◆ SetMinScrewBossThicknessToWallThicknessRatio()

void cadex::DFMMolding_AnalyzerParameters::SetMinScrewBossThicknessToWallThicknessRatio ( double theRatio)

Sets minimal screw boss thickness to wall thickness ratio. the ratio should be in the [0, 1] range.

See also
MinScrewBossThicknessToWallThicknessRatio()

◆ SetMinWallDraftAngle()

void cadex::DFMMolding_AnalyzerParameters::SetMinWallDraftAngle ( double theDraftAngle)

Sets minimum wall draft angle. theDraftAngle should be greater than or equal to zero.

See also
MinWallDraftAngle()

◆ SetMinWallThickness()

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

Sets minimum wall thickness. the thickness should be greater than zero.

See also
MinWallThickness()

◆ SetWallThicknessResolution()

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

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

See also
WallThicknessResolution()

◆ WallThicknessResolution()

size_t cadex::DFMMolding_AnalyzerParameters::WallThicknessResolution ( ) const

Returns resolution for wall thickness analysis. Default value for wall thickness resolution is 500.

See also
WallThicknessResolution()