Public Member Functions | |
__init__ (self) | |
Constructor. | |
Perform (self, *args) | |
AddTool (self, theTool) | |
Adds additional tool to run during analyzing process. | |
Provides an interface to run several analyzer tools.
Running analyzer with zero tools added will start the shape analysis process that fill SheetMetal_Data with minimum information needed to run SheetMetal_Unfolder and SheetMetal_FeatureRecognizer with it.
SheetMetal_Unfolder and SheetMetal_FeatureRecognizer tools use same shape analysis process underhood if you pass ModelData.Shell or ModelData.Solid; they can also work with already analyzed models represented as SheetMetal_Data. Thus, if you want to use both SheetMetal_FeatureRecognizer and SheetMetal_Unfolder simultaneously, it's possible to reduce the time of analysis by using SheetMetal_Analyzer (in this case the model will be analyzed once). The resulting SheetMetal_Data could be passed into tools.
If the model is not sheet metal model than the empty SheetMetal_Data is returned. The model may be represent as a ModelData.Shell or a ModelData.Solid.
![]()
Shell shape | ![]()
Solid shape |
manufacturingtoolkit.CadExMTK.SheetMetal_Analyzer.__init__ | ( | self | ) |
Constructor.
Creates a machining analyzer with zero tools.
Exceptions
LicenseManager_LicenseError if no Sheet metal license was activated.