Describes a machining thread feature. More...
Public Member Functions | |
| Machining_Thread (double theMajorDiameter, double theMinorDiameter, double thePitch, double theLength, const Geom::Axis1d &theAxis) | |
| Constructor. | |
| double | MajorDiameter () const |
| Returns the thread major diameter in mm. | |
| double | MinorDiameter () const |
| Returns the thread minor diameter in mm. | |
| double | Pitch () const |
| Returns the thread pitch in mm. | |
| double | Length () const |
| Returns the thread length in mm. | |
| const Geom::Axis1d & | Axis () const |
| Returns the thread axis. | |
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 thread. | |
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_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_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 |
Describes a machining thread feature.
An external thread is a helical ridge formed on the outer surface of a cylindrical feature. Common externally threaded parts include bolts, screws, studs, threaded rods, eye bolts, anchor bolts, pipe fittings and adapters. The helical thread is designed to mate with internal threaded components – such as tapped holes, nuts, and thread inserts – providing secure and reliable mechanical fastening.
Shape() method returns ModelData::Shell for this class.
Thread has the following basic parameters: minor diameter in mm, major diameter in mm, length in mm, pitch in mm.
| cadex::Machining_Thread::Machining_Thread | ( | double | theMajorDiameter, |
| double | theMinorDiameter, | ||
| double | thePitch, | ||
| double | theLength, | ||
| const Geom::Axis1d & | theAxis ) |
Constructor.
Creates a machining thread from the major diameter, minor diameter, pitch, length and the axis.
| const Geom::Axis1d & cadex::Machining_Thread::Axis | ( | ) | const |
Returns the thread axis.
|
static |
Returns true if theFeature is a machining thread.
| double cadex::Machining_Thread::Length | ( | ) | const |
Returns the thread length in mm.
| double cadex::Machining_Thread::MajorDiameter | ( | ) | const |
Returns the thread major diameter in mm.
| double cadex::Machining_Thread::MinorDiameter | ( | ) | const |
Returns the thread minor diameter in mm.
| double cadex::Machining_Thread::Pitch | ( | ) | const |
Returns the thread pitch in mm.