Describes a machining bore. More...
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 |
| Returns the bore depth in mm . | |
| void | SetDepth (double theDepth) |
| Sets the bore depth in mm . | |
| double | Radius () const |
| Returns the bore radius in mm . | |
| void | SetRadius (double theWidth) |
| Sets the bore radius in mm . | |
| const ModelData::Shape & | Sidewalls () const |
| Returns the shape containing the bore sidewalls. | |
| void | SetSidewalls (const ModelData::Shape &theSidewalls) |
| Sets the shape for bore sidewalls. | |
| const ModelData::Shape & | Bottom () const |
| Returns the bottom shape of the bore. | |
| void | SetBottom (const ModelData::Shape &theBottom) |
| Sets the shape for the bore bottom. | |
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 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 |
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.
| cadex::Machining_Bore::Machining_Bore | ( | ) |
Constructor.
| cadex::Machining_Bore::Machining_Bore | ( | double | theDepth, |
| double | theRadius ) |
Constructor.
Creates the machining bore from the depth and radius.
|
explicitprotected |
Reserved for internal use.
Constructor.
For internal use.
| 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.
|
static |
Returns true if theFeature is a machining bore.
| double cadex::Machining_Bore::Depth | ( | ) | const |
| double cadex::Machining_Bore::Radius | ( | ) | const |
Returns the bore radius in mm .
| void cadex::Machining_Bore::SetBottom | ( | const ModelData::Shape & | theBottom | ) |
| void cadex::Machining_Bore::SetDepth | ( | double | theDepth | ) |
| void cadex::Machining_Bore::SetRadius | ( | double | theRadius | ) |
| void cadex::Machining_Bore::SetSidewalls | ( | const ModelData::Shape & | theSidewalls | ) |
| const ModelData::Shape & cadex::Machining_Bore::Sidewalls | ( | ) | const |
Returns the shape containing the bore sidewalls.
The shape can be a single face or shell.