From 77a61f7abfa9cc7c1c8579db1f2e9d9906044436 Mon Sep 17 00:00:00 2001 From: lorenz Date: Sat, 7 Sep 2019 22:42:04 +0200 Subject: [PATCH] roll-diameter -> pitch diameter --- freecad/gears/features.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freecad/gears/features.py b/freecad/gears/features.py index bf148d5..12f82bd 100644 --- a/freecad/gears/features.py +++ b/freecad/gears/features.py @@ -103,7 +103,7 @@ class involute_gear(object): obj.addProperty( "App::PropertyFloat", "head", "gear_parameter", "head_value * modul_value = additional length of head") obj.addProperty("App::PropertyPythonObject", "gear", "gear_parameter", "test") - obj.addProperty("App::PropertyFloat", "dw", "computed", "roll diameter", 1) + obj.addProperty("App::PropertyFloat", "dw", "computed", "pitch diameter", 1) obj.gear = self.involute_tooth obj.simple = False obj.undercut = False @@ -608,4 +608,4 @@ def makeBSplineWire(pts): def on_mirror_plane(face, z, direction, small_size=0.000001): # the tolerance is very high. Maybe there is a bug in Part.makeHelix. return (face.normalAt(0, 0).cross(direction).Length < small_size and - abs(face.CenterOfMass.z - z) < small_size) \ No newline at end of file + abs(face.CenterOfMass.z - z) < small_size)