Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.SheetMetal_Tab Class Reference

SheetMetal_Tab. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.SheetMetal_Tab:
manufacturingtoolkit.CadExMTK.MTKBase_ShapeFeature manufacturingtoolkit.CadExMTK.MTKBase_Feature

Public Member Functions

 __init__ (self, *args)
 Overload 1: Constructor.
 
 Width (self)
 Returns the tab width in mm .
 
 SetWidth (self, theWidth)
 Sets tab width in mm .
 
 Length (self)
 Returns the tab length in mm .
 
 SetLength (self, theLength)
 Sets tab length in mm .
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.MTKBase_ShapeFeature
 Shape (self)
 Returns shape of the feature.
 
 SetShape (self, theShape)
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.MTKBase_Feature
 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 tab.
 
 Cast (theBase)
 

Detailed Description

SheetMetal_Tab.

  • Describes a sheet metal tab.

    Tab is the rectangular ledge for the face. They are often used for fitting together several pieces to create the precise mate during assembly.

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

Tab

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

Tab parameters

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.SheetMetal_Tab.__init__ ( self,
* args )

Overload 1: Constructor.

|

Overload 2: Constructor. Creates tab with specified width and depth.

Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_ShapeFeature.

Member Function Documentation

◆ Cast()

manufacturingtoolkit.CadExMTK.SheetMetal_Tab.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.SheetMetal_Tab.CompareType ( theFeature)
static

Returns true if theFeature is a tab.

Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_ShapeFeature.

◆ Length()

manufacturingtoolkit.CadExMTK.SheetMetal_Tab.Length ( self)

Returns the tab length in mm .

See also
SetLength()

◆ SetLength()

manufacturingtoolkit.CadExMTK.SheetMetal_Tab.SetLength ( self,
theLength )

Sets tab length in mm .

The value must be more than zero, otherwise nothing happens.

See also
Length()

◆ SetWidth()

manufacturingtoolkit.CadExMTK.SheetMetal_Tab.SetWidth ( self,
theWidth )

Sets tab width in mm .

The value must be more than zero, otherwise nothing happens.

See also
Width()

◆ Width()

manufacturingtoolkit.CadExMTK.SheetMetal_Tab.Width ( self)

Returns the tab width in mm .

See also
SetWidth()

The documentation for this class was generated from the following file:
  • CadExMTK.py