looooo / freecad.gears

a gear module for freecad
GNU General Public License v3.0
252 stars 95 forks source link

Helical internal involute gear #98

Closed ofpkubi closed 2 years ago

ofpkubi commented 2 years ago

Hi,

It seems when I give a beta other than zero (even if 0.001 degree) for an internal involute gear, it loses its proper tooth geometry and goes into a plane walled tooth.

Reproduce Please see the attached file. Just change the beta in the spreadsheet. planetary.zip

SW version(s) used Debian testing Stable: FreeCAD_0.19.3-Linux-Conda_glibc2.12-x86_64 Weekly: FreeCAD_weekly-builds-27008-Linux-Conda_glibc2.12-x86_64 Realthunder's: FreeCAD-asm3-Daily-Conda-Py3-Qt5-20220111-glibc2.12-x86_64

Development branch of freecad.gears. Installed on 2022-01-14 from github (pip install https://github.com/looooo/FCGear/archive/develop.tar.gz)

looooo commented 2 years ago

@ofpkubi can you post a screenshot?

ofpkubi commented 2 years ago

Here you are @looooo .

15, 44 and 60 teeth left side: beta=0 degree right side: beta=1degree

gear issue

looooo commented 2 years ago

I guess this is related to the deviation parameter. Try to set it to a smaller value.

ofpkubi commented 2 years ago

Which one is the deviation parameter?

looooo commented 2 years ago

in the view tab, there is a deviation property, see the image. you can also set it globally in setting, part-design, second tab

hope this helps. Bildschirmfoto von 2022-01-16 12-12-55

ofpkubi commented 2 years ago

Thanks! Now, this is interesting. Originally the deviation is 0.2 on all objects. If I change it to 0.05 on the large gear, it shows a better tooth profile. But, if I change it back to 0.2, the toot profile stays good. But anyway, this seems to be only a viewing issue, the exported STL looks good.

I think there is no bug then.

looooo commented 2 years ago

@ofpkubi if it is solved, please close this issue. thanks

ofpkubi commented 2 years ago

Done. Thanks a lot!