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 > Sections > Surface and Solid Sections > Pipes
Pipes

Pipes

Pipe sections is a type of object which is build around a 3D curve (Central Curve). They are similar to Surface Of Revolution objects. The difference is that in SOR the central curve is a straight line along the local z-axis. Pipes on the other hand have constant profile along an arbitrary shaped central curve.

A Pipe object can represent a geometric pipe with solid walls or external surface of a pipe. When ends of pipe are covered (use IBoundary interface queried from IPipeSection) pipe represents a curved solid bar.

Pipes can be programmed using IPipeSection interface.

Pipes are sections and hence implement ISection and ISection2

Properties

Name Type Description Interface
CentralCurve ICurve* Central Curve. Reference to a curve created separately from the pipe. Normally the curve implements more specific interface like ICurveFreeForm, which can be queried from ICurve. See also Arc Spline Curves and notes below. IPipeSection
Diameter double Outer diameter of the pipe IPipeSection
InnerDiameter double Inner diameter of the pipe IPipeSection
InternalSurface bool Determines whether cylindrical surface of inner patch of the pipe is part of the object IPipeSection
RenderType int Determines whether meshed surface is created for rendering. Valid values: 0 - to create mesh for faster rendering, 1 - to use direct drawing to reduce memory consumption IPipeSection
CoverEdge0 bool Inherited form Section. Determines whether disk at the first end is part of the object IBoundary
CoverEdge1 bool Inherited form Section. Determines whether disk at the last end is part of the object IBoundary

Pipe objects can be created with a call to Create or Create2 method of IDIObjectGenerator interface with parameter eType set to eObjTypePipeSection member of EObjectType enumeration. Query IPipeSection  from the returned IUnknown interface.

Before using a pipe object the CentralCurve property must be set to ICurve implemented by a curve object. The curve can be created with another call to Create(2) of IDIObjectGenerator interface with parameter eType set to eObjTypeFreeFormCurve or eObjTypeArcSplineCurve member of EObjectType enumeration.

See also: Pipes sample,