Hide menu
Loading...
Searching...
No Matches

Describes a bend in sheet metal. More...

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

Public Types

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
 

Public Member Functions

 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 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.
 

Protected Member Functions

 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.
 

Additional Inherited Members

- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes a bend in sheet metal.

Bending is one of the most common sheet metal fabrication operations. Also known as press braking, flanging, die bending, folding and edging, this method is used to deform a material to an angular shape.

Shape() method returns ModelData::Shell for this class.

Bends

Bends have the following basic parameters: radius in mm, angle in radians, width in mm and length in mm.

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

Constructor & Destructor Documentation

◆ SheetMetal_Bend()

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

Constructor.

Creates a bend with specified radius, angle and width.

Member Function Documentation

◆ Angle()

double cadex::SheetMetal_Bend::Angle ( ) const

Returns the bend angle in radians.

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

◆ Radius()

double cadex::SheetMetal_Bend::Radius ( ) const

Returns the bend radius in mm .

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

◆ SetAngle()

void cadex::SheetMetal_Bend::SetAngle ( double theAngle)

Sets bend angle in radians. The value must be more than zero, otherwise nothing happens.

See also
Angle()

◆ SetRadius()

void cadex::SheetMetal_Bend::SetRadius ( double theRadius)

Sets bend radius in mm . The value must be more than zero, otherwise nothing happens.

See also
Radius()

◆ SetWidth()

void cadex::SheetMetal_Bend::SetWidth ( double theWidth)

Sets bend width in mm . The value must be more than zero, otherwise nothing happens.

See also
Width()

◆ Width()

double cadex::SheetMetal_Bend::Width ( ) const

Returns the bend width in mm .

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