Divooka Reference

CAD Text

3 nodes

On this page 3

Outlines

Function

Builds independently owned closed glyph contours, including counters. Use Regions when the outer/hole relationship is needed.

Signature
Outlines -> Curve Array
    text: Text
    font: Cad Font
    size: Number
    frame: Optional Plane
    tolerance: Number
Curve[] Outlines(
    string text,
    CadFont font,
    double size,
    Plane? frame,
    double tolerance = 1E-06)

Parameters

nametypedefaultdescription
textText—
fontCad Font—
sizeNumber—
frameOptional Plane—
toleranceNumber1E-06

Returns

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

Regions

Function

Builds filled regions with counters preserved. Supports multiline text, kerning and the font package's OpenType shaping; unsupported glyphs fail rather than silently becoming boxes.

Signature
Regions -> Curve Region Array
    text: Text
    font: Cad Font
    size: Number
    frame: Optional Plane
    tolerance: Number
CurveRegion[] Regions(
    string text,
    CadFont font,
    double size,
    Plane? frame,
    double tolerance = 1E-06)

Parameters

nametypedefaultdescription
textText—
fontCad Font—
sizeNumber—
frameOptional Plane—
toleranceNumber1E-06

Returns

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

Solid

Function

Extrudes filled glyph regions along the frame normal. Negative depth engraves towards the back of the plane; union or subtract the result from a workpiece. Its groups are an extrusion's: the whole, "start", "end" and "sides".

Signature
Solid -> Cad Model
    text: Text
    font: Cad Font
    size: Number
    depth: Number
    frame: Optional Plane
    tolerance: Number
    name: Text
CadModel Solid(
    string text,
    CadFont font,
    double size,
    double depth,
    Plane? frame,
    double tolerance = 1E-06,
    string name = "")

Parameters

nametypedefaultdescription
textText—The text.
fontCad Font—The font.
sizeNumber—The text's size, in the model's units.
depthNumber—How deep; negative engraves backwards.
frameOptional Plane—The plane the text stands on; the world's XY plane when none.
toleranceNumber1E-06The model's tolerance, in its units.
nameText—What its groups are called; empty for "Extrude Regions".

Returns

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