The recognition can be run on a CAD file to find molding features, e.g. ribs, bosses, etc. As a result of the recognition, list of found features of the part will be returned.
As the API changes to accommodate the needs of users compatibility will be preserved as much as possible but is ultimately not guaranteed.
Capabilities
It is possible to recognize ribs, bosses, screw bosses. A detailed description of the features is given here.
Below is a simple example of recognition.
Scope of accepted geometries
The recognition can be run on B-Rep representations, namely it works with ModelData::Solid .
API overview
Molding_FeatureRecognizer is the class that performs molding feature recognition. The tool has parameters that allow to modify rules for recognition:
Molding_FeatureRecognizerParameters aRecognizerParameters;
aRecognizerParameters.SetMaxRibThickness (30.0);
aRecognizerParameters.SetMaxRibDraftAngle (0.2);
aRecognizerParameters.SetMaxRibTaperAngle (0.1);
Defines a list of features.
Definition MTKBase_FeatureList.hxx:36
Provides an interface to recognizing molding features.
Definition Molding_FeatureRecognizer.hxx:37
Contains classes, namespaces, enums, types, and global functions related to Manufacturing Toolkit.
Definition LicenseManager_LicenseError.hxx:30
There are 2 possible ways to use molding tools:
- Using Molding_FeatureRecognizer on its own and processing the detected features. Molding Feature Recognizer Example demonstrates this approach.
- Using Molding_Analyzer. This approach supports running several recognition tools at once (currently, only Molding_FeatureRecognizer is available) and collect all computed data in special Molding_Data class. Below is an example of how molding tools can be used with this approach:
Defines a topological solid.
Definition Solid.hxx:32
Provides an interface to run several analyzer tools for different types of Molding processing.
Definition Molding_Analyzer.hxx:41
Molding_Data Perform(const ModelData::Solid &theSolid, const ProgressStatus &theProgressStatus=ProgressStatus())
Runs the analyzing process.
Definition Molding_Analyzer.cxx:81
void AddTool(const Molding_AnalyzerTool &theTool)
Adds additional tool to run during analyzing process.
Definition Molding_Analyzer.cxx:102
Defines data used in Molding analysis.
Definition Molding_Data.hxx:35
const MTKBase_FeatureList & FeatureList() const
Definition Molding_Data.cxx:48
The resulting Molding_Data can be passed as an input parameter for tools. Molding_Data can be used to run molding tools separately.