by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Automatic Design
Introduced first in SolidGeometry 5.2, Creation date: 2022-03-19, Last change: 2025-09-15
[A,C,Aparts]=SGboxbolted([CPL,H,w,MM,"assembly","radial","screws","bolt"])
CPL: | Inner Contour required for assembly | |
H: | Inner height required for assembly | |
w: | [wall cover floor screws]; default is [2 2 2 2]; | |
MM: | [Diameer Length] default is 2.6 6 | |
"assembly": | "DIN7991" or "DIN912985", or "DIN912bush" | |
"radial": | radius for outside box radius; default is 1 | |
"screws": | number of screws; default is 4 | |
"bolt": | if used, there are bolts under the screw sockets |
A: | SG of the Box | |
C: | SG of the Lid/Cover | |
Aparts: | Parts list for Assembly |
SGboxbolted(PLcircle(40),20,[2 4],[2.5 5.9],'screws',4,'bolt')
SGboxbolted(PLcircle(40,8),20,[2 4],[2.5 5.9],'screws',8,'bolt')
SGboxbolted(PLcircle(40,8),20,[2 4],[2.5 5.9],'screws',4,'bolt')
SGboxbolted(PLcircle(40,8),20,[2 4],[2.0 5.9],'screws',4,'bolt','assembly','DIN912bush')
SGboxbolted(CPLsample(18)*2,20,[2 4],[2.0 5.9],'screws',4,'assembly','DIN912985')