Divooka Reference

CAD Surfaces

17 nodes

On this page 17

Area

Function

Area of the entire untrimmed surface.

Signature
Area(surface: Surface) -> Number
double Area(Surface surface)

Parameters

nametypedefaultdescription
surfaceSurface—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Boundary

Function

Coons patch bounded by four connected curves in perimeter order.

Signature
Boundary(perimeter: Curve Array, tolerance: Number) -> Surface
Surface Boundary(Curve[] perimeter, double tolerance = 1E-06)

Parameters

nametypedefaultdescription
perimeterCurve Array—
toleranceNumber1E-06

Returns

resultSurface
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Closest Point

Function

Closest point on an untrimmed surface.

Signature
ClosestPoint(surface: Surface, point: Point3d) -> Point3d
Point3d ClosestPoint(Surface surface, Point3d point)

Parameters

nametypedefaultdescription
surfaceSurface—
pointPoint3d—

Returns

resultPoint3d
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Curvature At

Function

Principal, Gaussian and mean curvature at normalized U and V.

Signature
CurvatureAt -> Surface Curvature
    surface: Surface
    u: Number
    v: Number
SurfaceCurvature CurvatureAt(
    Surface surface,
    double u,
    double v)

Parameters

nametypedefaultdescription
surfaceSurface—
uNumber—
vNumber—

Returns

resultSurface Curvature
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Frame At

Function

Local surface frame at normalized U and V.

Signature
FrameAt(surface: Surface, u: Number, v: Number) -> Plane
Plane FrameAt(Surface surface, double u, double v)

Parameters

nametypedefaultdescription
surfaceSurface—
uNumber—
vNumber—

Returns

resultPlane
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Interpolate Grid

Function

Interpolates a rectangular grid in U-major order: points[u * countV + v].

Signature
InterpolateGrid -> Surface
    points: Point3d Array
    countU: Integer
    countV: Integer
    degreeU: Integer
    degreeV: Integer
Surface InterpolateGrid(
    Point3d[] points,
    int countU,
    int countV,
    int degreeU = 3,
    int degreeV = 3)

Parameters

nametypedefaultdescription
pointsPoint3d Array—
countUInteger—
countVInteger—
degreeUInteger3
degreeVInteger3

Returns

resultSurface
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Iso Curve

Function

Isoparametric curve varying in U (direction 0) or V (direction 1), at a normalized parameter in the other direction.

Signature
IsoCurve -> Curve
    surface: Surface
    direction: Integer
    parameter: Number
Curve IsoCurve(Surface surface, int direction, double parameter)

Parameters

nametypedefaultdescription
surfaceSurface—
directionInteger—
parameterNumber—

Returns

resultCurve
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Loft

Function

Uncapped loft surface with explicit interpolation degree and closing behavior.

Signature
Loft -> Surface
    sections: Curve Array
    degree: Integer
    type: Loft Type
    closed: Truth
Surface Loft(
    Curve[] sections,
    int degree = 3,
    LoftType type = LoftType.Normal,
    bool closed = false)

Parameters

nametypedefaultdescription
sectionsCurve Array—
degreeInteger3
typeLoft TypeNormal
closedTruthFalse

Returns

resultSurface
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Network

Function

Gordon surface through intersecting U and V curve families; the network must be compatible.

Signature
Network -> Surface
    uCurves: Curve Array
    vCurves: Curve Array
    tolerance: Number
Surface Network(
    Curve[] uCurves,
    Curve[] vCurves,
    double tolerance = 1E-06)

Parameters

nametypedefaultdescription
uCurvesCurve Array—
vCurvesCurve Array—
toleranceNumber1E-06

Returns

resultSurface
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Normal At

Function

Surface unit normal at normalized U and V.

Signature
NormalAt(surface: Surface, u: Number, v: Number) -> Vector3d
Vector3d NormalAt(Surface surface, double u, double v)

Parameters

nametypedefaultdescription
surfaceSurface—
uNumber—
vNumber—

Returns

resultVector3d
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Offset

Function

Signed offset surface, fitted to tolerance when an exact construction is unavailable.

Signature
Offset -> Surface
    surface: Surface
    distance: Number
    tolerance: Number
Surface Offset(
    Surface surface,
    double distance,
    double tolerance = 1E-06)

Parameters

nametypedefaultdescription
surfaceSurface—
distanceNumber—
toleranceNumber1E-06

Returns

resultSurface
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Panels

Function

Subdivides a surface into U-major rectangular panels.

Signature
Panels -> Surface Array
    surface: Surface
    countU: Integer
    countV: Integer
Surface[] Panels(Surface surface, int countU, int countV)

Parameters

nametypedefaultdescription
surfaceSurface—
countUInteger—
countVInteger—

Returns

resultSurface Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Point At

Function

Surface point at normalized U and V.

Signature
PointAt(surface: Surface, u: Number, v: Number) -> Point3d
Point3d PointAt(Surface surface, double u, double v)

Parameters

nametypedefaultdescription
surfaceSurface—
uNumber—
vNumber—

Returns

resultPoint3d
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Reverse

Function

Reverses one parametric direction without changing the surface locus.

Signature
Reverse(surface: Surface, direction: Integer) -> Surface
Surface Reverse(Surface surface, int direction)

Parameters

nametypedefaultdescription
surfaceSurface—
directionInteger—

Returns

resultSurface
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Ruled

Function

Ruled surface between two curves.

Signature
Ruled(first: Curve, second: Curve) -> Surface
Surface Ruled(Curve first, Curve second)

Parameters

nametypedefaultdescription
firstCurve—
secondCurve—

Returns

resultSurface
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Transformed

Function

Transforms an independently owned surface.

Signature
Transformed(surface: Surface, transform: Transform) -> Surface
Surface Transformed(Surface surface, Transform transform)

Parameters

nametypedefaultdescription
surfaceSurface—
transformTransform—

Returns

resultSurface
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD

Trim

Function

Rectangular sub-surface using normalized bounds.

Signature
Trim -> Surface
    surface: Surface
    uStart: Number
    uEnd: Number
    vStart: Number
    vEnd: Number
Surface Trim(
    Surface surface,
    double uStart,
    double uEnd,
    double vStart,
    double vEnd)

Parameters

nametypedefaultdescription
surfaceSurface—
uStartNumber—
uEndNumber—
vStartNumber—
vEndNumber—

Returns

resultSurface
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
CAD Surfaces
Package
CAD