Hide menu
Loading...
Searching...
No Matches
cadex.Machining_TurningGroove Class Reference

Describes a turning groove. A turning groove is a narrow linear channel or cut made in a material related to turning (lathe) machining. More...

Inheritance diagram for cadex.Machining_TurningGroove:
cadex.Machining_Groove cadex.MTKBase_ShapeFeature cadex.MTKBase_Feature

Public Member Functions

 Machining_TurningGroove (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 Machining_TurningGroove (double theRadius, double theDepth, double theWidth, cadex.Machining_TurningGrooveType theType)
 Constructor.
 
cadex.Machining_TurningGrooveType Type ()
 
void SetType (cadex.Machining_TurningGrooveType theType)
 
double Radius ()
 
void SetRadius (double theRadius)
 
- Public Member Functions inherited from cadex.Machining_Groove
 Machining_Groove (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 Machining_Groove ()
 Constructor.
 
 Machining_Groove (double theDepth, double theWidth)
 Constructor.
 
double Depth ()
 
void SetDepth (double theDepth)
 
double Width ()
 
void SetWidth (double theWidth)
 
cadex.ModelData.Shape Sidewalls ()
 
void SetSidewalls (cadex.ModelData.Shape theSidewalls)
 
cadex.ModelData.Shape Bottom ()
 
void SetBottom (cadex.ModelData.Shape theBottom)
 
- 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)
 Constructor.
 
cadex.ModelData.Shape Shape ()
 
void SetShape (cadex.ModelData.Shape theShape)
 
- Public Member Functions inherited from cadex.MTKBase_Feature
 MTKBase_Feature (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 MTKBase_Feature ()
 Constructor.
 
void Nullify ()
 
bool IsNull ()
 
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 turning groove.
 
static new cadex.Machining_TurningGroove Cast (cadex.MTKBase_Feature theBase)
 
- Static Public Member Functions inherited from cadex.Machining_Groove
static new bool CompareType (cadex.MTKBase_Feature theFeature)
 Returns true if theFeature is a machining groove.
 
static new cadex.Machining_Groove 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 turning groove. A turning groove is a narrow linear channel or cut made in a material related to turning (lathe) machining.

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

Turning Groove

Turning Groove has the following basic parameters: radius in mm, width in mm, depth in mm. The parameters can be seen below in the table with turning groove types.

Turning Groove types

MTK supports the groove types (Machining_TurningGrooveType enumeration) defined in the following table:

Outer Diameter (OD) The groove machined on the external surface of a part.
Inner Diameter (ID) The groove machined on the internal surface of a part.
End Face The groove machined on the front or back end face of a part.

The Turning Groove type is returned by Type().

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

Constructor & Destructor Documentation

◆ Machining_TurningGroove()

cadex.Machining_TurningGroove.Machining_TurningGroove ( double theRadius,
double theDepth,
double theWidth,
cadex.Machining_TurningGrooveType theType )
inline

Constructor.

Creates the turning groove from the radius, the depth, the width and the machining groove type.

Member Function Documentation

◆ Dispose()

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

Reimplemented from cadex.Machining_Groove.

◆ Radius()

double cadex.Machining_TurningGroove.Radius ( )
inline

Returns the turning groove radius in mm .

See also
SetRadius()
Examples
machining/feature_recognizer/Program.cs.

◆ SetRadius()

void cadex.Machining_TurningGroove.SetRadius ( double theRadius)
inline

Sets the turning groove radius in mm . The value must be greater than zero.

See also
Radius()

◆ SetType()

void cadex.Machining_TurningGroove.SetType ( cadex.Machining_TurningGrooveType theType)
inline

Sets the type for turning groove.

See also
Type()
Machining_TurningGrooveType

◆ Type()

cadex.Machining_TurningGrooveType cadex.Machining_TurningGroove.Type ( )
inline

Returns the turning groove type.

See also
SetType()
Machining_TurningGrooveType