SGN2SGT
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 5.0, Creation date: 2020-11-24, Last change: 2025-09-15
finds hidden coded frames in a SG and creates frames for the solid
Description
concept by Tim Lueth to hide information of different types in STL files without the need for XML
See Also: SGT2SGN
, SGreadSTL
, SGwriteSTL
Example Illustration
Syntax
SGT=SGN2SGT(SG,[del])
Input Parameter
SG: | | Solid Geometry |
del: | | if true; the coded facets are removed; default is true; |
Output Parameter
SGT: | | Solid Geometry including frames |
Examples
SGTset(SGbox,'TCL',TofP([0 0 25])); SG=ans;
SGT2SGN(SG); A=ans
SGN2SGT(A); B=ans;
SGfigure(-30,30); SGTplotalpha(B);
SGT2SGN(SG); A=ans; fname=SGwriteSTL(A,'Codingtest');
A=SGreadSTL(fname); SGN2SGT(A); B=ans
Copyright 2020-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