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

Describes a base class for small distance issues found during sheet metal design analysis. More...

Inheritance diagram for cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue:
cadex::DFMBase_Issue cadex::MTKBase_Feature cadex::DFMSheetMetal_SmallDistanceBetweenBendAndLouverIssue cadex::DFMSheetMetal_SmallDistanceBetweenExtrudedHoleAndBendIssue cadex::DFMSheetMetal_SmallDistanceBetweenExtrudedHoleAndEdgeIssue cadex::DFMSheetMetal_SmallDistanceBetweenExtrudedHolesIssue cadex::DFMSheetMetal_SmallDistanceBetweenHoleAndBendIssue cadex::DFMSheetMetal_SmallDistanceBetweenHoleAndCutoutIssue cadex::DFMSheetMetal_SmallDistanceBetweenHoleAndEdgeIssue cadex::DFMSheetMetal_SmallDistanceBetweenHoleAndLouverIssue cadex::DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue cadex::DFMSheetMetal_SmallDistanceBetweenHolesIssue cadex::DFMSheetMetal_SmallDistanceBetweenNotchAndBendIssue cadex::DFMSheetMetal_SmallDistanceBetweenNotchesIssue cadex::DFMSheetMetal_SmallDistanceBetweenTabsIssue

Public Types

typedef cadex::internal::DFMSheetMetalImpl_SmallDistanceBetweenFeaturesIssue 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

double ExpectedMinDistanceBetweenFeaturesToSheetThicknessRatio () const
 
void SetExpectedMinDistanceBetweenFeaturesToSheetThicknessRatio (double theRatio)
 
double ExpectedMinDistanceBetweenFeatures () const
 
double ActualDistanceBetweenFeatures () const
 
void SetActualDistanceBetweenFeatures (double theDistance)
 
double ActualSheetThickness () const
 
void SetActualSheetThickness (double theThickness)
 
- 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 sheet metal small distance issue.
 
- Static Public Member Functions inherited from cadex::DFMBase_Issue
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a dfm issue.
 

Protected Member Functions

const MTKBase_FeatureFirstFeature () const
 
void SetFirstFeature (const MTKBase_Feature &theFeature)
 
const MTKBase_FeatureSecondFeature () const
 
void SetSecondFeature (const MTKBase_Feature &theFeature)
 
 DFMSheetMetal_SmallDistanceBetweenFeaturesIssue (ImplPtrType theImpl)
 Reserved for internal use.
 
- 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.
 

Additional Inherited Members

- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes a base class for small distance issues found during sheet metal design analysis.

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

\[ \large Dist_a \geq T \times Rt \]

\[ \begin{aligned} & \small Dist_a - \text{actual distance between features} \\ & \small T - \text{actual sheet thickness} \\ & \small Rt - \text{expected minimum distance between features to sheet thickness ratio} \end{aligned} \]

See also
DFMSheetMetal_Analyzer, DFMSheetMetal_AnalyzerParameters
Examples
MTKConverter/Program.cs, MTKConverter/main.cxx, sheet_metal/dfm_analyzer/Program.cs, and sheet_metal/dfm_analyzer/main.cxx.

Member Function Documentation

◆ ActualDistanceBetweenFeatures()

double cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue::ActualDistanceBetweenFeatures ( ) const

Returns the actual distance between features in mm .

See also
SetActualDistanceBetweenFeatures(), FirstFeature(), SecondFeature()
Examples
MTKConverter/Program.cs, and sheet_metal/dfm_analyzer/Program.cs.

◆ ActualSheetThickness()

double cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue::ActualSheetThickness ( ) const

Returns the actual sheet thickness of analyzed part in mm .

See also
SetActualSheetThickness()

◆ ExpectedMinDistanceBetweenFeatures()

double cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue::ExpectedMinDistanceBetweenFeatures ( ) const

Returns expected minimum distance between features in mm .

\[ \large Dist_e = T \times Rt \]

\[ \begin{aligned} & \small Dist_e - \text{expected minimum distance between features} \\ & \small T - \text{actual sheet thickness} \\ & \small Rt - \text{expected minimum distance between features to sheet thickness ratio} \end{aligned} \]

See also
ExpectedMinDistanceBetweenFeaturesToSheetThicknessRatio(), ActualSheetThickness()
Examples
MTKConverter/Program.cs, and sheet_metal/dfm_analyzer/Program.cs.

◆ ExpectedMinDistanceBetweenFeaturesToSheetThicknessRatio()

double cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue::ExpectedMinDistanceBetweenFeaturesToSheetThicknessRatio ( ) const

Returns expected minimum distance between features to sheet thickness ratio.

See also
SetExpectedMinDistanceBetweenFeaturesToSheetThicknessRatio()

◆ FirstFeature()

const MTKBase_Feature & cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue::FirstFeature ( ) const
protected

Returns first problematic feature.

See also
SetFirstFeature()

◆ SecondFeature()

const MTKBase_Feature & cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue::SecondFeature ( ) const
protected

Returns second problematic feature.

See also
SetSecondFeature()

◆ SetActualDistanceBetweenFeatures()

void cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue::SetActualDistanceBetweenFeatures ( double theDistance)

Sets the actual distance between features in mm. theDistance should be grater than zero.

See also
ActualDistanceBetweenFeatures()

◆ SetActualSheetThickness()

void cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue::SetActualSheetThickness ( double theThickness)

Sets the actual sheet thickness in mm. theThickness should be grater than zero.

See also
ActualSheetThickness()

◆ SetExpectedMinDistanceBetweenFeaturesToSheetThicknessRatio()

void cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue::SetExpectedMinDistanceBetweenFeaturesToSheetThicknessRatio ( double theRatio)

Sets expected distance between features to sheet thickness ratio. theRatio should be grater than zero.

See also
ExpectedMinDistanceBetweenFeaturesToSheetThicknessRatio()

◆ SetFirstFeature()

void cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue::SetFirstFeature ( const MTKBase_Feature & theFeature)
protected

Sets first problematic feature.

See also
FirstFeature()

◆ SetSecondFeature()

void cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue::SetSecondFeature ( const MTKBase_Feature & theFeature)
protected

Sets second problematic feature.

See also
SecondFeature()