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 > 3D Debugger > Creating and editing models
Model Editing

How to create or modify a model

Apart from import and runtime creation (see Dynamic object creation ) KernelCAD models can be created with 3D Debugger application. Once created, model can be modified by KernelCAD components and applications.

Model > New Object menu option in 3D Debugger displays a hierarchical set of pre-modeled objects. Modify button in the dialog allows changing default dimensions and make other options for the selected type of object. To discard the current model and create a new one, select Menu > File > New. To add new or remove the current object  use Model sub-menu.

We recommend saving frequently, during modifications of a model . Hold control and press S key to do it using accelerators. Menu > File > Reload (Ctrl + R accelerator) command can be used to undo all changes made since the last save.

Edit menu allows undo/Redo ( Ctrl + z/Ctrl + y shortcut) the most recent changes without reloading the model. 

Selecting the current object

To modify geometry of an object the object has to be selected as current. Currently selected object (Current object)  is highlighted in 3D View. Selection color can be modified from Menu > Current Object > Options > Color page. To switch to another object select new object in the Model Explorer (Model>Explorer) and press "Set Current" button. Another way to do that is to change 3D View to Modify mode by using radio button on the 3D Page of the form and select a new object with mouse in 3D view. It is recommended to switch 3D view back to view mode to avoid accidental changes in object position. Modify mode is indicated by text "MODIFY MODE", displayed at the right hand bottom corner of the 3D View.

To remove any selection (to view, for example, whole model in its natural color), do the same procedure, except click outside any of 3D objects in the 3D view. In the Model Explorer this operation is performed by pressing "Make Not Current" button, which is available when there is a current object.

Editing the current object

To move the current object around use Current Object Page of the Form View. It also can be done by switching to Modify mode in 3D View using 3D Page of the Form and moving the object with the mouse.  To translate the object - hold shift key and drag using left mouse button. To rotate the object use the left mouse button. We recommend to turn on global and local frames from 3D and Current Object pages to see how the overall geometry of the model is changing. Undo, Redo, Repeat buttons on the "Cur Obj" page of he Form help with correcting object  movements. IViewModal interface allows switching between the two modes programmatically. See Modes for more details

Array of Symmetries is a property common to all types of sections. It can be modified using Symmetry Editor available from the Current Object > Symmetries menu command.

See also Modifications of a Generic 3DSection and Surface Of Revolution  about editing internal geometry of an object.

Modifying the array of sections

A object can be joined to another one by using Join Command.  Joined sections will move together as a solid object when moved using Current Object page of the form, with the mouse or programmatically. The Join command allows creation of complex objects from the primitive ones. Detach command allows to undo result of the Join command.

Sub-menu  Menu > Model allows adding or deleting sections from the model. Import Sections command adds all sections of another model to the current model.