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
 Returns a hem bend type.
 
void SetType (const SheetMetal_HemBendType &theType)
 Sets a hem bend type.
 
- Public Member Functions inherited from cadex::SheetMetal_Bend
 SheetMetal_Bend ()
 Constructor.
 
 SheetMetal_Bend (double theRadius, double theAngle, double theWidth)
 Constructor.
 
double Radius () const
 Returns the bend radius in mm .
 
void SetRadius (double theRadius)
 Sets bend radius in mm .
 
double Angle () const
 Returns the bend angle in radians.
 
void SetAngle (double theAngle)
 Sets bend angle in radians.
 
double Width () const
 Returns the bend width in mm .
 
void SetWidth (double theWidth)
 Sets bend width in mm .
 
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
 Returns shape of the feature.
 
void SetShape (const ModelData::Shape &theShape)
 Sets shape of the feature.
 
- 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 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
sheet_metal/feature_recognizer/Program.cs, and sheet_metal/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ SheetMetal_HemBend() [1/2]

cadex::SheetMetal_HemBend::SheetMetal_HemBend ( )

Constructor.

◆ SheetMetal_HemBend() [2/2]

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

◆ CompareType()

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

Returns true if theFeature is an hem bend.

Examples
sheet_metal/feature_recognizer/Program.cs.

◆ 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
sheet_metal/feature_recognizer/Program.cs.