Solid Solid.hxx cadex/ModelData/Solid.hxx. More...
Public Member Functions | |
| __init__ (self, theShell) | |
| Constructor. | |
| Append (self, *args) | |
| Adds a shell to the solid. | |
Public Member Functions inherited from manufacturingtoolkit.CadExMTK.ModelData_Shape | |
| Type (self) | |
| Returns a shape type. | |
| Orientation (self) | |
| Returns orientation flag. | |
| Reversed (self) | |
| Returns a shape that shares the same geometry and subshape graph but has opposite orientation. | |
| Oriented (self, theOrientation) | |
| Returns a shape that shares the same geometry and subshape graph and has specified orientation. | |
| IsEqual (self, theOther) | |
| Returns true if the shape shares the same geometry and subshape graph, and has equal orientation. | |
| IsSame (self, theOther) | |
| Returns true if the shape shares the same geometry and subshape graph. | |
| SetName (self, theName) | |
| Sets the name. | |
| Name (self) | |
| Returns the name. | |
| AddAssociatedPMI (self, *args) | |
| AssociatedPMI (self) | |
| Returns the PMI elements. | |
| __hash__ (self) | |
| __eq__ (self, other) | |
Public Member Functions inherited from manufacturingtoolkit.CadExMTK.BaseObject | |
| Id (self) | |
| Return unique identifier of public object. | |
| IsNull (self) | |
Static Public Member Functions | |
| CompareType (theObject) | |
| Check the type of object. | |
| Cast (*args) | |
Solid Solid.hxx cadex/ModelData/Solid.hxx.
Defines a topological solid.
The following image depicts an example of a solid:
As a rule, a solid has a single external shell. Solids with voids (i.e. multiple shells) are also supported.
Shells must be oriented so that the solid corresponds to a finite volume in 3D space.
| manufacturingtoolkit.CadExMTK.ModelData_Solid.__init__ | ( | self, | |
| theShell ) |
Constructor.
Reimplemented from manufacturingtoolkit.CadExMTK.ModelData_Shape.
|
static |
Reimplemented from manufacturingtoolkit.CadExMTK.ModelData_Shape.
|
static |
Check the type of object.
Returns true if the specified object is this class type.
Reimplemented from manufacturingtoolkit.CadExMTK.ModelData_Shape.