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 > Overview > Data Flow
Data Flow Sample

Data Flow Sample

The sample demonstrates importing and exporting models in supported formats

Data Flow also demonstrates usage of KernelCAD as a background geometric data processing engine inside a class library, which does not have any Graphic User Interface

The application can also be used for splitting geometrically isolated objects in an STL file into separate STL files.

Also demonstrates general mesh operation of separating disjoined objects, which often happens during load of an stl file or after a boolean union or subtract operation

Running the application

Open and Save File menu options have additional filters, which allows save and load in different formats. 

"Import Objects" file menu option demonstrates how additional objects from another file in any of above formats can be added to the current model. Note that the new objects can be loaded from either of file formats./p> p>STL Directory submenu allows saving ad loading models as sets of structured STL files. See STL Directory Tree. When "STL Directory">Options>"Build tree" menu option is checked the chosen directory for Save or Load operations is considered as an STL Directory Tree otherwise objects are saved to or loaded from a single directory as separate solids.

STL Directory > Options menu command is used to demonstrate programming different save / load options for STL formal

File > Convert menu option opens a format conversion dialog, which can be used to convert between supported formats, including mass-convertion of folders

Tools Menu demonstrates general mesh operation of separating disjoined objects, which often happens during load of an stl file

Implementationfont>

Please select your programming language:

Visual Basic

C#

C++