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 > .NET Samples > C# Samples
.NET C# Samples

C# Samples

C# samples are implemented as Microsoft Visual Studio .NET projects. Source code for all sample are available in Samples\NET\CS 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.

Sample Description Difficulty
3DBugger Different methods and techniques for debugging 3D applications using KernelCAD 3D Debugger Advanced
BoolOp Demonstrates programming of Boolean Operations Medium
Capture Capturing the 2D image currently displayed in 3D view Simple
Cannon Demonstrates calculation on intersections on a line with all objects in the model. It also demonstrates direct user drawing with IDraw interface, Runtime creation and manipulation of objects, programmatic manipulation of view with ILook interface and  runtime programmatic positioning and arranging objects in the model. Advanced
Clip programming of Clipping Planes. Simple
Collision Usage of metric interfaces for Collision Detection Medium
Collision Path Demonstrates programming of Path Collision Detection. Medium
Cross View Demonstrates different methods of calculation and display of intersection of 3D objects with a 3D plane. Advanced
Data Flow Programmatic Import / Export Medium
DIView KernelCAD control as resizable view Simple
Gear Demonstrates usage of tree-tier design, which includes Geometry layer. This sample differs form Turbine  sample by more realistic and hence more complicated geometry of the model. Advanced
Label Demonstrates programming of 3D Labels Medium
LabelEx Advanced properties of 3D Labels and geometric text Medium
Layers Programming of layers Medium
Light Properties of light sources. Material. Programming of Context Menu  
LowDim Programming of Point Set objects Simple
MiniCAD Parametric modifications of 3DS and SOR objects. Object movements Medium
Modal Modal Mode and movements constraints Medium
Modeling Curves ddemonstrates creation of surfaces and solids from arrays of curves using thru operation Simple
Morph Direct manipulation of an object surface using set of meshing interfaces. It also implements runtime creation of a meshed object without referring to any model file Advanced
Object Array Dynamic object creation and and manipulation of child/parent hierarchy Medium
Patch Modifications of 3DS surfaces Simple
Pick Different methods of runtime object and point selection Medium
Profile Modification of profiles of 3DS objects Medium
Shape Explorer Browsing sub shape hierarchy of bspline objects Simple
Smart Labels Automatically positioned non-overlapping 3D text C#, C++
Strip Topology Topological operations performed programmatically on strips of surface patches. Medium
Symmetry Types and properties of Symmetries (Arrays) Simple
User Data Usage of custom data in objects and Model Data Table Medium
View Point View point manipulation Medium
Zoom Programming of zoom and view point Medium

See also Visual Basic .NET Samples,   Visual C++ Samples,    All samples