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

Describes a sheet metal bend relief. More...

Public Member Functions

 SheetMetal_BendRelief ()
 Constructor.
 
 SheetMetal_BendRelief (double theWidth, double theLength)
 
double Width () const
 
void SetWidth (double theWidth)
 
double Length () const
 
void SetLength (double theLength)
 
const ModelData::ShapeShape () const
 
void SetShape (const ModelData::Shape &theShape)
 
bool IsNull () const
 Returns true if the object is null.
 
 operator bool () const
 

Detailed Description

Describes a sheet metal bend relief.

Bend relief is a small incision cut into a piece of sheet metal to free the metal in between. It separates the material you want to be able to fold from the rest of the part.

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

Bend Relief

Bend reliefs have the following basic parameters: width in mm and length in mm.

Bend Relief parameters
Examples
MTKConverter/Program.cs, and sheet_metal/dfm_analyzer/Program.cs.

Constructor & Destructor Documentation

◆ SheetMetal_BendRelief()

cadex::SheetMetal_BendRelief::SheetMetal_BendRelief ( double theWidth,
double theLength )

Constructor. Creates bend relief with specified width and length.

Member Function Documentation

◆ Length()

double cadex::SheetMetal_BendRelief::Length ( ) const

Returns the bend relief length in mm .

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

◆ SetLength()

void cadex::SheetMetal_BendRelief::SetLength ( double theLength)

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

See also
Length()

◆ SetShape()

void cadex::SheetMetal_BendRelief::SetShape ( const ModelData::Shape & theShape)

Sets bend relief shape. The shape must be not null, otherwise nothing happens.

See also
Shape()

◆ SetWidth()

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

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

See also
Width()

◆ Shape()

const ModelData::Shape & cadex::SheetMetal_BendRelief::Shape ( ) const

Returns the bend relief shape.

See also
SetShape()
Examples
MTKConverter/Program.cs.

◆ Width()

double cadex::SheetMetal_BendRelief::Width ( ) const

Returns the bend relief width in mm .

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