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

Describes a sheet metal complex hole feature. More...

Inheritance diagram for cadex::SheetMetal_ComplexHole:
cadex::SheetMetal_Hole cadex::MTKBase_Hole cadex::MTKBase_ShapeFeature cadex::MTKBase_Feature

Public Member Functions

 SheetMetal_ComplexHole ()
 Constructor.
 
 SheetMetal_ComplexHole (double theRadius, double theDepth)
 Constructor.
 
 SheetMetal_ComplexHole (double theRadius, double theDepth, const Geom::Axis3d &theAxis)
 Constructor.
 
- Public Member Functions inherited from cadex::SheetMetal_Hole
 SheetMetal_Hole ()
 Constructor.
 
 SheetMetal_Hole (double theRadius, double theDepth)
 Constructor.
 
 SheetMetal_Hole (double theRadius, double theDepth, const Geom::Axis3d &theAxis)
 Constructor.
 
- Public Member Functions inherited from cadex::MTKBase_Hole
 MTKBase_Hole ()
 Constructor.
 
 MTKBase_Hole (double theRadius, double theDepth)
 Constructor.
 
 MTKBase_Hole (double theRadius, double theDepth, const Geom::Axis3d &theAxis)
 Constructor.
 
double Radius () const
 Returns hole radius in mm .
 
void SetRadius (double theRadius)
 Sets radius for hole in mm .
 
double Depth () const
 Returns hole depth in mm .
 
void SetDepth (double theDepth)
 Sets depth for hole in mm .
 
bool HasAxis () const
 Returns true if axis is determined for hole.
 
const Geom::Axis3dAxis () const
 Returns hole axis.
 
void SetAxis (const Geom::Axis3d &theAxis)
 Sets axis for hole.
 
- 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 sheet metal complex hole.
 
- Static Public Member Functions inherited from cadex::SheetMetal_Hole
static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theFeature is a sheet metal hole.
 
- Static Public Member Functions inherited from cadex::MTKBase_Hole
static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theFeature is a hole.
 
- 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::SheetMetal_Hole
typedef cadex::internal::SheetMetalImpl_Hole ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::MTKBase_Hole
typedef cadex::internal::MTKBaseImpl_Hole ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- 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::SheetMetal_Hole
 SheetMetal_Hole (ImplPtrType theImpl)
 
- Protected Member Functions inherited from cadex::MTKBase_Hole
 MTKBase_Hole (ImplPtrType 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.
 
- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes a sheet metal complex hole feature.

Complex hole is a hole produced by piercing. Piercing is a type of punching operation and actually is a combination of cutting and forming operations. As a result of the applied force from a piercing tool, sheet metal starts tearing and produces an extruded hole.

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

Complex hole
Examples
sheet_metal/feature_recognizer/Program.cs, and sheet_metal/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ SheetMetal_ComplexHole() [1/3]

cadex::SheetMetal_ComplexHole::SheetMetal_ComplexHole ( )

Constructor.

◆ SheetMetal_ComplexHole() [2/3]

cadex::SheetMetal_ComplexHole::SheetMetal_ComplexHole ( double theRadius,
double theDepth )

Constructor.

Creates a sheet metal complex hole from radius.

◆ SheetMetal_ComplexHole() [3/3]

cadex::SheetMetal_ComplexHole::SheetMetal_ComplexHole ( double theRadius,
double theDepth,
const Geom::Axis3d & theAxis )

Constructor.

Creates a sheet metal complex hole from radius and axis.

Member Function Documentation

◆ CompareType()

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

Returns true if theFeature is a sheet metal complex hole.

Examples
sheet_metal/feature_recognizer/Program.cs.