KernelCAD Documentation

DInsight Home
Skip Navigation Links.
Start page
Quick Start
Installation
Overview of the software
What is new
Collapse KernelCAD ModelsKernelCAD Models
Collapse KernelCAD ComponentsKernelCAD Components
KernelCAD Control
KernelCAD .NET Control
Methods and Properties
Menu
Model Explorer
Birds Eye View
Programming
Direct User Access
Direct Operations
Interface Queries
Printing Support
Data Types
Modes of KernelCAD Control
DIObjectGenerator class
Properties
FlatObjectArray Poperty
Context
64 bit development
Dual Mode
Initialisation Context
Overlay Editor
Memory Management
Input validation
Collapse Advanced functionalityAdvanced functionality
Collapse InterfacesInterfaces
Alphabetical list
I3DGrid
I3DBugger
I3Dpt
IAxiBase
IAxis
IBoolSection
IBoolSectionEx
IBoundary
IColor
IConstraint
IData
IDiffSurface_KC
IDIFont
IDraw
IDrawUtil
IDraw2
IElem
IElement
IKCLine
ILightSource
ILocation
ILocationEx
IMaterial
IMetrics
IMetrics2
IModel
IModel2
IModelEx
IPatch
IKCPathCollisionDetector
IProfiles
IPropertyArray
IPropertyArray2
IStdShape
IStrip
ISurface
IText
ITexture
ITransform
IUnknown
Collapse Open Cascade TechnologyOpen Cascade Technology
Collapse DataData
Collapse MovementMovement
Collapse FramesFrames
Collapse Oriented ObjectsOriented Objects
Collapse SectionsSections
Collapse GeneralGeneral
Collapse Topological InterfacesTopological Interfaces
Collapse Viewing InterfacesViewing Interfaces
Collapse Lines And CurvesLines And Curves
Collapse Symmetry InterfacesSymmetry Interfaces
Collapse Clipping plane interfacesClipping plane interfaces
Collapse AlgorithmsAlgorithms
Collapse 2D Geometry2D Geometry
Collapse Programming Samples and TutorialsProgramming Samples and Tutorials
Collapse OverviewOverview
Collapse DeploymentDeployment
Collapse .NET Samples.NET Samples
Collapse C++ SamplesC++ Samples
Collapse Visual Basic SamplesVisual Basic Samples
Collapse Delphi SamplesDelphi Samples
Collapse 3D Debugger3D Debugger
Collapse DeploymentDeployment
Licensing
Model Viewer
Open C++ Source
Technical Support
Skip Navigation LinksHome Page > Programming Samples and Tutorials > Visual Basic Samples
VB Samples

Visual Basic Samples

Visual Basic samples are implemented as VB 6.0 projects. Source code for all sample are available in Samples\VB folder of the installation directory. 

If a sample is not available in your language see the comparative samples below and look up a sample in a similar language or contact us.

Note that VB 6.0 samples require Common Dialogs component enabled in the development environment. If it is not present, open in menu Project > Components. On the first "Controls" page press browse button and select commdlg.dll in C:\<Windows directory>\System32 folder. If for some reason the dll is not present select it from the DInsight installation folder.

Patch Sample

Patch Sample demonstrates basics of Kernel CAD control and implementation of interactive and programmatic model modification from inside a VB program. Go to Patch Sample.

DIView Sample

DIView Sample is a simple application, which demonstrates how KernelCAD control can be used to create resizable views similar to DI Viewer. Go to DI View Sample.

MiniCAD Sample

MiniCAD Sample demonstrates more advanced usage of Kernel CAD control, which demonstrates embedded CAD software functionality. Go to MiniCAD Sample.

Symmetry Sample

Symmetry sample demonstrates dynamic creation and manipulation of symmetries   Go to Symmetry Sample..

Pick Sample

Pick sample demonstrates interactive and programmatic selection of 3D objects with the mouse in 3D view of the KernelCAD component  Go to Pick Sample..

Planar Ops Sample

Planar Boolean Operations and programming of Clipping Planes. Go to Planar Ops Sample

Label Sample

Pick sample demonstrates programming of 3D Labels. Go to Label Sample

Calculator Sample

The Calculator sample demonstrates usage of KernelCAD component as a geometric calculations engine, which does not have to have a visible user interface.  Go to Calculator Sample

Transform Sample

Transform application demonstrates usage of ITransform for scaling and translation of different types of objects.  Go to Transform Sample