diff --git a/freecad/gears/features.py b/freecad/gears/features.py index 33da1b7..d8893cc 100644 --- a/freecad/gears/features.py +++ b/freecad/gears/features.py @@ -252,7 +252,7 @@ class InvoluteGear(BaseGear): edges = [e for e in edges if e is not None] tooth = Wire(edges) - wi = rotate_tooth(tooth, fp.teeth) + profile = rotate_tooth(tooth, fp.teeth) if fp.height.Value == 0: return profile