Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.MTKCore.ModelData_Solid Class Reference

Solid Solid.hxx cadex/ModelData/Solid.hxx. More...

Inheritance diagram for manufacturingtoolkit.MTKCore.ModelData_Solid:
manufacturingtoolkit.MTKCore.ModelData_Shape manufacturingtoolkit.MTKCore.BaseObject

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)
 

Detailed Description

Solid Solid.hxx cadex/ModelData/Solid.hxx.

Defines a topological solid.

The following image depicts an example of a solid:

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.

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.MTKCore.ModelData_Solid.__init__ ( self,
theShell )

Constructor.

Reimplemented from manufacturingtoolkit.MTKCore.ModelData_Shape.

Member Function Documentation

◆ Append()

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.

◆ Cast()

manufacturingtoolkit.MTKCore.ModelData_Solid.Cast ( * args)
static

◆ CompareType()

manufacturingtoolkit.MTKCore.ModelData_Solid.CompareType ( theObject)
static

Check the type of object.

Returns true if the specified object is this class type.

Reimplemented from manufacturingtoolkit.MTKCore.ModelData_Shape.


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