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

Describes a machining fillet. More...

Inheritance diagram for cadex::Machining_Fillet:
cadex::MTKBase_ShapeFeature cadex::MTKBase_Feature

Public Types

typedef std::shared_ptr< internal::MachiningImpl_Fillet > ImplType
 
- 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
 

Public Member Functions

 Machining_Fillet ()
 Constructor.
 
 Machining_Fillet (Machining_FilletType theType, double theRadius, double theLength)
 Constructor.
 
Machining_FilletType Type () const
 Returns the fillet type.
 
void SetType (Machining_FilletType theType)
 Sets the fillet type.
 
double Radius () const
 Returns the fillet radius in mm .
 
void SetRadius (double theRadius)
 Sets the fillet radius in mm .
 
double Length () const
 Returns the fillet length in mm .
 
void SetLength (double theLength)
 Sets the fillet length in mm .
 
- Public Member Functions inherited from cadex::MTKBase_ShapeFeature
 MTKBase_ShapeFeature ()
 Constructor.
 
 MTKBase_ShapeFeature (const ModelData::Shape &theShape)
 Constructor.
 
const ModelData::Shape & Shape () 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 machining Fillet.
 
- Static Public Member Functions inherited from cadex::MTKBase_ShapeFeature
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a shape feature.
 

Protected Member Functions

 Machining_Fillet (ImplType 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.
 

Additional Inherited Members

- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes a machining fillet.

A fillet feature represents a rounded transition between adjacent surfaces of the part. The feature may consist of one or more connected fillet faces forming a continuous fillet. A fillet can be concave (internal) or convex (external) and is described by its radius and length.

Fillet

Fillet parameters

A fillet has the following basic parameters: radius in mm, length in mm and type.

Radius The radius of the rounded transition in mm, returned by Radius().
Fillet radius
Length The fillet length in mm, returned by Length().
Fillet length
Type The fillet type is defined by the Machining_FilletType enumeration and returned by Type(). Machining_FLT_Concave describes an internal rounded transition, while Machining_FLT_Convex describes an external rounded transition. Machining_FLT_Undefined indicates that the type is not specified.
Fillet types
Examples
machining/feature_recognizer/Program.cs, and machining/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ Machining_Fillet() [1/3]

cadex::Machining_Fillet::Machining_Fillet ( )

Constructor.

◆ Machining_Fillet() [2/3]

cadex::Machining_Fillet::Machining_Fillet ( Machining_FilletType theType,
double theRadius,
double theLength )

Constructor.

Creates a machining fillet from its type, radius and length.

◆ Machining_Fillet() [3/3]

cadex::Machining_Fillet::Machining_Fillet ( ImplType theImpl)
explicitprotected

Reserved for internal use.

Constructor.

For internal use.

Member Function Documentation

◆ CompareType()

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

Returns true if theFeature is a machining Fillet.

Examples
machining/feature_recognizer/Program.cs.

◆ Length()

double cadex::Machining_Fillet::Length ( ) const

Returns the fillet length in mm .

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

◆ Radius()

double cadex::Machining_Fillet::Radius ( ) const

Returns the fillet radius in mm .

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

◆ SetLength()

void cadex::Machining_Fillet::SetLength ( double theLength)

Sets the fillet length in mm .

The value must be greater than zero.

See also
Length()

◆ SetRadius()

void cadex::Machining_Fillet::SetRadius ( double theRadius)

Sets the fillet radius in mm .

The value must be greater than zero.

See also
Radius()

◆ SetType()

void cadex::Machining_Fillet::SetType ( Machining_FilletType theType)

Sets the fillet type.

See also
Type()
Machining_FilletType

◆ Type()

Machining_FilletType cadex::Machining_Fillet::Type ( ) const

Returns the fillet type.

See also
SetType()
Machining_FilletType
Examples
machining/feature_recognizer/Program.cs.