Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.ModelData_Model Class Reference

Model ModelData/Model.hxx cadex/ModelData/Model.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.ModelData_Model:
manufacturingtoolkit.CadExMTK.BaseObject

Public Member Functions

 __init__ (self, *args)
 
 SetName (self, theName)
 Sets a model name.
 
 Name (self)
 Returns a model name.
 
 IsEmpty (self)
 Returns true if the model is empty.
 
 Clear (self)
 Clears the model contents.
 
 AddRoot (self, theElement)
 Adds a root element to the model.
 
 Roots (self)
 Returns root elements of the model.
 
 NumberOfRoots (self)
 Returns the number of root elements in the model.
 
 SetDrawing (self, theDrawing)
 
 Drawing (self)
 
 Merge (self, theModel)
 Adds roots from another model to current.
 
 AssignUuids (self)
 
 Accept (self, theVisitor)
 Accepts a visitor.
 
 Open (self, *args)
 
 Save (self, *args)
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.BaseObject
 Id (self)
 Return unique identifier of public object.
 
 IsNull (self)
 

Static Public Member Functions

 Cast (theBase)
 

Static Public Attributes

 FileFormatType_MTK = _CadExMTK.ModelData_Model_FileFormatType_MTK
 
 FileFormatType_MTKWEB = _CadExMTK.ModelData_Model_FileFormatType_MTKWEB
 

Detailed Description

Model ModelData/Model.hxx cadex/ModelData/Model.hxx.

Provides MTK data model.

The model encapsulates a scene graph (hierarchy of assemblies and parts) and is thus an entry point to entire 3D model data.

A model contains a shared pointer to its internal implementation, so simple copying an object will just copy a shared pointer:

ModelData::Model aModel2 = aModel; //both objects will point to the same contents
See also
Product Structure

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.ModelData_Model.__init__ ( self,
* args )

The documentation for this class was generated from the following file:
  • CadExMTK.py