Machining_ThreadedHole. More...
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 . | |
![]() | |
Type (self) | |
Returns type of machining hole. | |
SetType (self, theType) | |
Sets type of the machining 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) | |
![]() | |
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 threaded hole. | |
Cast (theBase) | |
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 has the following basic parameters: minor radius in mm, major radius in mm, thread length in mm, pitch in mm, depth in mm.
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().
manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.__init__ | ( | self, | |
* | args ) |
Overload 1: Constructor.
|
Overload 2: Constructor.
Reimplemented from manufacturingtoolkit.CadExMTK.MTKBase_Hole.
|
static |
Reimplemented from manufacturingtoolkit.CadExMTK.Machining_Hole.
|
static |
Returns true if theFeature is a machining threaded hole.
Reimplemented from manufacturingtoolkit.CadExMTK.Machining_Hole.
manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.MajorRadius | ( | self | ) |
Returns the threaded hole major radius in mm .
manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.Pitch | ( | self | ) |
Returns the threaded hole pitch in mm .
manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.SetMinorRadius | ( | self, | |
theMinorRadius ) |
Sets the threaded hole minor radius in mm .
The value must be greater than zero.
manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.SetPitch | ( | self, | |
thePitch ) |
manufacturingtoolkit.CadExMTK.Machining_ThreadedHole.SetThreadLength | ( | self, | |
theThreadLength ) |
Sets the threaded hole thread length in mm .
The value must be greater than zero.
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.