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

Describes a base class for small distance between bosses issues found during molding design analysis. More...

Inheritance diagram for cadex::DFMMolding_SmallDistanceBetweenBossesIssue:
cadex::DFMBase_Issue cadex::MTKBase_Feature

Public Types

typedef cadex::internal::DFMMoldingImpl_SmallDistanceBetweenBossesIssue ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::DFMBase_Issue
typedef cadex::internal::DFMBaseImpl_Issue ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::MTKBase_Feature
typedef cadex::internal::MTKBaseImpl_Feature ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 

Public Member Functions

 DFMMolding_SmallDistanceBetweenBossesIssue (const MTKBase_Boss &theFirstBoss, const MTKBase_Boss &theSecondBoss)
 
double ExpectedMinDistanceBetweenBossesToThicknessRatio () const
 
void SetExpectedMinDistanceBetweenBossesToThicknessRatio (double theRatio)
 
double ExpectedMinDistanceBetweenBosses () const
 
void SetExpectedMinDistanceBetweenBosses (double theDistance)
 
double ActualDistanceBetweenBosses () const
 
void SetActualDistanceBetweenBosses (double theDistance)
 
const MTKBase_BossFirstBoss () const
 
void SetFirstBoss (const MTKBase_Boss &theBoss)
 
const MTKBase_BossSecondBoss () const
 
void SetSecondBoss (const MTKBase_Boss &theBoss)
 
- Public Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature ()
 Constructor.
 
 ~MTKBase_Feature ()
 Destructor.
 
void Nullify ()
 
bool IsNull () const
 
 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.
 
bool operator== (const MTKBase_Feature &theObject) const
 
bool operator!= (const MTKBase_Feature &theObject) const
 

Static Public Member Functions

static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a dfm molding small distance between bosses issue.
 
- Static Public Member Functions inherited from cadex::DFMBase_Issue
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a dfm issue.
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::DFMBase_Issue
 DFMBase_Issue (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes a base class for small distance between bosses issues found during molding design analysis.

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

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

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

See also
DFMMolding_Analyzer, DFMMolding_AnalyzerParameters
Examples
MTKConverter/Program.cs, MTKConverter/main.cxx, molding/dfm_analyzer/Program.cs, and molding/dfm_analyzer/main.cxx.

Member Function Documentation

◆ ActualDistanceBetweenBosses()

double cadex::DFMMolding_SmallDistanceBetweenBossesIssue::ActualDistanceBetweenBosses ( ) const

Returns the actual distance between bosses in mm .

See also
SetActualDistanceToThicknessRatio(), FirstBoss(), SecondBoss()
Examples
MTKConverter/Program.cs, and molding/dfm_analyzer/Program.cs.

◆ ExpectedMinDistanceBetweenBosses()

double cadex::DFMMolding_SmallDistanceBetweenBossesIssue::ExpectedMinDistanceBetweenBosses ( ) const

Returns expected minimum distance between bosses in mm .

\[ \large D_e = T \times R \]

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

See also
ExpectedMinDistanceToThicknessRatio(), ActualDistanceBetweenBosses()
Examples
MTKConverter/Program.cs, and molding/dfm_analyzer/Program.cs.

◆ ExpectedMinDistanceBetweenBossesToThicknessRatio()

double cadex::DFMMolding_SmallDistanceBetweenBossesIssue::ExpectedMinDistanceBetweenBossesToThicknessRatio ( ) const

Returns expected minimum distance between bosses to nominal thickness ratio.

See also
SetExpectedMinDistanceToThicknessRatio()

◆ FirstBoss()

const MTKBase_Boss & cadex::DFMMolding_SmallDistanceBetweenBossesIssue::FirstBoss ( ) const

Returns first problematic boss.

See also
SetFirstBoss()
Examples
MTKConverter/Program.cs.

◆ SecondBoss()

const MTKBase_Boss & cadex::DFMMolding_SmallDistanceBetweenBossesIssue::SecondBoss ( ) const

Returns second problematic Boss.

See also
SetSecondBoss()
Examples
MTKConverter/Program.cs.

◆ SetActualDistanceBetweenBosses()

void cadex::DFMMolding_SmallDistanceBetweenBossesIssue::SetActualDistanceBetweenBosses ( double theDistance)

Sets the actual distance between bosses in mm. theDistance should be greater than zero.

See also
ActualDistanceBetweenBosses()

◆ SetExpectedMinDistanceBetweenBosses()

void cadex::DFMMolding_SmallDistanceBetweenBossesIssue::SetExpectedMinDistanceBetweenBosses ( double theDistance)

Sets the actual distance between bosses in mm. theDistance should be greater than zero.

See also
ActualDistanceBetweenBosses()

◆ SetExpectedMinDistanceBetweenBossesToThicknessRatio()

void cadex::DFMMolding_SmallDistanceBetweenBossesIssue::SetExpectedMinDistanceBetweenBossesToThicknessRatio ( double theRatio)

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

See also
ExpectedMinDistanceToThicknessRatio()

◆ SetFirstBoss()

void cadex::DFMMolding_SmallDistanceBetweenBossesIssue::SetFirstBoss ( const MTKBase_Boss & theBoss)

Sets first problematic boss.

See also
FirstBoss()

◆ SetSecondBoss()

void cadex::DFMMolding_SmallDistanceBetweenBossesIssue::SetSecondBoss ( const MTKBase_Boss & theBoss)

Sets second problematic Boss.

See also
SecondBoss()