DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlDG Kernel Control
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse ViewsViews
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Support
Skip Navigation Links Go to ActiveX docs Search Documentation


Cut Surface Operation

To cut surface along a free-form curve:

A)    Define the curve:

  1. Select Advanced > Edit > Line in context menu of the component (right mouse click). Or: Click into the window of the component to make sure it has focus and press 'l' key (for line).
  2. Make a mouse stroke to draw a line. See Picture 1 and the text below for more details. After the mouse is released the curve will be applied to the surface under the stroke. See the picture 2.
  3. If required, change point of view by using rotation/pan/zoom and repeat steps 2 and 3 to extend the line

B) Select AdvB) Select Advanced > Edit > Cut in context menu    or press ‘c’ (for cut) and ‘x’ (execute) keys to execute the cut operation.

 

The part of the surface on the right hand side (looking from external part of the surface) will be removed from the surface. When surface is not closed and external side is not clearly defined it can be determined as the side surface normals are looking into. Normals can be viewed in component via: Right mouse click > in the context menu select Advanced > Normals. In 3D Debugger make the object current and turn on Normals check box on 3D properties page of the form.

As the line has to divide the surface in two parts, it must be either closed (ends nearly coincide. See picture 3) or its ends, after application of the mouse stroke, must be located on edges of the surface. In case of the open curve it is recommended to draw the mouse stroke extended beyond edges of the surface, so it can be applied correctly. See the picture below

All surface under the mouse stroke must be visible. Stroke on pic 4 is invalidting curve goes along edge of the mesh or has self intersections. Mesh of a MeshSection under the line must also be valid, without zero sides and be connecter correctly. Use third party tools or contact us about healing and validation of mesh

 Stroke.gif

Pic 1. Mouse stroke to define and open line.

Pic 2. Line applied to surface

Pic 3. Closed line on surface

Pic 4. Invalid stroke