Skip to content

Commit 60db69f

Browse files
vedderblooooo
authored andcommitted
Added HTD8 timing gear
1 parent 4e6223b commit 60db69f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

freecad/gears/features.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -1312,7 +1312,12 @@ class TimingGear(BaseGear):
13121312
'pitch': 5.0, 'u': 0.5715, 'h': 1.93,
13131313
'H': 3.81, 'r0': 1.44, 'r1': 2.57,
13141314
'rs': 0.416, 'offset': 1.03
1315-
}
1315+
},
1316+
"htd8": {
1317+
'pitch': 8.0, 'u': 0.9144, 'h': 3.088,
1318+
'H': 6.096, 'r0': 2.304, 'r1': 4.112,
1319+
'rs': 0.6656, 'offset': 1.648
1320+
}
13161321
}
13171322

13181323
def __init__(self, obj):
@@ -1330,7 +1335,7 @@ def __init__(self, obj):
13301335
obj.addProperty( "App::PropertyLength", "rs", "computed", "radius of third arc", 1)
13311336
obj.addProperty( "App::PropertyLength", "offset", "computed", "x-offset of second arc-midpoint", 1)
13321337
obj.teeth = 15
1333-
obj.type = ['gt2', 'gt3', 'gt5']
1338+
obj.type = ['gt2', 'gt3', 'gt5', 'htd8']
13341339
obj.height = '5. mm'
13351340

13361341
self.obj = obj

0 commit comments

Comments
 (0)