SGoftext

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 3.2, Creation date: 2016-12-23, Last change: 2025-09-14

returns a solid for text optional bended



See Also: SGtext , VLFLtextimage , SGtextstamp

Example Illustration

 missing image of SGoftext(text,sz,t,radx,rady,FN)

Syntax

[SG,CPL,sz]=SGoftext(text,[sz,t,radx,rady,FN])

Input Parameter

text: string
sz: size in [x y z] or just [0 y z] [x 0 z]
t: thichness of plate does reduce z; default is 0
radx: radius in x; default is planar
rady: radius in y; default is planar
FN: Fontname; default is 'default'

Output Parameter

SG: Solid Geometry
CPL: Contour of the text
sz: size of the object before bending

Examples

Weihnachten on sphere with radius 40:
SGoftext ('Weihnachten',[40 30 5],'',40,40)
SGoftext ('Weihnachten',[40 0 5],'',40,40)
SGoftext ('Weihnachten',[0 30 5],'',40,40)
SGoftext ('Mimed','','','','','Bauhaus 93'); view(0,90);




Copyright 2016-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21