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

Describes small length flange issues found during sheet metal design analysis. More...

Inheritance diagram for cadex::DFMSheetMetal_SmallLengthFlangeIssue:
cadex::DFMSheetMetal_BendIssue cadex::DFMBase_Issue cadex::MTKBase_Feature

Public Member Functions

 DFMSheetMetal_SmallLengthFlangeIssue ()
 Constructor.
 
 DFMSheetMetal_SmallLengthFlangeIssue (const MTKBase_CompositeFeature &theFlange)
 Constructor.
 
const MTKBase_CompositeFeatureFlange () const
 
void SetFlange (const MTKBase_CompositeFeature &theFlange)
 
double ExpectedMinLengthToSheetThicknessRatio () const
 
void SetExpectedMinLengthToSheetThicknessRatio (double theRatio)
 
double ExpectedMinLength () const
 
double ActualLength () const
 
void SetActualLength (double theLength) const
 
- Public Member Functions inherited from cadex::DFMSheetMetal_BendIssue
const SheetMetal_BendBend () const
 
void SetBend (const SheetMetal_Bend &theBend)
 
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 length flange issue.
 
- Static Public Member Functions inherited from cadex::DFMSheetMetal_BendIssue
static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theFeature is a dfm sheet metal bend 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_BendIssue
typedef cadex::internal::DFMSheetMetalImpl_BendIssue 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_BendIssue
 DFMSheetMetal_BendIssue (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 length flange issues found during sheet metal design analysis.

The flange length refers to the length of the flat section of a flanged edge. A small flange length issue can occur when the flange length is too small to accommodate the intended bend radius. This can cause the material to wrinkle or crack during the forming process, leading to a defective or unusable part.

Contains simple bend and it's flange that fails the following condition:

\[ \large L_f \geq T \times Rt + R_b \]

\[ \begin{aligned} & \small L_f - \text{actual flange length} \\ & \small T - \text{actual sheet thickness} \\ & \small Rt - \text{expected minimum flange length to sheet thickness ratio} \\ & \small R_b - \text{actual bend radius} \end{aligned} \]

Note
This issue can contain only SheetMetal_Bend objects and NOT SheetMetal_HemBend or SheetMetal_CurvedBend. Because small length flange analysis carried out only for simple bends (SheetMetal_Bend) and simple bends inside compound bends (SheetMetal_CompoundBend.FeatureList()).
See also
DFMSheetMetal_Analyzer, DFMSheetMetal_AnalyzerParameters.MinFlangeLengthToSheetThicknessRatio(), SheetMetal_Bend
Examples
MTKConverter/Program.cs, MTKConverter/main.cxx, sheet_metal/dfm_analyzer/Program.cs, and sheet_metal/dfm_analyzer/main.cxx.

Constructor & Destructor Documentation

◆ DFMSheetMetal_SmallLengthFlangeIssue()

cadex::DFMSheetMetal_SmallLengthFlangeIssue::DFMSheetMetal_SmallLengthFlangeIssue ( const MTKBase_CompositeFeature & theFlange)

Constructor.

Creates a small length flange issue from the MTKBase_CompositeFeature object. The first feature in MTKBase_CompositeFeature should be the flange bend (SheetMetal_Bend) and the second is an end flage face (ModelData::Face) as MTKBase_ShapeFeature object.

Member Function Documentation

◆ ActualLength()

double cadex::DFMSheetMetal_SmallLengthFlangeIssue::ActualLength ( ) const

Returns the actual flange length in mm .

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

◆ ExpectedMinLength()

double cadex::DFMSheetMetal_SmallLengthFlangeIssue::ExpectedMinLength ( ) const

◆ ExpectedMinLengthToSheetThicknessRatio()

double cadex::DFMSheetMetal_SmallLengthFlangeIssue::ExpectedMinLengthToSheetThicknessRatio ( ) const

Returns the expected minimum flange length to thickness ratio.

\[ \large L_e = T \times Rt + R_b \]

\[ \begin{aligned} & \small L_e - \text{expected minimum flange length} \\ & \small T - \text{actual sheet thickness} \\ & \small Rt - \text{expected minimum flange length to sheet thickness ratio} \\ & \small R_b - \text{actual bend radius} \end{aligned} \]

See also
SetExpectedMinLengthToSheetThicknessRatio(), DFMSheetMetal_AnalyzerParameters.MinFlangeLengthToSheetThicknessRatio()

◆ Flange()

const MTKBase_CompositeFeature & cadex::DFMSheetMetal_SmallLengthFlangeIssue::Flange ( ) const

Returns the problematic flange. The first feature in MTKBase_CompositeFeature is a flange bend (SheetMetal_Bend) and the second is an end flage face (ModelData::Face) as MTKBase_ShapeFeature object.

See also
SetFlange(), MTKBase_CompositeFeature
Examples
MTKConverter/Program.cs, and MTKConverter/main.cxx.

◆ SetActualLength()

void cadex::DFMSheetMetal_SmallLengthFlangeIssue::SetActualLength ( double theLength) const

Sets the actual flange length in mm. theLength should be greater than zero.

See also
ActualLength()

◆ SetExpectedMinLengthToSheetThicknessRatio()

void cadex::DFMSheetMetal_SmallLengthFlangeIssue::SetExpectedMinLengthToSheetThicknessRatio ( double theRatio)

Sets the expected minimum flange length to thickness ratio. theRatio should be greater than zero.

See also
ExpectedMinLengthToSheetThicknessRatio()

◆ SetFlange()

void cadex::DFMSheetMetal_SmallLengthFlangeIssue::SetFlange ( const MTKBase_CompositeFeature & theFlange)

Sets the problematic flange The first feature in MTKBase_CompositeFeature should be the flange bend (SheetMetal_Bend) and the second is an end flage face (ModelData::Face) as MTKBase_ShapeFeature object.

See also
Flange()