Public Member Functions | |
| Type (self) | |
| Returns type of machining hole. | |
| SetType (self, theType) | |
| Sets type of the machining hole. | |
Public Member Functions inherited from manufacturingtoolkit.CadExMTK.MTKBase_Hole | |
| __init__ (self, *args) | |
| Overload 1: Constructor. | |
| Radius (self) | |
| Returns hole radius in mm . | |
| SetRadius (self, theRadius) | |
| Sets radius for hole in mm . | |
| Depth (self) | |
| Returns hole depth in mm . | |
| SetDepth (self, theDepth) | |
| Sets depth for hole in mm . | |
| HasAxis (self) | |
| Returns true if axis is determined for hole. | |
| Axis (self) | |
| Returns hole axis. | |
| SetAxis (self, theAxis) | |
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) | |
| Returnstrue if theFeature is a machining hole. | |
| Cast (theBase) | |
Describes a machining hole of a specified type. Hole is a cylindrical feature that can be made by cutting from the workpiece by a rotating cutting tool.
The hole can be either a through hole or a blind hole. A through hole is a complete hole that you can see on both sides of the object, while a blind hole is only drilled, milled or reamed to get a specific depth. The blind hole can have a flat bottom or pointed end due to the ending point of the tool. Also, holes can be made at the edge of the material - partial holes, in this case only part of the hole is in the material.
Shape() method returns ModelData.Shell for this class.
MTK supports hole types (defined by the Machining_HoleType enumeration) defined in the following table:
| Through hole | A hole that goes through the entire workpiece. |
|
| Flat Bottom hole | A hole machined to have a flat reflecting surface at the hole bottom |
|
| Blind hole | A hole does not pass through the entire workpiece |
|
| Partial hole | An open hole drilled on the part side. |
|
The hole type is returned by Type().
|
static |
Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_Hole.
|
static |
Returnstrue if theFeature is a machining hole.
Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_Hole.
Reimplemented in manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.
| manufacturingtoolkit.CadExMTK.Machining_Hole.SetType | ( | self, | |
| theType ) |
Sets type of the machining hole.
| manufacturingtoolkit.CadExMTK.Machining_Hole.Type | ( | self | ) |
Returns type of machining hole.