Home Page > KernelCAD Components > Advanced functionality > Dynamic Object Creation
Dynamic object creation
Dynamic object creation
New objects in KernelCAD software can be created using correspondent Object
Generators. Currently available generators are:
DIObjGenerator, Sect3DGenerator, SectSORGenerator
and Model generator.
Object
Generators in DInsight software are instances of COM classes, which allow creation of new objects
which are not present in the model yet. Object Generator is a sort of
"new" operator similar to one of C++, C# etc. Both objects implement a
single interface, which can be obtained either by QueryInterface in C++ or cast/coercion
in other languages. See correspondent object for details.
IStdShape interface provides a
simplified way for creation of standard objects like Cylinder, Sphere, etc.
See also Object Array programming sample.
|