by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 3.9, Creation date: 2017-06-12, Last change: 2025-09-14
Will be removed (2025-09-21): Use 'SGof2CPLzcorrelate' instead
[SG,NFLW,NFLA,NFLB]=SGof2CPLzbranch([CPLA,CPLB,z,stype,ctype])
CPLA: | Contour A | |
CPLB: | Contour B | |
z: | height or [height separation]; default is 0.5 | |
stype: | "number", "length", "angle", "center"; default is "length" | |
ctype: | "mina" or "miny"; default is "mina" |
SG: | Solid Geometry of the branch | |
NFLW: | Wall Facets | |
NFLA: | Bottom Facets | |
NFLB: | Cover Facets |
SGof2CPLzbranch(CPLsample(2), CPLsample(9),50)
SGof2CPLzbranch(CPLsample(6), CPLsample(10),50)
SGof2CPLzbranch(CPLsample(6), CPLsample(10),[50 0.9])
SGof2CPLzbranch(CPLaddauxpoints(CPLsample(6),1), CPLaddauxpoints(CPLsample(10),1),[50 0.9])
SGof2CPLzbranch(CPLselectinout(CPLsample(38),[1 10]),CPLselectinout(CPLsample(39),[1 10]),10);