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

Describes a boss. In CNC Machining a boss is a protrusion or raised area on a workpiece that is created by removing material around it using a milling cutter. The boss feature can be used for various purposes such as providing a location for fasteners, creating a bearing surface, or serving as a mounting point for other components. More...

Inheritance diagram for cadex.MTKBase_Boss:
cadex.MTKBase_ShapeFeature cadex.MTKBase_Feature cadex.Molding_ScrewBoss

Public Member Functions

 MTKBase_Boss (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 MTKBase_Boss ()
 Constructor.
 
 MTKBase_Boss (double theWidth, double theLength, double theHeight)
 Constructor.
 
double Width ()
 
void SetWidth (double theWidth)
 
double Length ()
 
void SetLength (double theLength)
 
double Height ()
 
void SetHeight (double theHeight)
 
- 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)
 Returnstrue if theFeature is a Boss.
 
static new cadex.MTKBase_Boss 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 boss. In CNC Machining a boss is a protrusion or raised area on a workpiece that is created by removing material around it using a milling cutter. The boss feature can be used for various purposes such as providing a location for fasteners, creating a bearing surface, or serving as a mounting point for other components.

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

Boss

Boss have the following basic parameters: width in mm, length in mm, height in mm.

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

Constructor & Destructor Documentation

◆ MTKBase_Boss()

cadex.MTKBase_Boss.MTKBase_Boss ( double theWidth,
double theLength,
double theHeight )
inline

Constructor.

Creates a Boss from length, width and height.

Member Function Documentation

◆ Dispose()

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

Reimplemented from cadex.MTKBase_Feature.

◆ Height()

double cadex.MTKBase_Boss.Height ( )
inline

Returns the boss Height in mm .

See also
SetHeight()
Examples
machining/feature_recognizer/Program.cs, and molding/feature_recognizer/Program.cs.

◆ Length()

double cadex.MTKBase_Boss.Length ( )
inline

Returns the boss length in mm .

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

◆ SetHeight()

void cadex.MTKBase_Boss.SetHeight ( double theHeight)
inline

Sets Height for boss in mm. The value must be more than zero.

See also
Height()

◆ SetLength()

void cadex.MTKBase_Boss.SetLength ( double theLength)
inline

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

See also
Length()

◆ SetWidth()

void cadex.MTKBase_Boss.SetWidth ( double theWidth)
inline

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

See also
Width()

◆ Width()

double cadex.MTKBase_Boss.Width ( )
inline