KernelCAD Documentation

DInsight Home
Skip Navigation Links. Skip Navigation LinksHome Page > What is new
What is New

What is new in Version 5.0

Rendering system has been redesigned based on Microsoft DirectX technology and Ogre engine http://www.ogre3d.org/

IMeshEx.SplitLinkedComponents() detects and extracts isolated pieces of mesh surface if there are any

New Trim Operation allows clipping objects with polygons. In direct access mode it allows quickly clip a surface with lines or polygons drawn on the screen, including making holes

Birds Eye View, available from the context menu (right-click > Advanced > View > Birds Eye) is a useful tool for debugging view configuration

One unfortunate change, which needs addition of a line of code, is that any mesh modifying methods like IVeretx.SetVertexCoord() require a call to IModel.Update() or KernelCAD.UpdateSurface() for changes to appear in 3D view. If there are series of such changes it is recommended for performance to make the call once at the end of the series

Another one is that IGraphicItem has to be attached to a view. This can be achieved during construction of the graphic item with IView*.GetGraphicItem() or by calling the AttachView method. See Collision Path sample for an example

A number of samples, including new WpfCAD sample demonstrate usage of KernelCAD in a Windows Presentation Framework application

New ShowAxesIcon context property allows displaying a 3D icon of global axes at the bottom left corner. Global axes can have solid apperance, which can be customised in various ways, including changing it form right to left hand orientation. Details

Measurement grid default style has been changed to finite (model space) for the best rendering performance with the new system

Rendering system in v5 is sensitive to incorrect side of surfaces. If some objects look grey or unlighted use 3D Debugger (3D Debugger ) application to change the sequence of points in the generatrix for SOR type of objects or use "Current Object" > Modify>"Swap Positive Side" command for Mesh Section objects

New Trim Operation allows clipping objects with polygons. In direct access mode it alows quickly clip a surface with lines or polygons drawn on the screen, including making holes

IMeshBuilder_KC provides a simplified way to programmatic building of meshed surfaces

The Modelling Studio application was renamed to 3D Debugger

KernelCAD View control is no longer supported or released because its functionality is fully covered by the standard KernelCAD control. If your documents or application still uses it, replacing clsid:3FABBFD6-7E3E-4B3E-A3FC-ABA9EB980141 with clsid:1BF74BAF-DAB3-4A68-A6EC-409E7AAA24BB will keep it working

"Current Object" > Modify > "Swap Positive Side" menu command of 3D Debugger works for Section Of Revolution (SOR) type of objects too. Use this command to fix lighting issue sometimes appearing in old models

Customisations of Model Explorer are expected to have a different name. This eliminates need to build manual types of setups as the standard redistribution module will not interfere with the custom built dll

New ISection2.Relocate() method allows moving objects without moving children or parent

IMesh.IsValid() allows checking for invalid simplexes and other errors in the mesh construction

MouseEx event is raised for right mouse button actions, if requested

New or expanded Interfaces:

I2DEditor_KC
IBoolSectionEx
IDynamicScreenItemManager_KC
IMesh
IMeshBuilder_KC
IMeshEx
IPrizmInfinite_KC
IProfiledElement_KC
IRefMap_KC
ISection2
IStripArcLine_KC
IView
IView2
IVirtualView

New or improved Samples

Sample New functionality Language
Clip Demonstrates programming of Clipping Planes WPF
DeployWixBasic Deployment using Wix code to include KernelCAD modules Wix XML schema
Lines Line Strips. Options for rendering global axes and axes icon WPF, C++
LowDim Programming of Point Sets WPF
Measure Creation of measurements and measurement-style labels.Options for rendering global axes and axes icon WPF, VB .NET
MeshOps Demonstrates extraction of submeshes WPF
MeshMods

Direct manipulation of surface and handling of selection events

VB .NET, C++
Morph Mesh manipulation. Exploring meshed surface. Shading VB .NET
Patch Modifications of 3DS surfaces WPF
Pick Different methods of runtime object and point selection. Events C#, VB.NET, Delphi, C++
Pipes Programming of Pipe Sections VB .NET, C++, Delphi
Planar Ops Planar Boolean Operations and programming of Clipping Planes. C#, C++, VB6
Smart Labels EnableHiddenItemRemoval property C#, C++
WpfCAD

Usage of KernelCAD in a Windows Presentation Framework application

WPF