Syntax
SGT=SGtext(SG,stext,ez,[sx,sy,ha])
Input Parameter
SG : | | Solid Geometry to mount the text |
stext : | | String to mount, lines with "\n" |
ez : | | Normal vector/Rotation of the union area to mount on [x y z w] |
sx : | | optional parameter for the size |
sy : | | size in y |
ha : | | horizontal alignment (if several lines) such as 'l' or 'r' |
Output Parameter
SGT : | | Solid geometry of the text string |
Examples
Create text with or without an existing solid:
SGtext(SGbox([30,20,1]),sprintf('TL:%s',datestrroman),[0 0 1],30);
SGtext([],sprintf('TL:%s',datestrroman),[0 -1 0],30);
SGtext([],sprintf('TL:%s',datestrroman),[0 -1 0 pi/6],10); rotation
Copyright 2013-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