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 Member Functions

 SheetMetal_Bend (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 SheetMetal_Bend ()
 Constructor.
 
 SheetMetal_Bend (double theRadius, double theAngle, double theWidth)
 Constructor.
 
double Radius ()
 
void SetRadius (double theRadius)
 
double Angle ()
 
void SetAngle (double theAngle)
 
double Width ()
 
void SetWidth (double theWidth)
 
double Length ()
 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 (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 MTKBase_ShapeFeature ()
 Constructor.
 
 MTKBase_ShapeFeature (cadex.ModelData.Shape theShape)
 Constructor.
 
cadex.ModelData.Shape Shape ()
 
void SetShape (cadex.ModelData.Shape theShape)
 
- Public Member Functions inherited from cadex.MTKBase_Feature
 MTKBase_Feature (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 MTKBase_Feature ()
 Constructor.
 
void Nullify ()
 
bool IsNull ()
 
bool IsEqual (cadex.MTKBase_Feature theObject)
 
bool IsNotEqual (cadex.MTKBase_Feature theObject)
 

Static Public Member Functions

static new bool CompareType (cadex.MTKBase_Feature theFeature)
 Returns true if theFeature is a bend.
 
static new cadex.SheetMetal_Bend Cast (cadex.MTKBase_Feature theBase)
 
- Static Public Member Functions inherited from cadex.MTKBase_ShapeFeature
static bool CompareType (cadex.MTKBase_Feature theFeature)
 Returnstrue if theFeature is a shape feature.
 
static cadex.MTKBase_ShapeFeature Cast (cadex.MTKBase_Feature theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 

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
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 )
inline

Constructor.

Creates a bend with specified radius, angle and width.

Member Function Documentation

◆ Angle()

double cadex.SheetMetal_Bend.Angle ( )
inline

Returns the bend angle in radians.

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

◆ Dispose()

override void cadex.SheetMetal_Bend.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.MTKBase_ShapeFeature.

◆ Radius()

double cadex.SheetMetal_Bend.Radius ( )
inline

Returns the bend radius in mm .

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

◆ SetAngle()

void cadex.SheetMetal_Bend.SetAngle ( double theAngle)
inline

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)
inline

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)
inline

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

See also
Width()

◆ Width()

double cadex.SheetMetal_Bend.Width ( )
inline

Returns the bend width in mm .

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