by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 5.3, Creation date: 2023-04-11, Last change: 2025-09-15
See Also: SGstretching
, SGscale2dim
, SGshrinktofit
[SG0,TL,TK]=SGstrechez([SG,ez,zz,ss,"mode","debug"])
SG: | Solid Geometry | |
ez: | strching axis; default is 'x' | |
zz: | intervalls ('dist') or positions ('pos') | |
ss: | scaling factor ('dist') or new positions ('pos') | |
"mode": | default is 'dist', use also 'pos' | |
"debug": | if used, steps are shown |
SG0: | Streched Geometry | |
TL: | List of Frames in the Original | |
TK: | List of Frames in the Streched Object |
SGtetramesh(SGbox,1.5); SGB=ans;
SGstrechez(SGB,'x',[5 5 5],[1 0.5 2])
SGstrechez(SGB,'x',[0 10 20 28],[0 5 10 25],'mode','pos')