SGofCPLextrude

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 4.9.1, Creation date: 2020-08-24, Last change: 2025-09-14

returns an extrudes solid mainly the same as SGofCPLz

Description

using ez=="Z' the function just calls SGofCPLz

See Also: SGofCPLz

Example Illustration

 missing image of SGofCPLextrude(CPL,z,ez,ci)

Syntax

SG=SGofCPLextrude(CPL,[z,ez,ci])

Input Parameter

CPL: CPL
z: length or [min max]
ez: '"X" , "Y", OR 'Z' as extrusion direction
ci: optional contour selection sich as 0 for outer boundary

Output Parameter

SG: Solid Geometry

Examples


SGofCPLextrude(PLtrans1(PLarrow(20)),[5 10],'x')
SGofCPLextrude(PLtrans1(PLarrow(20)),[5 10],'y')
SGofCPLextrude(PLtrans1(PLarrow(20)),[5 10],'z')
CPLsample(12); CPL=ans; SGofCPLextrude(CPL,10,'y',0) % only the outer contour
CPLsample(12); CPL=ans; SGofCPLextrude(CPL,10,'y',1) % only the inner countor




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