Syntax
[SGC,SG,CPLh,CPL]=SGcapontop([SG,b,T,ctyp,cpos,offs])
Input Parameter
SG : | | Solid Geometry |
b : | | [z and w] depth and wall thickness |
T : | | Optional frame relative to SG (Char) to specify upwards |
ctyp : | | cover type; default is 'default' Try 'plug' or 'full', or 'simple' |
cpos : | | reference for coverage 'none', 'frame' , 'surface' |
offs : | | used for plug to make sure that the plug looks outside |
Output Parameter
SGC : | | Solid Geometry that covers SG from the top with Frames 'F' and 'B' |
SG : | | Solid Geometry with modified Frame 'F' to adjust to Cap |
CPLh : | | Convex hull contour |
CPL : | | |
Examples
SGservosample(4); SG=ans;
SGcapontop(SG,[3 1.5]
SGmotorN20('encoder'); SG=ans;
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