Hide menu
Loading...
Searching...
No Matches

Describes a machining thread feature. More...

Inheritance diagram for cadex.Machining_Thread:
cadex.MTKBase_ShapeFeature cadex.MTKBase_Feature

Public Member Functions

 Machining_Thread (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 Machining_Thread (double theMajorDiameter, double theMinorDiameter, double thePitch, double theLength, cadex.Geom.Axis1d theAxis)
 Constructor.
 
double MajorDiameter ()
 Returns the thread major diameter in mm.
 
double MinorDiameter ()
 Returns the thread minor diameter in mm.
 
double Pitch ()
 Returns the thread pitch in mm.
 
double Length ()
 Returns the thread length in mm.
 
cadex.Geom.Axis1d Axis ()
 Returns the thread axis.
 
- Public Member Functions inherited from cadex.MTKBase_ShapeFeature
 MTKBase_ShapeFeature (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 MTKBase_ShapeFeature ()
 Constructor.
 
 MTKBase_ShapeFeature (cadex.ModelData.Shape theShape)
 Creates a feature from a ModelData.Shape object.
 
cadex.ModelData.Shape Shape ()
 Returns shape of the feature.
 
void SetShape (cadex.ModelData.Shape theShape)
 Sets shape of the feature.
 
- Public Member Functions inherited from cadex.MTKBase_Feature
 MTKBase_Feature (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 MTKBase_Feature ()
 Constructor.
 
void Nullify ()
 Resets reference to implementation object.
 
bool IsNull ()
 Returns true if the object is nullified.
 
bool IsEqual (cadex.MTKBase_Feature theObject)
 
bool IsNotEqual (cadex.MTKBase_Feature theObject)
 

Static Public Member Functions

static new bool CompareType (cadex.MTKBase_Feature theFeature)
 Returns true if theFeature is a machining thread.
 
static new cadex.Machining_Thread Cast (cadex.MTKBase_Feature theBase)
 
- Static Public Member Functions inherited from cadex.MTKBase_ShapeFeature
static bool CompareType (cadex.MTKBase_Feature theFeature)
 Returnstrue if theFeature is a shape feature.
 
static cadex.MTKBase_ShapeFeature Cast (cadex.MTKBase_Feature theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from cadex.MTKBase_ShapeFeature
override void Dispose (bool disposing)
 

Detailed Description

Describes a machining thread feature.

An external thread is a helical ridge formed on the outer surface of a cylindrical feature. Common externally threaded parts include bolts, screws, studs, threaded rods, eye bolts, anchor bolts, pipe fittings and adapters. The helical thread is designed to mate with internal threaded components – such as tapped holes, nuts, and thread inserts – providing secure and reliable mechanical fastening.

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

Thread

Thread has the following basic parameters: minor diameter in mm, major diameter in mm, length in mm, pitch in mm.

Thread parameters
Examples
machining/feature_recognizer/Program.cs, and machining/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ Machining_Thread()

cadex.Machining_Thread.Machining_Thread ( double theMajorDiameter,
double theMinorDiameter,
double thePitch,
double theLength,
cadex.Geom.Axis1d theAxis )
inline

Constructor.

Creates a machining thread from the major diameter, minor diameter, pitch, length and the axis.

Member Function Documentation

◆ Axis()

cadex.Geom.Axis1d cadex.Machining_Thread.Axis ( )
inline

Returns the thread axis.

Examples
machining/feature_recognizer/Program.cs.

◆ CompareType()

static new bool cadex.Machining_Thread.CompareType ( cadex.MTKBase_Feature theFeature)
inlinestatic

Returns true if theFeature is a machining thread.

Examples
machining/feature_recognizer/Program.cs.

◆ Dispose()

override void cadex.Machining_Thread.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.MTKBase_Feature.

◆ Length()

double cadex.Machining_Thread.Length ( )
inline

Returns the thread length in mm.

Examples
machining/feature_recognizer/Program.cs.

◆ MajorDiameter()

double cadex.Machining_Thread.MajorDiameter ( )
inline

Returns the thread major diameter in mm.

Examples
machining/feature_recognizer/Program.cs.

◆ MinorDiameter()

double cadex.Machining_Thread.MinorDiameter ( )
inline

Returns the thread minor diameter in mm.

Examples
machining/feature_recognizer/Program.cs.

◆ Pitch()

double cadex.Machining_Thread.Pitch ( )
inline

Returns the thread pitch in mm.

Examples
machining/feature_recognizer/Program.cs.