Describes a base class for small distance between bosses issues found during molding design analysis. More...
Public Types | |
typedef cadex::internal::DFMMoldingImpl_SmallDistanceBetweenBossesIssue | ImplType |
typedef std::shared_ptr< ImplType > | ImplPtrType |
![]() | |
typedef cadex::internal::DFMBaseImpl_Issue | ImplType |
typedef std::shared_ptr< ImplType > | ImplPtrType |
![]() | |
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_Boss & | FirstBoss () const |
void | SetFirstBoss (const MTKBase_Boss &theBoss) |
const MTKBase_Boss & | SecondBoss () const |
void | SetSecondBoss (const MTKBase_Boss &theBoss) |
![]() | |
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 bool | CompareType (const MTKBase_Feature &theFeature) |
Returnstrue if theFeature is a dfm issue. | |
Additional Inherited Members | |
![]() | |
DFMBase_Issue (ImplPtrType theImpl) | |
Reserved for internal use. | |
![]() | |
MTKBase_Feature (ImplPtrType theImpl) | |
Reserved for internal use. | |
![]() | |
ImplPtrType | myImpl |
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} \]
double cadex::DFMMolding_SmallDistanceBetweenBossesIssue::ActualDistanceBetweenBosses | ( | ) | const |
Returns the actual distance between bosses in mm .
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} \]
double cadex::DFMMolding_SmallDistanceBetweenBossesIssue::ExpectedMinDistanceBetweenBossesToThicknessRatio | ( | ) | const |
Returns expected minimum distance between bosses to nominal thickness ratio.
const MTKBase_Boss & cadex::DFMMolding_SmallDistanceBetweenBossesIssue::FirstBoss | ( | ) | const |
const MTKBase_Boss & cadex::DFMMolding_SmallDistanceBetweenBossesIssue::SecondBoss | ( | ) | const |
void cadex::DFMMolding_SmallDistanceBetweenBossesIssue::SetActualDistanceBetweenBosses | ( | double | theDistance | ) |
Sets the actual distance between bosses in mm. theDistance should be greater than zero.
void cadex::DFMMolding_SmallDistanceBetweenBossesIssue::SetExpectedMinDistanceBetweenBosses | ( | double | theDistance | ) |
Sets the actual distance between bosses in mm. theDistance should be greater than zero.
void cadex::DFMMolding_SmallDistanceBetweenBossesIssue::SetExpectedMinDistanceBetweenBossesToThicknessRatio | ( | double | theRatio | ) |
Sets expected minimum distance between bosses to nominal thickness ratio. theRatio should be greater than zero.
void cadex::DFMMolding_SmallDistanceBetweenBossesIssue::SetFirstBoss | ( | const MTKBase_Boss & | theBoss | ) |
Sets first problematic boss.
void cadex::DFMMolding_SmallDistanceBetweenBossesIssue::SetSecondBoss | ( | const MTKBase_Boss & | theBoss | ) |
Sets second problematic Boss.