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

Describes a turning groove. 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)
 Creates the turning groove from the radius, the depth, the width and the machining groove type.
 
cadex.Machining_TurningGrooveType Type ()
 Returns the turning groove type.
 
void SetType (cadex.Machining_TurningGrooveType theType)
 Sets the type for turning groove.
 
double Radius ()
 Returns the turning groove radius in mm .
 
void SetRadius (double theRadius)
 Sets the turning groove radius in mm .
 
- 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)
 Creates the machining groove from the depth and width.
 
double Depth ()
 Returns the groove depth in mm .
 
void SetDepth (double theDepth)
 Sets the groove depth in mm .
 
double Width ()
 Returns the groove width in mm .
 
void SetWidth (double theWidth)
 Sets the groove width in mm .
 
cadex.ModelData.Shape Sidewalls ()
 Returns the shape containing the groove sidewalls.
 
void SetSidewalls (cadex.ModelData.Shape theSidewalls)
 Sets the shape for groove sidewalls.
 
cadex.ModelData.Shape Bottom ()
 Returns groove bottom shape.
 
void SetBottom (cadex.ModelData.Shape theBottom)
 Sets the shape for the groove bottom.
 
- 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 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

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

Constructor.

Member Function Documentation

◆ CompareType()

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

Returns true if theFeature is a machining turning groove.

Examples
machining/feature_recognizer/Program.cs.

◆ 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