Public Member Functions | |
__init__ (self, *args) | |
Overload 1: Constructor. | |
Radius (self) | |
Returns the bend radius in mm . | |
SetRadius (self, theRadius) | |
Sets bend radius in mm . | |
Angle (self) | |
Returns the bend angle in radians. | |
SetAngle (self, theAngle) | |
Sets bend angle in radians. | |
Width (self) | |
Returns the bend width in mm . | |
SetWidth (self, theWidth) | |
Sets bend width in mm . | |
Length (self) | |
Returns the length of resulting bend (not blank sheet metal model). | |
![]() | |
Shape (self) | |
Returns shape of the feature. | |
SetShape (self, theShape) | |
![]() | |
Nullify (self) | |
Resets reference to implementation object. | |
IsNull (self) | |
Returns true if the object is nullified. | |
IsEqual (self, theObject) | |
IsNotEqual (self, theObject) | |
Static Public Member Functions | |
CompareType (theFeature) | |
Returns true if theFeature is a bend. | |
Cast (theBase) | |
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 have the following basic parameters: radius in mm, angle in radians, width in mm and length in mm.
manufacturingtoolkit.CadExMTK.SheetMetal_Bend.__init__ | ( | self, | |
* | args ) |
Overload 1: Constructor.
|
Overload 2: Constructor.
Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_ShapeFeature.
Reimplemented in manufacturingtoolkit.CadExMTK.SheetMetal_CurvedBend.
manufacturingtoolkit.CadExMTK.SheetMetal_Bend.Angle | ( | self | ) |
Returns the bend angle in radians.
|
static |
Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_ShapeFeature.
|
static |
Returns true if theFeature is a bend.
Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_ShapeFeature.
Reimplemented in manufacturingtoolkit.CadExMTK.SheetMetal_CurvedBend.
manufacturingtoolkit.CadExMTK.SheetMetal_Bend.Length | ( | self | ) |
Returns the length of resulting bend (not blank sheet metal model).
Length value returns in mm .
manufacturingtoolkit.CadExMTK.SheetMetal_Bend.Radius | ( | self | ) |
Returns the bend radius in mm .
manufacturingtoolkit.CadExMTK.SheetMetal_Bend.SetAngle | ( | self, | |
theAngle ) |
Sets bend angle in radians.
The value must be more than zero, otherwise nothing happens.
manufacturingtoolkit.CadExMTK.SheetMetal_Bend.SetRadius | ( | self, | |
theRadius ) |
Sets bend radius in mm .
The value must be more than zero, otherwise nothing happens.
manufacturingtoolkit.CadExMTK.SheetMetal_Bend.SetWidth | ( | self, | |
theWidth ) |
Sets bend width in mm .
The value must be more than zero, otherwise nothing happens.
manufacturingtoolkit.CadExMTK.SheetMetal_Bend.Width | ( | self | ) |
Returns the bend width in mm .