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

Describes a machining countersink. More...

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

Public Member Functions

 Machining_Countersink (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 Machining_Countersink ()
 Constructor.
 
 Machining_Countersink (double theRadius, double theDepth)
 Creates a machining countersink from radius and depth.
 
 Machining_Countersink (double theRadius, double theDepth, cadex.Geom.Axis3d theAxis)
 Creates a machining countersink from radius, depth and axis.
 
double Radius ()
 Returns countersink radius in mm .
 
void SetRadius (double theRadius)
 Sets radius for countersink in mm.
 
double Depth ()
 Returns countersink depth in mm .
 
void SetDepth (double theDepth)
 Sets depth for countersink in mm.
 
bool HasAxis ()
 Returns true if axis is determined for countersink.
 
cadex.Geom.Axis3d Axis ()
 Returns countersink axis.
 
void SetAxis (cadex.Geom.Axis3d theAxis)
 Sets axis for countersink.
 
- 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 countersink.
 
static new cadex.Machining_Countersink 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 countersink.

A conical hole cut into a manufactured object, or the cutter used to cut such a hole. A common use is to allow the head of a countersunk bolt, screw or rivet, when placed in the hole, to sit flush with or below the surface of the surrounding material.

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

Countersink

Countersink have the following basic parameters: radius in mm, depth in mm and axis.

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

Constructor & Destructor Documentation

◆ Machining_Countersink() [1/3]

cadex.Machining_Countersink.Machining_Countersink ( )
inline

Constructor.

◆ Machining_Countersink() [2/3]

cadex.Machining_Countersink.Machining_Countersink ( double theRadius,
double theDepth )
inline

Creates a machining countersink from radius and depth.

Constructor.

◆ Machining_Countersink() [3/3]

cadex.Machining_Countersink.Machining_Countersink ( double theRadius,
double theDepth,
cadex.Geom.Axis3d theAxis )
inline

Creates a machining countersink from radius, depth and axis.

Constructor.

Member Function Documentation

◆ Axis()

cadex.Geom.Axis3d cadex.Machining_Countersink.Axis ( )
inline

Returns countersink axis.

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

◆ CompareType()

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

Returns true if theFeature is a machining countersink.

Examples
machining/feature_recognizer/Program.cs.

◆ Depth()

double cadex.Machining_Countersink.Depth ( )
inline

Returns countersink depth in mm .

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

◆ Dispose()

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

Reimplemented from cadex.MTKBase_Feature.

◆ HasAxis()

bool cadex.Machining_Countersink.HasAxis ( )
inline

Returns true if axis is determined for countersink.

See also
Axis(), SetAxis()

◆ Radius()

double cadex.Machining_Countersink.Radius ( )
inline

Returns countersink radius in mm .

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

◆ SetAxis()

void cadex.Machining_Countersink.SetAxis ( cadex.Geom.Axis3d theAxis)
inline

Sets axis for countersink.

See also
HasAxis(), Axis()

◆ SetDepth()

void cadex.Machining_Countersink.SetDepth ( double theDepth)
inline

Sets depth for countersink in mm.

The value must be more than zero.

See also
Depth()

◆ SetRadius()

void cadex.Machining_Countersink.SetRadius ( double theRadius)
inline

Sets radius for countersink in mm.

The value must be more than zero.

See also
Radius()