Describes a rib. More...
Public Member Functions | |
| Molding_Rib () | |
| Constructor. | |
| Molding_Rib (double theLength, double theHeight, double theThickness) | |
| Constructor. | |
| double | Length () const |
| Returns the rib length in mm. | |
| void | SetLength (double theLength) |
| Sets length for the rib in mm. | |
| double | Height () const |
| Returns the rib height in mm. | |
| void | SetHeight (double theHeight) |
| Sets height for the rib in mm. | |
| double | Thickness () const |
| Returns the rib thickness in mm. | |
| void | SetThickness (double theThickness) |
| Sets thickness for the rib in mm. | |
| double | DraftAngle () const |
| Returns the rib draft angle in radians. | |
| void | SetDraftAngle (double theDraftAngle) |
| Sets draft angle for the rib in radians. | |
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 Rib. | |
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 rib.
In Injection Molding, a "rib" feature refers to a thin, wall-like protrusion from the main body of the part that is designed to add support or strength to the structure. Ribs are used to prevent distortion and maintain the strength of the part without increasing the amount of plastic material used, which keeps cost and weight low.
Shape() method returns ModelData::Shell for this class.
"Ribs"
Rib has the following basic parameters: length in mm, height in mm, thickness in mm, and draft angle in radians.
Rib dimensions |
Rib draft angle |
| cadex::Molding_Rib::Molding_Rib | ( | ) |
Constructor.
Creates an empty Rib.
| cadex::Molding_Rib::Molding_Rib | ( | double | theLength, |
| double | theHeight, | ||
| double | theThickness ) |
Constructor.
Creates a Rib from shape, length, height, and thickness.
|
static |
Returns true if theFeature is a Rib.
| double cadex::Molding_Rib::DraftAngle | ( | ) | const |
Returns the rib draft angle in radians.
| double cadex::Molding_Rib::Height | ( | ) | const |
| double cadex::Molding_Rib::Length | ( | ) | const |
| void cadex::Molding_Rib::SetDraftAngle | ( | double | theDraftAngle | ) |
| void cadex::Molding_Rib::SetHeight | ( | double | theHeight | ) |
| void cadex::Molding_Rib::SetLength | ( | double | theLength | ) |
| void cadex::Molding_Rib::SetThickness | ( | double | theThickness | ) |
| double cadex::Molding_Rib::Thickness | ( | ) | const |
Returns the rib thickness in mm.