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)
 Constructor.
 
double Width () const
 Returns the bend relief width in mm .
 
void SetWidth (double theWidth)
 Sets bend relief width in mm .
 
double Length () const
 Returns the bend relief length in mm .
 
void SetLength (double theLength)
 Sets bend relief length in mm .
 
const ModelData::ShapeShape () const
 Returns the bend relief shape.
 
void SetShape (const ModelData::Shape &theShape)
 Sets bend relief shape.
 
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
sheet_metal/dfm_analyzer/Program.cs.

Constructor & Destructor Documentation

◆ SheetMetal_BendRelief() [1/2]

cadex::SheetMetal_BendRelief::SheetMetal_BendRelief ( )

Constructor.

◆ SheetMetal_BendRelief() [2/2]

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

Constructor.

Creates bend relief with specified width and length.

Member Function Documentation

◆ IsNull()

bool cadex::SheetMetal_BendRelief::IsNull ( ) const

Returns true if the object is null.

Examples
sheet_metal/dfm_analyzer/Program.cs.

◆ Length()

double cadex::SheetMetal_BendRelief::Length ( ) const

Returns the bend relief length in mm .

See also
SetLength()
Examples
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()

◆ Width()

double cadex::SheetMetal_BendRelief::Width ( ) const

Returns the bend relief width in mm .

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