CAD Text
3 nodes
On this page 3
Outlines
FunctionBuilds 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: NumberCurve[] Outlines(
string text,
CadFont font,
double size,
Plane? frame,
double tolerance = 1E-06)Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | |
| font | Cad Font | — | |
| size | Number | — | |
| frame | Optional Plane | — | |
| tolerance | Number | 1E-06 |
Returns
| result | Curve Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Text
- Package
- CAD
Regions
FunctionBuilds 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: NumberCurveRegion[] Regions(
string text,
CadFont font,
double size,
Plane? frame,
double tolerance = 1E-06)Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | |
| font | Cad Font | — | |
| size | Number | — | |
| frame | Optional Plane | — | |
| tolerance | Number | 1E-06 |
Returns
| result | Curve Region Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Text
- Package
- CAD
Solid
FunctionExtrudes 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: TextCadModel Solid(
string text,
CadFont font,
double size,
double depth,
Plane? frame,
double tolerance = 1E-06,
string name = "")Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | The text. |
| font | Cad Font | — | The font. |
| size | Number | — | The text's size, in the model's units. |
| depth | Number | — | How deep; negative engraves backwards. |
| frame | Optional Plane | — | The plane the text stands on; the world's XY plane when none. |
| tolerance | Number | 1E-06 | The model's tolerance, in its units. |
| name | Text | — | What its groups are called; empty for "Extrude Regions". |
Returns
| result | Cad Model |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Text
- Package
- CAD