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. | |
![]() | |
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 machining Pocket. | |
Cast (theBase) | |
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 have the following basic parameters: width in mm, length in mm, depth in mm and axis.
manufacturingtoolkit.CadExMTK.Machining_Pocket.__init__ | ( | self, | |
* | args ) |
Overload 1: Constructor.
|
Overload 2: Constructor.
Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_ShapeFeature.
manufacturingtoolkit.CadExMTK.Machining_Pocket.Axis | ( | self | ) |
Returns z-axis of a pocket - the axis along which the depth is determined.
|
static |
Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_ShapeFeature.
|
static |
Returns true if theFeature is a machining Pocket.
Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_ShapeFeature.
manufacturingtoolkit.CadExMTK.Machining_Pocket.Depth | ( | self | ) |
Returns the pocket depth in mm .
manufacturingtoolkit.CadExMTK.Machining_Pocket.HasAxis | ( | self | ) |
Returns true if z-axis is determined for pocket.
manufacturingtoolkit.CadExMTK.Machining_Pocket.Length | ( | self | ) |
Returns the pocket length in mm .
manufacturingtoolkit.CadExMTK.Machining_Pocket.SetDepth | ( | self, | |
theDepth ) |
manufacturingtoolkit.CadExMTK.Machining_Pocket.SetLength | ( | self, | |
theLength ) |
manufacturingtoolkit.CadExMTK.Machining_Pocket.SetType | ( | self, | |
theType ) |
Sets type for pocket.
manufacturingtoolkit.CadExMTK.Machining_Pocket.SetWidth | ( | self, | |
theWidth ) |
manufacturingtoolkit.CadExMTK.Machining_Pocket.Type | ( | self | ) |
Returns the pocket type.
manufacturingtoolkit.CadExMTK.Machining_Pocket.Width | ( | self | ) |
Returns the pocket width in mm.