Writes text as solids: every pen stroke becomes a chain of cylinders standing along Z, hulled together into one smooth solid, so a letter like A gives several solids.
The strokes lie in the XY plane, centered on the origin, and the cylinders are
extrusionHeight long with half above and half below the plane.
The text, the cylinder height and radius, the segment count and the font options
One solid per pen stroke
Writes text as solids: every pen stroke becomes a chain of spheres hulled together into one rounded solid, so a letter like A gives several solids.
The strokes lie in the XY plane, centered on the origin, and the spheres of radius sit on
that plane.
The text, the sphere radius, the segment count and the font options
One solid per pen stroke
Writes text as pen strokes: each stroke is a list of 2D points in the XY plane, and a letter may take several.
The text starts at xOffset, yOffset and is not centered; height is the height of a
capital letter, lineSpacing and letterSpacing scale the gaps and align places the lines
of a multi-line text.
The strokes as lists of 2D points
Writing text with JSCAD's built-in stroke font.
createVectorTextgives the pen strokes of the text as lists of 2D points in the XY plane;cylindricalTextandsphericalTextturn every stroke into a solid by chaining hulled cylinders or spheres along it, centered on the origin. The textheightis the height of a capital letter in model units.