Syntax
[SG,SGB,SGC,AParts]=SGplugintube([RR,LL,sl,"cap","close"])
Input Parameter
RR : | | [Ri Wt n] [Inner-Radius wall-thickness edges]; default is [8.0 1.5 0]; Minimal wall size is 1.5mm |
LL : | | [LL LU LO] [length lower-overlap top-overlap]; default is [160 30 30] |
sl : | | slot size to increase |
"cap" : | | if used there will be caps to plug-in |
"close" : | | if closed (LL(2)==0 || LL(3)==0; floor and/or the top are closed |
Output Parameter
SG : | | Solid of the tube |
SGB : | | lower cap |
SGC : | | top cap |
AParts : | | Parts-List |
Examples
SGplugintube('',[40 20 10],'cap');
SGplugintube('',[40 20 10]);
SGplugintube('',[40 0 0],'close'); % Hollow solid
SGplugintube([15/2 1.5 4],[60 20]); % Square
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