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.MTKCore.ModelData_Shape | |
| Type (self) | |
| Orientation (self) | |
| Reversed (self) | |
| Oriented (self, theOrientation) | |
| IsEqual (self, theOther) | |
| IsSame (self, theOther) | |
| SetName (self, theName) | |
| Name (self) | |
| AddAssociatedPMI (self, *args) | |
| AssociatedPMI (self) | |
| __hash__ (self) | |
| __eq__ (self, other) | |
Public Member Functions inherited from manufacturingtoolkit.MTKCore.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.MTKCore.ModelData_Solid.__init__ | ( | self, | |
| theShell ) |
Constructor.
Reimplemented from manufacturingtoolkit.MTKCore.ModelData_Shape.
| manufacturingtoolkit.MTKCore.ModelData_Solid.Append | ( | self, | |
| * | args ) |
Adds a shell to the solid.
There must be single outer (external) shell and zero, one or more inner shells (i.e. voids). It is strongly recommended (although not required) that the first shell being added is an outer shell. Solids with voids may have limited support in CAD Exchanger and other systems.
Returns false if theShell is null and true otherwise.
|
static |
Reimplemented from manufacturingtoolkit.MTKCore.ModelData_Shape.
|
static |
Check the type of object.
Returns true if the specified object is this class type.
Reimplemented from manufacturingtoolkit.MTKCore.ModelData_Shape.