Divooka Reference

Weed Surface Trees

3 nodes

On this page 3

Closed Lofts

Function

Creates a periodic cubic loft for each branch. Piecewise linear profiles are split at corners and sewn into one closed body where topology permits.

Signature
ClosedLofts(sections: Cad Tree of Curve) -> Cad Model
CadModel ClosedLofts(CadTree<Curve> sections)

Parameters

nametypedefaultdescription
sectionsCad Tree of Curve—

Returns

resultCad Model
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Weed Surface Trees
Package
CAD

Divide Normals

Function

Samples unit normals on the same grid as Divide Surface, retaining its two leading ancestor indices.

Signature
DivideNormals -> Cad Tree of Vector3d
    surface: Surface
    uCount: Integer
    vCount: Integer
CadTree<Vector3d> DivideNormals(
    Surface surface,
    int uCount = 10,
    int vCount = 10)

Parameters

nametypedefaultdescription
surfaceSurface—
uCountInteger10
vCountInteger10

Returns

resultCad Tree of Vector3d
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Weed Surface Trees
Package
CAD

Extrude

Function

Extrudes a curve exactly; U runs along the extrusion and V along the profile.

Signature
Extrude(profile: Curve, direction: Vector3d) -> Surface
Surface Extrude(Curve profile, Vector3d direction)

Parameters

nametypedefaultdescription
profileCurve—
directionVector3d—

Returns

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