SGofCPLcontour

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

extrudes a CPL as cross section contour along another CPL as extrusion contour

Description

Seems to be a reimplementation of SGofCPLextrudealongCPL


See Also: SGofCPLextrudealongCPL

Example Illustration

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

Syntax

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

Input Parameter

RL: CPL of a profile to be extruded [x z]; default is CPLsample(3)
CPL: CPL of a contour to extrude the RL contour default is CPLsample(2)*20
adjst: if false; minimum x of RL becomes the point on CPL; default is true
r: radius to avoid sharp angles; default is empty => automatic in case of adjst==true

Output Parameter

SG: Solid Geometry

Examples


SGofCPLextrudealongCPL(PLsquare(3),PLsquare(40)); % Problems in the corners
SGofCPLcontour(PLsquare(3),PLsquare(40)); % Radial edges in the corners
SGofCPLcontour(PLsquare(3),PLsquare(40),false); % CPL is not crossed




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