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 > KernelCAD Models > Mathematical Objects > 2D Elements > Line Strips
Line Strip

2D Segment Strips

Segment strip (or 2D Strip) is a chain of joined 2D Curved Segments. Segments in this product are either arcs or segments of straight lines. Arcs should  not be longer than half of its full circle. Angles at segment joints should not be equal to 0 or 360 degrees.

Programmatically Segment strips can be created using call to the IObjectGenerator.Create method with eType parameter set to eObjTypeArcLineStrip. The method returns IStripArcLine_KC interface. Segment strips also implement IStrip and IStripTopol

A segment strip can be edited interactively in a 2D editor either by changing coordinates of joint points or changing properties of a segment. In this release a segment can have arc radius or arc curvature as its single property.

A strip can be extended with a new segment by using Add command available form the Command Page of the Form View.. This operation adds new straight segment to the selected end. If there are no ends a new point will be created.

To add a new internal segment to a strip use Break command. "Break" command divides the segment in two. To break a segment press Break button on Command page of the form and click the segment at point where you would like to break it.

Selected straight line can be changed to an arc and vice versa by using Change Class command available from the context menu. or the Command Page.

A segment strip is called closed if it a loop, i.e. it has no ends, so that the second end of the last segment is the first end of the first segment. We consider a loop valid if it has three or more segments. Closed strips have either Clockwise or Counter Clockwise (CW and CCW) orientation. For cross-sections of Generic 3D Objectss only CCW oriented loops are valid. For the case of Surface Of Revolution only loops with the opposite CW orientation are valid. To see orientation of a loop use "Strip Order" command available from context menu (right mouse click in the window).

Loops with self intersections are considered invalid.  If this situation has happened accidentally, software in most cases will work, but  covers of front and back edges will be automatically disabled. If you need them, correct the shape and switch correspondent check boxes in the "Current object" > Options dialog back on.

A strip which has a single point and no segments is considered valid. Strips like that are normally cross-sections of 3D lines. Empty strips (without any elements) are valid too. New points can be added to a strip using Add command.

Delete  command, which is available from the Command Page deletes currently selected segment from the strip. Note that the edited strip is assumed to be always connected, that is why deleting a middle segment from a non-closed strip will not have any effect. This will not happen if you are deleting an end segment from a non-closed loop.

Close Loop command from the Command Page adds a new straight segment which joins ends of the current strip to make it closed. "Close loop" command does not have any effect for strips which consist of a single segment.