Hide menu
Loading...
Searching...
No Matches
cadex::Molding_ScrewBoss Class Reference

Describes a screw boss. More...

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

Public Member Functions

 Molding_ScrewBoss ()
 Constructor.
 
 Molding_ScrewBoss (double theHeight, double theCoreDepth, double theOuterRadius, double theInnerRadius)
 Constructor.
 
double OuterRadius () const
 Returns a screw boss outer radius in mm.
 
void SetOuterRadius (double theOuterRadius)
 Sets outer radius for a screw boss in mm.
 
double InnerRadius () const
 Returns a screw boss inner radius in mm.
 
void SetInnerRadius (double theInnerRadius)
 Sets inner radius for a screw boss in mm.
 
double Thickness () const
 Returns a screw boss thickness in mm.
 
double DraftAngle () const
 Returns a screw boss draft angle in mm.
 
void SetDraftAngle (double theDraftAngle)
 Sets draft angle for a screw boss in mm.
 
double CoreDepth () const
 Returns a screw boss core depth in mm.
 
void SetCoreDepth (double theCoreDepth)
 Sets core depth for a screw boss in mm.
 
- Public Member Functions inherited from cadex::MTKBase_Boss
 MTKBase_Boss ()
 Constructor.
 
 MTKBase_Boss (double theWidth, double theLength, double theHeight)
 Constructor.
 
double Width () const
 Returns the boss width in mm.
 
void SetWidth (double theWidth)
 Sets width for boss in mm.
 
double Length () const
 Returns the boss length in mm .
 
void SetLength (double theLength)
 Sets length for boss in mm.
 
double Height () const
 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 ()
 Constructor.
 
 MTKBase_ShapeFeature (const ModelData::Shape &theShape)
 Constructor.
 
const ModelData::ShapeShape () const
 Returns shape of the feature.
 
void SetShape (const ModelData::Shape &theShape)
 Sets shape of the feature.
 
- Public Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature ()
 Constructor.
 
 ~MTKBase_Feature ()
 Destructor.
 
void Nullify ()
 Resets reference to implementation object.
 
bool IsNull () const
 Returns true if the object is nullified.
 
 operator bool () const
 Casts the object to the bool type.
 
template<typename T >
bool IsOfType () const
 
ImplType * Impl () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 
bool operator== (const MTKBase_Feature &theObject) const
 
bool operator!= (const MTKBase_Feature &theObject) const
 

Static Public Member Functions

static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theFeature is a molding Screw Boss.
 
- Static Public Member Functions inherited from cadex::MTKBase_Boss
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a Boss.
 
- Static Public Member Functions inherited from cadex::MTKBase_ShapeFeature
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a shape feature.
 

Additional Inherited Members

- Public Types inherited from cadex::MTKBase_Boss
typedef cadex::internal::MTKBaseImpl_Boss ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::MTKBase_ShapeFeature
typedef cadex::internal::MTKBaseImpl_ShapeFeature ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::MTKBase_Feature
typedef cadex::internal::MTKBaseImpl_Feature ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Protected Member Functions inherited from cadex::MTKBase_Boss
 MTKBase_Boss (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::MTKBase_ShapeFeature
 MTKBase_ShapeFeature (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes a screw boss.

In injection molding, the Screw Boss is essentially a cylindrical protrusion with a threaded hole that is designed to receive a screw or threaded fastener. This feature serves as a reliable point of attachment for assembling various parts together, such as attaching the plastic part to another component or securing multiple plastic parts together.
The main purpose of the Screw Boss is to provide a durable and convenient method for fastening parts, eliminating the need for additional hardware like nuts or inserts. By integrating the Screw Boss directly into the mold design, it becomes a permanent part of the plastic component, enhancing the overall strength and integrity of the assembly.

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

Screw Boss

Screw Boss has the following basic parameters: height in mm, outer radius in mm, inner radius in mm, thickness in mm, and draft angle in radians.

Screw Boss dimensions
Screw Boss draft angle
Examples
molding/feature_recognizer/Program.cs, and molding/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ Molding_ScrewBoss() [1/2]

cadex::Molding_ScrewBoss::Molding_ScrewBoss ( )

Constructor.

◆ Molding_ScrewBoss() [2/2]

cadex::Molding_ScrewBoss::Molding_ScrewBoss ( double theHeight,
double theCoreDepth,
double theOuterRadius,
double theInnerRadius )

Constructor.

Creates a molding screw boss from height, core depth, outer and inner radii.

Member Function Documentation

◆ CompareType()

bool cadex::Molding_ScrewBoss::CompareType ( const MTKBase_Feature & theFeature)
static

Returns true if theFeature is a molding Screw Boss.

Examples
molding/feature_recognizer/Program.cs.

◆ CoreDepth()

double cadex::Molding_ScrewBoss::CoreDepth ( ) const

Returns a screw boss core depth in mm.

See also
SetCoreDepth()

◆ DraftAngle()

double cadex::Molding_ScrewBoss::DraftAngle ( ) const

Returns a screw boss draft angle in mm.

See also
SetDraftAngle()
Examples
molding/feature_recognizer/Program.cs.

◆ InnerRadius()

double cadex::Molding_ScrewBoss::InnerRadius ( ) const

Returns a screw boss inner radius in mm.

See also
SetInnerRadius()
Examples
molding/feature_recognizer/Program.cs.

◆ OuterRadius()

double cadex::Molding_ScrewBoss::OuterRadius ( ) const

Returns a screw boss outer radius in mm.

See also
SetOuterRadius()
Examples
molding/feature_recognizer/Program.cs.

◆ SetCoreDepth()

void cadex::Molding_ScrewBoss::SetCoreDepth ( double theCoreDepth)

Sets core depth for a screw boss in mm.

The value must be more than zero.

See also
CoreDepth()

◆ SetDraftAngle()

void cadex::Molding_ScrewBoss::SetDraftAngle ( double theDraftAngle)

Sets draft angle for a screw boss in mm.

The value must be more than zero.

See also
DraftAngle()

◆ SetInnerRadius()

void cadex::Molding_ScrewBoss::SetInnerRadius ( double theInnerRadius)

Sets inner radius for a screw boss in mm.

The value must be more than zero.

See also
InnerRadius()

◆ SetOuterRadius()

void cadex::Molding_ScrewBoss::SetOuterRadius ( double theOuterRadius)

Sets outer radius for a screw boss in mm.

The value must be more than zero.

See also
OuterRadius()

◆ Thickness()

double cadex::Molding_ScrewBoss::Thickness ( ) const

Returns a screw boss thickness in mm.

See also
OuterRadius(), InnerRadius()