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 > Delphi Samples > 3DBugger
3DBugger overview

3DBugger Tutorial

3DBugger tutorial demonstrates different methods and techniques for debugging 3D applications using Visual Studio 2005. The tutorial will work with any later version of Visual Studio too.

See also: KernelCAD 3D Debugger, I3DBugger

The application  

3DBugger sample does not use any KernelCAD component by default. The KernelCAD is loaded dynamically in debug configuration when there is need to display intermediate results in 3D.

The application demonstrates calculation of intersection of a 3D pyramid with a plane.

Corners of the pyramid are located at points: (0, 0, 0)  (1, 0, 0)  (0, 2, 0) and (0, 0, 3).

The dialog displays location and orientation of the plane. When user clicks Calculate button the application launches KernelCAD Debugger in separate window and displays intermediate results as 3D objects.

Copy 3DBugger folder from installation directory into appropriate working folder. Open the project.

Try a "dry run" first by starting the application and pressing the Calculate button. If the debugger window does not appear in a couple of seconds launch 3D Debugger from the Start menu and select Debug > Start from the menu. This will switch the display to wire frame, open Model explorer and the application will be waiting for the next dump operation.. If the default 3D stream is not empty its contents will be displayed. In this case select Action > Delete All in menu of Model Explorer to clear the window.

To continue please select you language:

C#

VB .NET

 C++