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

Describes a machining bore. A bore feature is formed by enlarging an existing hole using a rigid single-point cutting tool. It consists of one or more faces defining an internal cylindrical surface, optionally with a bottom. Precision is determined by the rigidity of the spindle and the boring tool. Horizontal boring ensures accurate internal geometry with the workpiece moving parallel to the tool's axis. More...

Inheritance diagram for cadex::Machining_Bore:
cadex::MTKBase_ShapeFeature cadex::MTKBase_Feature

Public Types

typedef std::shared_ptr< internal::MachiningImpl_Bore > 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_Bore ()
 Constructor.
 
 Machining_Bore (double theDepth, double theWidth)
 Constructor.
 
double Depth () const
 
void SetDepth (double theDepth)
 
double Radius () const
 
void SetRadius (double theWidth)
 
const ModelData::ShapeSidewalls () const
 
void SetSidewalls (const ModelData::Shape &theSidewalls)
 
const ModelData::ShapeBottom () const
 
void SetBottom (const ModelData::Shape &theBottom)
 
- Public Member Functions inherited from cadex::MTKBase_ShapeFeature
 MTKBase_ShapeFeature ()
 Constructor.
 
 MTKBase_ShapeFeature (const ModelData::Shape &theShape)
 Constructor.
 
const ModelData::ShapeShape () const
 
void SetShape (const ModelData::Shape &theShape)
 
- Public Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature ()
 Constructor.
 
 ~MTKBase_Feature ()
 Destructor.
 
void Nullify ()
 
bool IsNull () const
 
 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 bore.
 
- 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_Bore (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 bore. A bore feature is formed by enlarging an existing hole using a rigid single-point cutting tool. It consists of one or more faces defining an internal cylindrical surface, optionally with a bottom. Precision is determined by the rigidity of the spindle and the boring tool. Horizontal boring ensures accurate internal geometry with the workpiece moving parallel to the tool's axis.

Examples
MTKConverter/Program.cs, MTKConverter/main.cxx, machining/feature_recognizer/Program.cs, and machining/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ Machining_Bore() [1/2]

cadex::Machining_Bore::Machining_Bore ( double theDepth,
double theRadius )

Constructor.

Creates the machining bore from the depth and radius.

◆ Machining_Bore() [2/2]

cadex::Machining_Bore::Machining_Bore ( ImplType theImpl)
explicitprotected

Reserved for internal use.

Constructor.

For internal use.

Member Function Documentation

◆ Bottom()

const ModelData::Shape & cadex::Machining_Bore::Bottom ( ) const

Returns the bottom shape of the bore. The shape can be a single face or shell. Returns a null shape if the bore has no bottom.

See also
SetBottom()

◆ Depth()

double cadex::Machining_Bore::Depth ( ) const

Returns the bore depth in mm .

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

◆ Radius()

double cadex::Machining_Bore::Radius ( ) const

Returns the bore radius in mm .

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

◆ SetBottom()

void cadex::Machining_Bore::SetBottom ( const ModelData::Shape & theBottom)

Sets the shape for the bore bottom. The shape can be a single face or shell.

See also
Bottom()

◆ SetDepth()

void cadex::Machining_Bore::SetDepth ( double theDepth)

Sets the bore depth in mm . The value must be greater than zero.

See also
Depth()

◆ SetRadius()

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

Sets the bore radius in mm . The value must be greater than zero.

See also
Radius()

◆ SetSidewalls()

void cadex::Machining_Bore::SetSidewalls ( const ModelData::Shape & theSidewalls)

Sets the shape for bore sidewalls. The shape can be a single face or shell.

See also
Sidewalls()

◆ Sidewalls()

const ModelData::Shape & cadex::Machining_Bore::Sidewalls ( ) const

Returns the shape containing the bore sidewalls. The shape can be a single face or shell.

See also
SetSidewalls()