Describes a rib. More...
Public Member Functions | |
| Molding_Rib () | |
| Constructor. | |
| Molding_Rib (double theLength, double theHeight, double theThickness) | |
| Constructor. | |
| double | Length () const |
| void | SetLength (double theLength) |
| double | Height () const |
| void | SetHeight (double theHeight) |
| double | Thickness () const |
| void | SetThickness (double theThickness) |
| double | DraftAngle () const |
| void | SetDraftAngle (double theDraftAngle) |
Public Member Functions inherited from cadex::MTKBase_ShapeFeature | |
| MTKBase_ShapeFeature () | |
| Constructor. | |
| MTKBase_ShapeFeature (const ModelData::Shape &theShape) | |
| Constructor. | |
| const ModelData::Shape & | Shape () 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 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.
| 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 | ) |
Sets draft angle for the rib in radians. The value must be more or equal zero.
| void cadex::Molding_Rib::SetHeight | ( | double | theHeight | ) |
Sets height for the rib in mm. The value must be more than zero.
| void cadex::Molding_Rib::SetLength | ( | double | theLength | ) |
Sets length for the rib in mm. The value must be more than zero.
| void cadex::Molding_Rib::SetThickness | ( | double | theThickness | ) |
Sets thickness for the rib in mm. The value must be more than zero.
| double cadex::Molding_Rib::Thickness | ( | ) | const |
Returns the rib thickness in mm.