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

Machining_Hole. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Machining_Hole:
manufacturingtoolkit.CadExMTK.MTKBase_Hole manufacturingtoolkit.CadExMTK.MTKBase_ShapeFeature manufacturingtoolkit.CadExMTK.MTKBase_Feature manufacturingtoolkit.CadExMTK.Machining_ThreadedHole

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)
 

Detailed Description

Machining_Hole.

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.

Hole types

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().

Member Function Documentation

◆ Cast()

manufacturingtoolkit.CadExMTK.Machining_Hole.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.Machining_Hole.CompareType ( theFeature)
static

Returnstrue if theFeature is a machining hole.

Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_Hole.

Reimplemented in manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.

◆ SetType()

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

Sets type of the machining hole.

See also
Type()

◆ Type()

manufacturingtoolkit.CadExMTK.Machining_Hole.Type ( self)

Returns type of machining hole.

See also
SetType()

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