SGofCPLextrudealongCPL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 5.2, Creation date: 2022-03-26, Last change: 2025-09-15

extrudes a contour ([x z]) along a 2D-contour [x y]


Will be removed (2025-09-21): Use 'SGofCPLcontour' instead

Description

See also powerful function SGofCPLtransT and TLofCVL
Not completely bug free because of TLofCVL
There is another version called SGofCPLcontour since (2024)


See Also: SGofCPLcontour , SGofCPLtransT , TLofCVL , SGofCPLextrude , SGofCPLcontour

Example Illustration

 missing image of SGofCPLextrudealongCPL(RL,CPL,adjst,r)

Syntax

SG=SGofCPLextrudealongCPL([RL,CPL,adjst,r])

Input Parameter

RL: Point list in x and z
CPL: Contour path for extrusion; considered as close
adjst: if true; minimal x value of RL is defined by the contour path CPL; default is true
r: radius for outer contour; default is widhth of RL

Output Parameter

SG: Solid Geometry

Examples


SGofCPLextrudealongCPL(PLsquare(2,10),CPLsample(3)*10);
SGofCPLextrudealongCPL(CPLsample(3),CPLsample(3)*10); % bug
SGofCPLextrudealongCPL(CPLsample(3),CPLsample(3)*20); % correct




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