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

Describes a sheet metal Hem bend feature. More...

Inheritance diagram for cadex::SheetMetal_HemBend:
cadex::SheetMetal_Bend cadex::MTKBase_ShapeFeature cadex::MTKBase_Feature

Public Member Functions

 SheetMetal_HemBend ()
 Constructor.
 
 SheetMetal_HemBend (double theRadius, double theAngle, double theWidth)
 Constructor.
 
SheetMetal_HemBendType Type () const
 
void SetType (const SheetMetal_HemBendType &theType)
 
- Public Member Functions inherited from cadex::SheetMetal_Bend
 SheetMetal_Bend ()
 Constructor.
 
 SheetMetal_Bend (double theRadius, double theAngle, double theWidth)
 Constructor.
 
double Radius () const
 
void SetRadius (double theRadius)
 
double Angle () const
 
void SetAngle (double theAngle)
 
double Width () const
 
void SetWidth (double theWidth)
 
double Length () const
 Returns the length of resulting bend (not blank sheet metal model). Length value returns in mm .
 
- Public Member Functions inherited from cadex::MTKBase_ShapeFeature
 MTKBase_ShapeFeature ()
 Constructor.
 
 MTKBase_ShapeFeature (const ModelData::Shape &theShape)
 Constructor.
 
const ModelData::ShapeShape () const
 
void SetShape (const ModelData::Shape &theShape)
 
- 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 an hem bend.
 
- Static Public Member Functions inherited from cadex::SheetMetal_Bend
static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theFeature is a bend.
 
- Static Public Member Functions inherited from cadex::MTKBase_ShapeFeature
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a shape feature.
 

Additional Inherited Members

- Public Types inherited from cadex::SheetMetal_Bend
typedef cadex::internal::SheetMetalImpl_Bend ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::MTKBase_ShapeFeature
typedef cadex::internal::MTKBaseImpl_ShapeFeature 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::SheetMetal_Bend
 SheetMetal_Bend (ImplPtrType theImpl)
 
- Protected Member Functions inherited from cadex::MTKBase_ShapeFeature
 MTKBase_ShapeFeature (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 a sheet metal Hem bend feature.

Hem bend is a result of hemming process in which a sheet metal edge is folded back on itself.

Hem bend

Hem Bend types

MTK supports hem bend types (defined by the SheetMetal_HemBendType enumeration) defined in the following table:

Flattened hem bend The part of the edge that bends sits completely flush over the rest of the metal sheet. The angle between the returning flange and the sheet metal is 180 degrees.
Open hem bend The returning flange is folded over the sheet metal but there remains an air pocket between the two. The bend angle is 180 degrees.
Teardrop hem bend The returning flange is bent beyond 180 degrees. The resulting shape resembles a teardrop.
Rope hem bend The returning flange at a bent of more than 180 degrees. Once the hem achieves the shape of an open hem, the returning flange is pressed onto the part surface through a flattening die.
Rolled hem bend The bent portion of the sheet metal is tucked back into itself. This creates smooth round edges all around for holding the part from the hemmed edges.

The hem bend type is returned by Type().

Examples
MTKConverter/Program.cs, MTKConverter/main.cxx, sheet_metal/feature_recognizer/Program.cs, and sheet_metal/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ SheetMetal_HemBend()

cadex::SheetMetal_HemBend::SheetMetal_HemBend ( double theRadius,
double theAngle,
double theWidth )

Constructor.

Creates a hem bend with specified radius, angle and width.

Member Function Documentation

◆ SetType()

void cadex::SheetMetal_HemBend::SetType ( const SheetMetal_HemBendType & theType)

Sets a hem bend type.

See also
Type()

◆ Type()

SheetMetal_HemBendType cadex::SheetMetal_HemBend::Type ( ) const

Returns a hem bend type.

See also
SetType()
Examples
MTKConverter/Program.cs, and sheet_metal/feature_recognizer/Program.cs.