Hide menu
Loading...
Searching...
No Matches
cadex::SheetMetal_Louver Class Reference

Describes a sheet metal louver feature. More...

Inheritance diagram for cadex::SheetMetal_Louver:
cadex::MTKBase_ShapeFeature cadex::MTKBase_Feature

Public Member Functions

 SheetMetal_Louver ()
 Constructor.
 
 SheetMetal_Louver (double theDepth)
 Constructor.
 
double Depth () const
 Returns the louver depth in mm .
 
void SetDepth (double theDepth)
 Sets louver depth in mm .
 
- Public Member Functions inherited from cadex::MTKBase_ShapeFeature
 MTKBase_ShapeFeature ()
 Constructor.
 
 MTKBase_ShapeFeature (const ModelData::Shape &theShape)
 Constructor.
 
const ModelData::ShapeShape () 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 louver.
 
- 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
 

Detailed Description

Describes a sheet metal louver feature.

A louver in sheet metal design is typically a formed feature made with a punch press incorporating a top and bottom die. Louvers are used in a variety of industry applications that require airflow; electrical enclosures, HVAC, and food service equipment.

Shape() method returns ModelData::Shell for this class.

\image html sm_feature_louver.png "Louvers" width=50%

Louvers have the following basic parameter: depth in \a mm.

\image html sm_feature_louver_parameters.png "Louver parameter" width=50%
Examples
sheet_metal/feature_recognizer/Program.cs, and sheet_metal/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ SheetMetal_Louver() [1/2]

cadex::SheetMetal_Louver::SheetMetal_Louver ( )

Constructor.

◆ SheetMetal_Louver() [2/2]

cadex::SheetMetal_Louver::SheetMetal_Louver ( double theDepth)

Constructor.

Creates louver with specified depth.

Member Function Documentation

◆ CompareType()

bool cadex::SheetMetal_Louver::CompareType ( const MTKBase_Feature & theFeature)
static

Returns true if theFeature is a louver.

Examples
sheet_metal/feature_recognizer/Program.cs.

◆ Depth()

double cadex::SheetMetal_Louver::Depth ( ) const

Returns the louver depth in mm .

See also
SetDepth()
Examples
sheet_metal/feature_recognizer/Program.cs.

◆ SetDepth()

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

Sets louver depth in mm .

The value must be more than zero, otherwise nothing happens.

See also
Depth()