How DG Kernel Works

Let us consider the most common scenario: You have a model in some of the supported formats, say it is FaceCutter.step and you want to display it on a form in your application
  • Insert DG Kernel control in a form of your application using standard procedure for ActiveX controls
  • Open properties of the control in your dev environment and set the "ModelPath" property to the full path (for simplicity) of the FaceCutter.step
  • Build and run your application to view the model in 3D. Use context menu to explore and to try a few operations available immediately
 
Say you would like to enable your application to modify diameter of the face cutter
  • In your applications code call "GetModel" method of the control to retrieve the main interface, from which all properties of the model can be accessed and manipulated programmatically
  • Modify parameters of the model using DG Kernel's interface hierarchy on user input. Use samples like Modeling Curves, Shape Explorer, Gear or Transform to extract some code snippets
  • Call Save or SaveAs methods of the control or IModel(Ex) interface to store the result
 

There are many more scenarios for using DG Kernel components. The control does not have to be small: Context menu has "Full Screen" option. It also can be resized at runtime.

The whole model can be built programmatically from scratch without using any  files at all.

DG Kernel can also be used as a geometry engine for different geometrical calculations or model manipulations without having any graphical window.