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

Describes a machining pocket. A pocket is a feature obtained by milling the material inside an arbitrarily closed boundary on a flat surface of a workpiece removed to a fixed depth. More...

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

Public Member Functions

 Machining_Pocket (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 Machining_Pocket ()
 Constructor.
 
 Machining_Pocket (double theWidth, double theLength, double theDepth, cadex.Machining_PocketType theType)
 Constructor.
 
double Width ()
 
void SetWidth (double theWidth)
 
double Length ()
 
void SetLength (double theLength)
 
double Depth ()
 
void SetDepth (double theDepth)
 
bool HasAxis ()
 
cadex.Geom.Axis1d Axis ()
 
void SetAxis (cadex.Geom.Axis1d theAxis)
 
cadex.Machining_PocketType Type ()
 
void SetType (cadex.Machining_PocketType theType)
 
- 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 Pocket.
 
static new cadex.Machining_Pocket 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 pocket. A pocket is a feature obtained by milling the material inside an arbitrarily closed boundary on a flat surface of a workpiece removed to a fixed depth.

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

Pocket

Pocket have the following basic parameters: width in mm, length in mm, depth in mm and axis.

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

Constructor & Destructor Documentation

◆ Machining_Pocket()

cadex.Machining_Pocket.Machining_Pocket ( double theWidth,
double theLength,
double theDepth,
cadex.Machining_PocketType theType )
inline

Constructor.

Creates a machining Pocket from width, length, depth and type.

Member Function Documentation

◆ Axis()

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

Returns z-axis of a pocket - the axis along which the depth is determined

See also
HasAxis(), SetAxis()
Examples
machining/feature_recognizer/Program.cs.

◆ Depth()

double cadex.Machining_Pocket.Depth ( )
inline

Returns the pocket depth in mm .

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

◆ Dispose()

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

Reimplemented from cadex.MTKBase_Feature.

◆ HasAxis()

bool cadex.Machining_Pocket.HasAxis ( )
inline

Returns true if z-axis is determined for pocket

See also
Axis(), SetAxis()

◆ Length()

double cadex.Machining_Pocket.Length ( )
inline

Returns the pocket length in mm .

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

◆ SetAxis()

void cadex.Machining_Pocket.SetAxis ( cadex.Geom.Axis1d theAxis)
inline

Sets z-axis for pocket

See also
HasAxis(), Axis()

◆ SetDepth()

void cadex.Machining_Pocket.SetDepth ( double theDepth)
inline

Sets depth for pocket in mm. The value must be more than zero.

See also
Depth()

◆ SetLength()

void cadex.Machining_Pocket.SetLength ( double theLength)
inline

Sets length for pocket in mm. The value must be more than zero.

See also
Length()

◆ SetType()

void cadex.Machining_Pocket.SetType ( cadex.Machining_PocketType theType)
inline

Sets type for pocket.

See also
Type()

◆ SetWidth()

void cadex.Machining_Pocket.SetWidth ( double theWidth)
inline

Sets width for pocket in mm. The value must be more than zero.

See also
Width()

◆ Type()

cadex.Machining_PocketType cadex.Machining_Pocket.Type ( )
inline

Returns the pocket type.

See also
SetType()

◆ Width()

double cadex.Machining_Pocket.Width ( )
inline

Returns the pocket width in mm.

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