SGclosurecapofFS

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Parametric Design
Introduced first in SolidGeometry 4.7, Creation date: 2019-07-02, Last change: 2025-09-14

Automated Design of Closure Cap

Description

Could be improved one day by slicing

See Also: SGselect3d , FSofSGfacet , CPLofVLFL , CPLregionsholes

Example Illustration

 missing image of SGclosurecapofFS(SG,fi,t,in)

Syntax

[SGcap,SGfix,CPLo,CPLi,T,ez]=SGclosurecapofFS(SG,[fi,t,in])

Input Parameter

SG: Solid Geometry
fi: one facet index of FS or empty for interactive selection
t: thickness; default is one
in: inlay if true; onlay if false; default is false

Output Parameter

SGcap: SG of Closure Cap (green)
SGfix: SG of Fixture (blue) in case of inlay to add to Solid
CPLo:
CPLi:
T:
ez:

Examples


SGclosurecapofFS(SGsample(25)) % select
SGclosurecapofFS(SGsample(25),95) % close
SGclosurecapofFS(SGsample(25),107) % no opening
SGclosurecapofFS(SGsample(25),301) % no opening
SGclosurecapofFS(SGsample(25),95,'',true) % close inlay




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