roll-diameter -> pitch diameter
This commit is contained in:
@@ -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)
|
||||
abs(face.CenterOfMass.z - z) < small_size)
|
||||
|
||||
Reference in New Issue
Block a user