Optionaltext: stringOptionalsegments: numberOptionalxOffset: numberOptionalyOffset: numberOptionalheight: numberOptionallineSpacing: numberOptionalletterSpacing: numberOptionalalign: jscadTextAlignEnumOptionalextrudeOffset: numberThe characters to write; a newline starts a new line and a character outside plain ASCII becomes a question mark
Number of straight pieces used for curved strokes; more makes letters rounder
Where the text starts along X, in model units
Where the baseline of the first line sits along Y, in model units
Height of a capital letter, in model units; the whole text scales with it
Step from one line down to the next as a multiple of the letter height; 1.4 leaves a 40 percent gap
Multiplies the step from one letter to the next; 1 is the font's own spacing and 2 spreads letters twice as far apart
How the lines of a multi-line text line up: to the left, the center or the right
Thickness the strokes will get later, in model units; the outlines are pulled in by half of it so letters keep their size once thick
Feeds
text.createVectorTextwith the text and the font options: where the text starts, how tall a capital letter is, the spacing of lines and letters, the alignment of several lines and the stroke compensation.CylinderTextDtoandSphereTextDtoreuse them.