by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 5.4, Creation date: 2024-08-11, Last change: 2025-09-15
See Also: SGofCPLz
, SGofCPLzgrow
, SGofCPLzgrid
, TLofCVL
[SGN,NFW,FLA,FLB]=SGofCPLTL(CPLC,TL)
CPLC: | Contour to extrude along TL | |
TL: | array [4,4,n] of the path |
SGN: | Final Solid including VL, FL | |
NFW: | just FL of the walls | |
FLA: | just FL of the floor | |
FLB: | just FL of the ceiling |
CPLC=PLsquare([60 40]);
CPLC=[CPLC;nan nan;CPLbuffer(CPLC,-5)];
PL=[0 0; 0 80; 80 80; 80 40; 160 0];
PL=VLaddz(PL); PL(end,3)=80;
Ro=rofcirclearoundCPL(CPLC);
TL=TLofCVL(PL,Ro*1.1,'','','rad',false);
SGofCPLTL(CPLC,TL)