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

Describes small distance detween hole and notch issues found during sheet metal design analysis. More...

Inheritance diagram for cadex::DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue:
cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue cadex::DFMBase_Issue cadex::MTKBase_Feature

Public Member Functions

 DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue ()
 Constructor.
 
 DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue (const SheetMetal_Hole &theHole, const SheetMetal_Notch &theNotch)
 Constructor.
 
SheetMetal_Hole Hole () const
 Returns the problematic sheet metal hole.
 
void SetHole (const SheetMetal_Hole &theHole)
 Sets the problematic sheet metal hole.
 
SheetMetal_Notch Notch () const
 Returns the problematic sheet metal notch.
 
void SetNotch (const SheetMetal_Notch &theNotch)
 Sets the problematic sheet metal notch.
 
- Public Member Functions inherited from cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue
double ExpectedMinDistanceBetweenFeaturesToSheetThicknessRatio () const
 Returns expected minimum distance between features to sheet thickness ratio.
 
void SetExpectedMinDistanceBetweenFeaturesToSheetThicknessRatio (double theRatio)
 Sets expected distance between features to sheet thickness ratio.
 
double ExpectedMinDistanceBetweenFeatures () const
 Returns expected minimum distance between features in mm .
 
double ActualDistanceBetweenFeatures () const
 Returns the actual distance between features in mm .
 
void SetActualDistanceBetweenFeatures (double theDistance)
 Sets the actual distance between features in mm.
 
double ActualSheetThickness () const
 Returns the actual sheet thickness of analyzed part in mm .
 
void SetActualSheetThickness (double theThickness)
 Sets the actual sheet thickness in mm.
 
- Public Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature ()
 Constructor.
 
 ~MTKBase_Feature ()
 Destructor.
 
void Nullify ()
 Resets reference to implementation object.
 
bool IsNull () const
 Returns true if the object is nullified.
 
 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)
 Returns true if theFeature is a small distance between hole and notch issue.
 
- Static Public Member Functions inherited from cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue
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.
 

Additional Inherited Members

- Public Types inherited from cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue
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
 
- Protected Member Functions inherited from cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue
const MTKBase_FeatureFirstFeature () const
 Returns first problematic feature.
 
void SetFirstFeature (const MTKBase_Feature &theFeature)
 Sets first problematic feature.
 
const MTKBase_FeatureSecondFeature () const
 Returns second problematic feature.
 
void SetSecondFeature (const MTKBase_Feature &theFeature)
 Sets second problematic feature.
 
 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.
 
- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes small distance detween hole and notch issues found during sheet metal design analysis.

When a hole and notch are placed too close together, it can cause the surrounding metal to weaken and potentially crack, leading to structural issues or failure. This is particularly important in applications where the sheet metal will be subjected to high levels of stress or strain, such as in load-bearing structures or in parts that will be exposed to vibration or other types of mechanical stress.

Contains simple hole and notch, distance between which fails the following condition:

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

\[ \begin{aligned} & \small Dist - \text{actual distance between hole and notch} \\ & \small T - \text{actual thickness} \\ & \small Rt - \text{expected minimum distance between hole and notch to sheet thickness ratio} \end{aligned} \]

Note
This issue can contain only SheetMetal_Hole objects and NOT SheetMetal_ComplexHole. Because small distance between hole and notch analysis carried out only for simple holes (SheetMetal_Hole).
See also
DFMSheetMetal_Analyzer, DFMSheetMetal_AnalyzerParameters.MinDistanceBetweenHoleAndNotchToThicknessRatio(), SheetMetal_Hole, SheetMetal_Notch
Examples
sheet_metal/dfm_analyzer/Program.cs, and sheet_metal/dfm_analyzer/main.cxx.

Constructor & Destructor Documentation

◆ DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue() [1/2]

cadex::DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue::DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue ( )

Constructor.

◆ DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue() [2/2]

cadex::DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue::DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue ( const SheetMetal_Hole & theHole,
const SheetMetal_Notch & theNotch )

Constructor.

Creates a small distance between holes issues from SheetMetal_Hole and SheetMetal_Notch objects.

Member Function Documentation

◆ CompareType()

bool cadex::DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue::CompareType ( const MTKBase_Feature & theFeature)
static

Returns true if theFeature is a small distance between hole and notch issue.

Examples
sheet_metal/dfm_analyzer/Program.cs.

◆ Hole()

SheetMetal_Hole cadex::DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue::Hole ( ) const

Returns the problematic sheet metal hole.

See also
SetHole()

◆ Notch()

SheetMetal_Notch cadex::DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue::Notch ( ) const

Returns the problematic sheet metal notch.

See also
SetNotch()

◆ SetHole()

void cadex::DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue::SetHole ( const SheetMetal_Hole & theHole)

Sets the problematic sheet metal hole.

See also
Hole()

◆ SetNotch()

void cadex::DFMSheetMetal_SmallDistanceBetweenHoleAndNotchIssue::SetNotch ( const SheetMetal_Notch & theNotch)

Sets the problematic sheet metal notch.

See also
Notch()