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

Describes a boss. 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)
 Creates a Boss from length, width and height.
 
double Width ()
 Returns the boss width in mm.
 
void SetWidth (double theWidth)
 Sets width for boss in mm.
 
double Length ()
 Returns the boss length in mm .
 
void SetLength (double theLength)
 Sets length for boss in mm.
 
double Height ()
 Returns the boss Height in mm .
 
void SetHeight (double theHeight)
 Sets Height for boss 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)
 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() [1/2]

cadex.MTKBase_Boss.MTKBase_Boss ( )
inline

Constructor.

◆ MTKBase_Boss() [2/2]

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

Creates a Boss from length, width and height.

Constructor.

Member Function Documentation

◆ CompareType()

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

Returnstrue if theFeature is a Boss.

Examples
machining/feature_recognizer/Program.cs, and molding/feature_recognizer/Program.cs.

◆ 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