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

Describes a machining pocket. 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)
 Creates a machining Pocket from width, length, depth and type.
 
double Width ()
 Returns the pocket width in mm.
 
void SetWidth (double theWidth)
 Sets width for pocket in mm.
 
double Length ()
 Returns the pocket length in mm .
 
void SetLength (double theLength)
 Sets length for pocket in mm.
 
double Depth ()
 Returns the pocket depth in mm .
 
void SetDepth (double theDepth)
 Sets depth for pocket in mm.
 
bool HasAxis ()
 Returns true if z-axis is determined for pocket.
 
cadex.Geom.Axis1d Axis ()
 Returns z-axis of a pocket - the axis along which the depth is determined.
 
void SetAxis (cadex.Geom.Axis1d theAxis)
 Sets z-axis for pocket.
 
cadex.Machining_PocketType Type ()
 Returns the pocket type.
 
void SetType (cadex.Machining_PocketType theType)
 Sets type for pocket.
 
double MaxCutterRadius ()
 Returns the maximum cutter radius allowed by the pocket geometry.
 
void SetMaxCutterRadius (double theRadius)
 Sets maximal cutter radius in mm.
 
- 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 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() [1/2]

cadex.Machining_Pocket.Machining_Pocket ( )
inline

Constructor.

◆ Machining_Pocket() [2/2]

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

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

Constructor.

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.

◆ CompareType()

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

Returns true if theFeature is a machining Pocket.

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.

◆ MaxCutterRadius()

double cadex.Machining_Pocket.MaxCutterRadius ( )
inline

Returns the maximum cutter radius allowed by the pocket geometry.

Considers internal fillets radii and minimum wall-to-wall clearance. Returns 0 if non-zero radius fits (e.g. a sharp interior corner parallel to the pocket axis.

See also
SetMaxCutterRadius() Returns the maximum cutter radius in mm .
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()

◆ SetMaxCutterRadius()

void cadex.Machining_Pocket.SetMaxCutterRadius ( double theRadius)
inline

Sets maximal cutter radius in mm.

The value must not be less than zero.

See also
MaxCutterRadius()

◆ 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.