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

Machining_ThreadedHole. More...

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

Public Member Functions

 __init__ (self, *args)
 Overload 1: Constructor.
 
 MinorRadius (self)
 
 SetMinorRadius (self, theMinorRadius)
 Sets the threaded hole minor radius in mm .
 
 MajorRadius (self)
 Returns the threaded hole major radius in mm .
 
 SetMajorRadius (self, theMinorRadius)
 
 ThreadLength (self)
 Returns the threaded hole thread length in mm .
 
 SetThreadLength (self, theThreadLength)
 Sets the threaded hole thread length in mm .
 
 Pitch (self)
 Returns the threaded hole pitch in mm .
 
 SetPitch (self, thePitch)
 Sets the threaded hole pitch in mm .
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.Machining_Hole
 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
 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)
 Returns true if theFeature is a machining threaded hole.
 
 Cast (theBase)
 

Detailed Description

Machining_ThreadedHole.

  • Describes a threaded hole. A threaded hole is a cylindrical hole with a helical thread (groove) machined on its inner surface.

    The helical thread is designed to fit with the corresponding external threaded components, such as screws, bolts, and studs, providing for secure fastening and reliable mechanical connections.

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

Threaded Hole

Threaded Hole has the following basic parameters: minor radius in mm, major radius in mm, thread length in mm, pitch in mm, depth in mm.

Threaded hole parameters

Threaded Hole types

MTK supports threaded hole types (see the Machining_HoleType enumeration):

Threaded Through hole A hole that goes through the entire workpiece.
Threaded Flat Bottom hole A hole machined to have a flat reflecting surface at the hole bottom
Threaded Blind hole A hole does not pass through the entire workpiece

The hole type is returned by Type().

Constructor & Destructor Documentation

◆ __init__()

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

Overload 1: Constructor.

|

Overload 2: Constructor.

Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_Hole.

Member Function Documentation

◆ Cast()

manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.CompareType ( theFeature)
static

Returns true if theFeature is a machining threaded hole.

Reimplemented from manufacturingtoolkit.CadExMTK.Machining_Hole.

◆ MajorRadius()

manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.MajorRadius ( self)

Returns the threaded hole major radius in mm .

See also
SetMajorRadius()

◆ Pitch()

manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.Pitch ( self)

Returns the threaded hole pitch in mm .

See also
SetPitch()

◆ SetMinorRadius()

manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.SetMinorRadius ( self,
theMinorRadius )

Sets the threaded hole minor radius in mm .

The value must be greater than zero.

See also
MinorRadius()

◆ SetPitch()

manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.SetPitch ( self,
thePitch )

Sets the threaded hole pitch in mm .

The value must be greater than zero.

See also
Pitch()

◆ SetThreadLength()

manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.SetThreadLength ( self,
theThreadLength )

Sets the threaded hole thread length in mm .

The value must be greater than zero.

See also
ThreadLength()

◆ ThreadLength()

manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.ThreadLength ( self)

Returns the threaded hole thread length in mm .

While Depth() returns the depth of the entire hole, ThreadLength() returns only the depth of the threaded part.

See also
SetThreadLength()
Depth()

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