SGscale2dim

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 4.7, Creation date: 2019-08-02, Last change: 2025-09-14

scales a solid to fit into a box with given dimensions



See Also: SGgrowoutsideFS , SGgrow , SGmagnifyVL , SGshrinktofit

Example Illustration

 missing image of SGscale2dim(SG,dim,scc,T)

Syntax

SGN=SGscale2dim(SG,[dim,scc,T])

Input Parameter

SG: Solid Geoemtry
dim: size in [x y z]
scc: dimensions to consider default is 'xyz'
T: optional Coordinate system or frame name that defines x y zdefault is ''

Output Parameter

SGN: New Geometry

Examples


SGscale2dim(SGbox,[10 10 10],'yz')




Copyright 2019-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