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

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

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

Public Member Functions

 DFMSheetMetal_SmallDistanceBetweenExtrudedHoleAndEdgeIssue ()
 Constructor.
 
 DFMSheetMetal_SmallDistanceBetweenExtrudedHoleAndEdgeIssue (const SheetMetal_ComplexHole &theHole, const ModelData::Edge &theEdge)
 Constructor.
 
SheetMetal_ComplexHole Hole () const
 
void SetHole (const SheetMetal_ComplexHole &theHole)
 
ModelData::Edge Edge () const
 
void SetEdge (const ModelData::Edge &theEdge)
 
- Public Member Functions inherited from cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue
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)
 Returns true if theFeature is a small distance between extruded hole and edge 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
 
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.
 
- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

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

When a hole is punched too close to the edge of a sheet metal part, it can create stress concentration in the metal around the hole. The stress concentration is caused by the abrupt change in geometry at the edge of the hole, which can cause the metal to deform, crack, or even fail. This can be especially problematic in parts that will experience high loads or stress, as it can compromise the integrity of the part and its ability to perform its intended function.

Contains complex hole and part's edge, distance between which fails the following condition:

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

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

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

Constructor & Destructor Documentation

◆ DFMSheetMetal_SmallDistanceBetweenExtrudedHoleAndEdgeIssue()

cadex::DFMSheetMetal_SmallDistanceBetweenExtrudedHoleAndEdgeIssue::DFMSheetMetal_SmallDistanceBetweenExtrudedHoleAndEdgeIssue ( const SheetMetal_ComplexHole & theHole,
const ModelData::Edge & theEdge )

Constructor.

Creates a small distance detween extruded hole and edge issues from SheetMetal_ComplexHole and ModelData::Edge objects.

Member Function Documentation

◆ Edge()

ModelData::Edge cadex::DFMSheetMetal_SmallDistanceBetweenExtrudedHoleAndEdgeIssue::Edge ( ) const

Returns the edge of analyzed part.

See also
SetEdge()

◆ Hole()

SheetMetal_ComplexHole cadex::DFMSheetMetal_SmallDistanceBetweenExtrudedHoleAndEdgeIssue::Hole ( ) const

Returns the problematic sheet metal extruded hole.

See also
SetHole()

◆ SetEdge()

void cadex::DFMSheetMetal_SmallDistanceBetweenExtrudedHoleAndEdgeIssue::SetEdge ( const ModelData::Edge & theEdge)

Sets the edge.

See also
Edge()

◆ SetHole()

void cadex::DFMSheetMetal_SmallDistanceBetweenExtrudedHoleAndEdgeIssue::SetHole ( const SheetMetal_ComplexHole & theHole)

Sets the problematic sheet metal extruded hole.

See also
Hole()