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

Machining_Pocket. More...

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

Public Member Functions

 __init__ (self, *args)
 Overload 1: Constructor.
 
 Width (self)
 Returns the pocket width in mm.
 
 SetWidth (self, theWidth)
 Sets width for pocket in mm.
 
 Length (self)
 Returns the pocket length in mm .
 
 SetLength (self, theLength)
 Sets length for pocket in mm.
 
 Depth (self)
 Returns the pocket depth in mm .
 
 SetDepth (self, theDepth)
 Sets depth for pocket in mm.
 
 HasAxis (self)
 Returns true if z-axis is determined for pocket.
 
 Axis (self)
 Returns z-axis of a pocket - the axis along which the depth is determined.
 
 SetAxis (self, theAxis)
 
 Type (self)
 Returns the pocket type.
 
 SetType (self, theType)
 Sets type for pocket.
 
- 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 machining Pocket.
 
 Cast (theBase)
 

Detailed Description

Machining_Pocket.

Describes a machining pocket. A pocket is a feature obtained by milling the material inside an arbitrarily closed boundary on a flat surface of a workpiece removed to a fixed depth.

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

Pocket

Pocket have the following basic parameters: width in mm, length in mm, depth in mm and axis.

Pocket parameters

Constructor & Destructor Documentation

◆ __init__()

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

Overload 1: Constructor.

|

Overload 2: Constructor.

Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_ShapeFeature.

Member Function Documentation

◆ Axis()

manufacturingtoolkit.CadExMTK.Machining_Pocket.Axis ( self)

Returns z-axis of a pocket - the axis along which the depth is determined.

See also
HasAxis(), SetAxis()

◆ Cast()

manufacturingtoolkit.CadExMTK.Machining_Pocket.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.Machining_Pocket.CompareType ( theFeature)
static

Returns true if theFeature is a machining Pocket.

Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_ShapeFeature.

◆ Depth()

manufacturingtoolkit.CadExMTK.Machining_Pocket.Depth ( self)

Returns the pocket depth in mm .

See also
SetDepth()

◆ HasAxis()

manufacturingtoolkit.CadExMTK.Machining_Pocket.HasAxis ( self)

Returns true if z-axis is determined for pocket.

See also
Axis(), SetAxis()

◆ Length()

manufacturingtoolkit.CadExMTK.Machining_Pocket.Length ( self)

Returns the pocket length in mm .

See also
SetLength()

◆ SetDepth()

manufacturingtoolkit.CadExMTK.Machining_Pocket.SetDepth ( self,
theDepth )

Sets depth for pocket in mm.

The value must be more than zero.

See also
Depth()

◆ SetLength()

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

Sets length for pocket in mm.

The value must be more than zero.

See also
Length()

◆ SetType()

manufacturingtoolkit.CadExMTK.Machining_Pocket.SetType ( self,
theType )

Sets type for pocket.

See also
Type()

◆ SetWidth()

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

Sets width for pocket in mm.

The value must be more than zero.

See also
Width()

◆ Type()

manufacturingtoolkit.CadExMTK.Machining_Pocket.Type ( self)

Returns the pocket type.

See also
SetType()

◆ Width()

manufacturingtoolkit.CadExMTK.Machining_Pocket.Width ( self)

Returns the pocket width in mm.

See also
SetWidth()

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