Pipes
Pipe sections is a type of object which is built 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 entities 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 Entity. Determines whether disk at the
first end is part of the object |
IBoundary |
CoverEdge1 |
bool |
Inherited form Entity. 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,
|