SGofCPLzgrid

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 5.4, Creation date: 2024-06-13, Last change: 2025-09-15

creates a Contour by extrusion using a z coordinate list



See Also: SGofCPLz , SGofCPLzgrow

Example Illustration

 missing image of SGofCPLzgrid(CPL,zz,dx,dy)

Syntax

[SG,nva,FLW,FLU,FLO]=SGofCPLzgrid(CPL,[zz,dx,dy])

Input Parameter

CPL: Contour
zz: list of z values
dx: list of corresponding x deviation
dy: list of corresponding y deviation

Output Parameter

SG: SOlid Geometry
nva: number of vertices per plane
FLW: Only the walls
FLU: Only the floor
FLO: Only the cover

Examples


SGofCPLzgrid(CPLsample(6),-3:1:10)
SGofCPLzgrid(CPLsample(6),0:1:10,0:6,0:6)
SGofCPLzgrid(PLcircle(3)+[10 0],0:10,10*cos(0:pi/3/10:pi/3),10*sin(0:pi/3/10:pi/3))
SGofCPLzgrid(PLcircle(3),0:10,0,10*sin(0:pi/3/10:pi/3))
SGofCPLzgrid(PLcircle(3),0:10,10*cos(0:pi/3/10:pi/3),0)

SGofCPLzgrid(CPLradialslots(20,1.2))




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