SGgearDINrot

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - ENG-Components
Introduced first in SolidGeometry 4.3, Creation date: 2018-10-08, Last change: 2025-09-14

Calculate a gear with the count from 9.12 to 48; for internal and external gears

Description

This function modified for SG-Lib 5.3 creates also Base-Frame B, Gap-Frame FG and Tooth-Frame FT by a given angle. A chain of geras can be linked by using the SGtransrelSG concept by aligning "FG" and "FT". It is possible to give a desired rotation angle for the following toth frame but this angle has a quantization of 2*pi/z.
In case of linking just 2 gears, the angle may not by as important, but as soon as there is 3rd gear of a mechanism designed the correct angle has to be used

See Also: SGgearchain , SGgearratio , PLgearDIN , SGgearpairDIN , VLFLgear , VLFLgearhub4shaft , VLFLinternalgear

Example Illustration

 missing image of SGgearDINrot(m,z,R,h,tig,al,

Syntax

[SG,al]=SGgearDINrot([m,z,R,h,tig,al,"space"])

Input Parameter

m: modul; negativ values for internal gears; 0 for testing
z: number of teeth
R: radius for a shaft/axle or CPL for inner contour
h: height of the gear; or [zmin zmax slot]; Base = eye(4); [h(1)+slot h(2)-slot-space(1)]
tig: false - gap; true = tooth; at zero line; default is false;
al: desired angle for the following tooth frame
"space": [height and width of spacer] that is always on the upper side default is [0 1.2]

Output Parameter

SG: Solid Geometry
al: angle in steps of 2*pi/z

Examples


SGgearDINrot (0) % SEE ALL THE 4 DIFFERENT TYPES
SGgearDINrot (+1,26)
SGgearDINrot (+1,26,3)
SGgearDINrot (+1,26,'',5,'space',1) % Spacer ontop
SGgearDINrot (+1,26,'',5,'space',[-1 5]) % spacer under and larger
SGgearDINrot (+1,26,CPLmotorshaft)
SGgearDINrot(0,12,'','',[pi/2 -pi/2]) % Positive and negative m for odd and even teeth number
A=SGgearDINrot(1,40,'','',0.7*pi); B=SGgearDINrot(1,33,'','',0.7*pi); SGconcat(A,B,'alignT',{'FG','FT'}); C=ans; view(0,90)
A=SGgearDINrot(-1,40,'','',0.7*pi); B=SGgearDINrot(1,33,'','',0.7*pi); SGconcat(A,B,'alignT',{'FG','FT'}); C=ans; view(0,90)

References

- Erhard, Gunter (2008): Konstruieren mit Kunststoffen, Carl Hanser Verlag, München, 4. Auflage



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