CPLradialhatch

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 5.2, Creation date: 2022-07-02, Last change: 2025-09-15

create radial hatches between contours 1 and 2


Use carefully: The 'CPLradialhatch' function has not yet been extensively tested

Description

Used to created a strutted tube structure by filling the space between an inner and an outer contour

See Also: CPLhatch

Example Illustration

 missing image of CPLradialhatch(CPL,wl,cs,n)

Syntax

[CPL,CPLN]=CPLradialhatch(CPL,[wl,cs,n])

Input Parameter

CPL: Tube style contour to fill
wl: wall thickness; default is 1.2mm
cs: Contour/region to fill 0 ist outside; ; default is [1 2]
n: number of strutts

Output Parameter

CPL: Final Contour
CPLN: Stutted Contour

Examples


CPLradialhatch(CPLsample(13)*10,2); CPL=ans;
SGofCPLextrude(CPL,10,'y')
CPLradialhatch([PLcircle(10);nan nan;PLcircle(8); nan nan; PLcircle(6);nan nan; PLcircle(4)],.1,[1 2]); CPL=ans;
CPLradialhatch([PLsquare(10);nan nan;PLsquare(8); nan nan; PLsquare(6);nan nan; PLsquare(4)],.1,[1 2]); CPL=ans;




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