diff --git a/freecad/gears/features.py b/freecad/gears/features.py index a0317c1..a63997f 100644 --- a/freecad/gears/features.py +++ b/freecad/gears/features.py @@ -742,7 +742,7 @@ class CycloidGear(BaseGear): tooth = Wire(edges) - wi = rotate_tooth(tooth, fp.teeth) + profile = rotate_tooth(tooth, fp.teeth) if fp.height.Value == 0: return profile base = Face(profile)