by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 1.0, Creation date: 2011-12-11, Last change: 2025-09-14
[VL,FL]=VLFLjointR1([R1H,R1A,R1I,s,R2H,hd,sd])
R1H: | Height of the overall link | |
R1A: | Outer Diameter of the inner axis | |
R1I: | Inner Diameter of the inner axis | |
s: | distance between inner and outer axis | |
R2H: | Height of the outer axis; Default is R1H/3 | |
hd: | Height of the block; default is 1 | |
sd: | distance between block and outer axis; default is s |
VL: | Vertex list of object | |
FL: | Facet list of object |
Generate a link with Length 30, Inner axis 1 mm, hollow shaft 0.5mm, distance between axis 0.5mm:
[VL,FL]=VLFLjointR1 (50,5,4,0.5);
VLFLplot(VL,FL,'m')
VLFLwriteSTL ('TUBE','by Tim C Lueth',VL,FL);