Closed Raphy2907 closed 1 week ago
I merged a pr recently which made the use of num_teeth more consistent. Maybe this is the Problem here
should be fixed with: https://github.com/looooo/freecad.gears/commit/13b2a9c4a5ce63c5f8d79bc75db91cb89de706d7
please report back if it is working for you
I noticed the same problem yesterday, now it works fine. Thanks!
I am using FreeCad 1.0.0RC2 at the moment, but the problem also excists in my copy of version 0.21.1. When i change the num_teeth calue from 15 to any other number, I get the following error message:
16:10:20 pyException: Traceback (most recent call last): File "C:\Users\Praktikum\AppData\Roaming\FreeCAD\Mod\freecad.gears.\freecad\gears\basegear.py", line 145, in execute gear_shape = self.generate_gear_shape(fp) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Praktikum\AppData\Roaming\FreeCAD\Mod\freecad.gears.\freecad\gears\involutegear.py", line 338, in generate_gear_shape profile = rotate_tooth(tooth, obj.num_teeth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Praktikum\AppData\Roaming\FreeCAD\Mod\freecad.gears.\freecad\gears\basegear.py", line 295, in rotate_tooth return part.Wire(flat_shape) ^^^^^^^^^^^^^^^^^^^^^ <class 'Part.OCCError'>: BRep_API: command not done 16:10:20 InvoluteGear: BRep_API: command not done
Can´t make much sense of that. Perhabs anyone else has expierenced a simular issue.