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

Provides an interface to recognizing sheet metal features tool. Is used for recognition of features such as bends, cutouts, holes, etc. More...

Inheritance diagram for cadex::SheetMetal_FeatureRecognizer:
cadex::SheetMetal_AnalyzerTool

Public Member Functions

 SheetMetal_FeatureRecognizer ()
 
 SheetMetal_FeatureRecognizer (const SheetMetal_FeatureRecognizerParameters &theParameters)
 
MTKBase_FeatureList Perform (const ModelData::Solid &theSolid, const cadex::ProgressStatus &theProgressStatus=cadex::ProgressStatus())
 
MTKBase_FeatureList Perform (const ModelData::Solid &theSolid, double theThickness, const cadex::ProgressStatus &theProgressStatus=cadex::ProgressStatus())
 
MTKBase_FeatureList Perform (const ModelData::Shell &theShell, const cadex::ProgressStatus &theProgressStatus=cadex::ProgressStatus())
 
void Perform (SheetMetal_Data &theData, const cadex::ProgressStatus &theProgressStatus=cadex::ProgressStatus())
 
const SheetMetal_FeatureRecognizerParametersParameters () const
 Returns parameters.
 
void SetParameters (const SheetMetal_FeatureRecognizerParameters &theParameters)
 Returns reference to parameters.
 
- Public Member Functions inherited from cadex::SheetMetal_AnalyzerTool
 SheetMetal_AnalyzerTool ()
 Constructor.
 
 ~SheetMetal_AnalyzerTool ()
 Destructor.
 
ImplType * Impl () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 

Additional Inherited Members

- Public Types inherited from cadex::SheetMetal_AnalyzerTool
typedef cadex::internal::SheetMetalImpl_AnalyzerTool ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Protected Member Functions inherited from cadex::SheetMetal_AnalyzerTool
 SheetMetal_AnalyzerTool (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Attributes inherited from cadex::SheetMetal_AnalyzerTool
ImplPtrType myImpl
 

Detailed Description

Provides an interface to recognizing sheet metal features tool. Is used for recognition of features such as bends, cutouts, holes, etc.

Example of analysis results could be found on the Sheet Metal Feature Recognition page.

See also
SheetMetal_Unfolder
Examples
MTKConverter/Program.cs, MTKConverter/main.cxx, sheet_metal/feature_recognizer/Program.cs, and sheet_metal/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ SheetMetal_FeatureRecognizer()

cadex::SheetMetal_FeatureRecognizer::SheetMetal_FeatureRecognizer ( )

Constructor.

Exceptions

     LicenseManager_LicenseError if no Sheet metal license was activated.

Member Function Documentation

◆ Perform() [1/4]

MTKBase_FeatureList cadex::SheetMetal_FeatureRecognizer::Perform ( const ModelData::Shell & theShell,
const cadex::ProgressStatus & theProgressStatus = cadex::ProgressStatus() )

Runs features recognition process.

◆ Perform() [2/4]

MTKBase_FeatureList cadex::SheetMetal_FeatureRecognizer::Perform ( const ModelData::Solid & theSolid,
const cadex::ProgressStatus & theProgressStatus = cadex::ProgressStatus() )

Runs features recognition process.

◆ Perform() [3/4]

MTKBase_FeatureList cadex::SheetMetal_FeatureRecognizer::Perform ( const ModelData::Solid & theSolid,
double theThickness,
const cadex::ProgressStatus & theProgressStatus = cadex::ProgressStatus() )

Runs features recognition process. theThickness is an approximate thickness of solid (as a default value, you can use 1mm or 2mm).

Deprecated
Kept for binary compatibility.

◆ Perform() [4/4]

void cadex::SheetMetal_FeatureRecognizer::Perform ( SheetMetal_Data & theData,
const cadex::ProgressStatus & theProgressStatus = cadex::ProgressStatus() )

Runs features recognition process. Updates existing sheet metal data.

See also
SheetMetal_Data