Sign in with STEVE

steve/miter-gear

Straight miter gear (1:1 bevel, 90 degree) envelope, modules 1 to 3, with catalogue numbers as presets.

v1.0.0 STEVE MIT 0
Isometric
part.py 42 lines · Python · STEVE runtime · checked
Download
1"""Straight miter gear (ratio 1:1), KHK SM series: an envelope for assemblies, the solid of revolution of the published outline with the teeth filled in:
2hub of diameter B and width H on the XY plane, the back cone out to the outside diameter D at G above the back (the crown), and the tip cone at 45 degrees
3up to the total length F, with the bore A through. Axis along Z; the back is on the XY plane. The teeth aren't modelled."""
4from steve import Model
5
6designation = "SM1-20" # Catalogue number
7
8# number: (module, teeth, bore A, hub diameter B, outside diameter D, total length F, crown to back G, hub width H).
9# KHK Gears catalogue 2025, Miter Gears, SM table, PDF p. 26, https://khkgears.us/media/lblpmezm/catalog-2025-miter-gears.pdf
10GEARS = {
11 "SM1-20": (1, 20, 6, 16, 21.41, 13.94, 10.71, 8),
12 "SM1-25": (1, 25, 6, 20, 26.41, 15.16, 11.21, 8),
13 "SM1-30": (1, 30, 8, 24, 31.41, 17.71, 13.71, 10),
14 "SM1.25-20": (1.25, 20, 8, 22, 26.77, 15.27, 11.38, 9),
15 "SM1.25-25": (1.25, 25, 8, 25, 33.02, 17.88, 13.26, 9.25),
16 "SM1.25-30": (1.25, 30, 10, 30, 39.27, 23.47, 18.13, 13.5),
17 "SM1.5-20": (1.5, 20, 8, 26, 32.12, 21.24, 16.06, 13),
18 "SM1.5-25": (1.5, 25, 10, 30, 39.62, 22.25, 16.31, 11.5),
19 "SM1.5-30": (1.5, 30, 10, 36, 47.12, 28.24, 21.56, 16),
20 "SM2-16": (2, 16, 10, 27, 34.83, 19, 15.41, 11.5),
21 "SM2-20": (2, 20, 12, 34, 42.83, 24.89, 18.41, 14),
22 "SM2-25": (2, 25, 12, 40, 52.83, 24.33, 16.41, 10),
23 "SM2-30": (2, 30, 12, 45, 62.83, 29.42, 21.41, 12.5),
24 "SM2.5-16": (2.5, 16, 12, 34, 43.53, 21, 16.77, 12),
25 "SM2.5-20": (2.5, 20, 14, 42, 53.54, 32.54, 24.77, 19),
26 "SM2.5-25": (2.5, 25, 16, 50, 66.04, 30.41, 20.52, 12.5),
27 "SM2.5-30": (2.5, 30, 16, 60, 78.54, 36.28, 26.27, 17),
28 "SM3-16": (3, 16, 14, 42, 52.24, 23, 18.12, 13),
29 "SM3-20": (3, 20, 16, 50, 64.24, 39.84, 30.12, 23),
30 "SM3-25": (3, 25, 20, 60, 79.24, 37.81, 24.62, 15),
31 "SM3-30": (3, 30, 20, 70, 94.24, 45.47, 32.12, 20),
32}
33
34module, teeth, A, B, D, F, G, H = GEARS[designation]
35tip_radius = D / 2 - (F - G)
36model = Model()
37with model.sketch("outline", on="XZ", name="Outline") as sk:
38 sk.polyline("profile", [(A / 2, 0), (B / 2, 0), (B / 2, H), (D / 2, G), (tip_radius, F), (A / 2, F)], closed=True)
39model.revolve("gear", "outline", axis="Z", name="Gear")
40model.material("steel-generic", color="#b4b8bd")
41result = model.result()
42

Straight miter gear (1:1 bevel gears at 90 degrees) as an envelope for assemblies: the solid of revolution of the published outline with the teeth filled in. Axis along Z, back on the XY plane. Dimensions from a maker's public catalogue (see the README); not affiliated with any maker.

Miter gear

Straight miter gear, 1:1, as an envelope for assemblies. Axis along Z, back on the XY plane.

Geometry

A solid of revolution with the teeth filled in: the hub, the back cone out to the outside diameter D at the crown (G above the back), a 45° cone up to the total length F, and the bore. Teeth aren't modelled: this part is for layouts and fits, not tooth contact.

Source

KHK Gears, catalogue 2025, Miter Gears, SM table (carbon steel, straight), PDF p. 26, https://khkgears.us/media/lblpmezm/catalog-2025-miter-gears.pdf. The 45° tip cone is this outline's simplification, checked against the table: (D − B)/2 and (G − H) agree on these sizes.

Number Module Teeth Bore A Hub B Outside D Total F Crown to back G Hub width H
SM1-20 1 20 6 16 21.41 13.94 10.71 8
SM1-25 1 25 6 20 26.41 15.16 11.21 8
SM1-30 1 30 8 24 31.41 17.71 13.71 10
SM1.25-20 1.25 20 8 22 26.77 15.27 11.38 9
SM1.25-25 1.25 25 8 25 33.02 17.88 13.26 9.25
SM1.25-30 1.25 30 10 30 39.27 23.47 18.13 13.5
SM1.5-20 1.5 20 8 26 32.12 21.24 16.06 13
SM1.5-25 1.5 25 10 30 39.62 22.25 16.31 11.5
SM1.5-30 1.5 30 10 36 47.12 28.24 21.56 16
SM2-16 2 16 10 27 34.83 19 15.41 11.5
SM2-20 2 20 12 34 42.83 24.89 18.41 14
SM2-25 2 25 12 40 52.83 24.33 16.41 10
SM2-30 2 30 12 45 62.83 29.42 21.41 12.5
SM2.5-16 2.5 16 12 34 43.53 21 16.77 12
SM2.5-20 2.5 20 14 42 53.54 32.54 24.77 19
SM2.5-25 2.5 25 16 50 66.04 30.41 20.52 12.5
SM2.5-30 2.5 30 16 60 78.54 36.28 26.27 17
SM3-16 3 16 14 42 52.24 23 18.12 13
SM3-20 3 20 16 50 64.24 39.84 30.12 23
SM3-25 3 25 20 60 79.24 37.81 24.62 15
SM3-30 3 30 20 70 94.24 45.47 32.12 20

Maker names identify the source; this part isn't made by or affiliated with KHK. Module 0.8 and teeth 24, 36 aren't in this table and aren't offered.

  1. 1.1.0 Latest Compare with 1.0.0

    Real teeth. detail = simple keeps them filled in.

  2. 1.0.0
More #gear
STEVEMIT

steve/spur-gear

Involute spur gear, ISO 53 basic rack, ISO 54 modules 0.5 to 2: teeth, bore and width as presets.

0 300 sizes 0 4 minutes ago v1.0.0
STEVEMIT

steve/gear-rack

Straight gear rack, ISO 53 basic rack, modules 0.5 to 2, any length, with common lengths as presets.

0 38 sizes 0 1 hour ago v1.0.0
STEVEMIT

steve/shaft-collar

Shaft collar: DIN 705 A set collar, bores 3 to 20 mm, and one-piece clamp collars.

0 12 sizes 0 3 hours ago v1.0.0
STEVEMIT

steve/parallel-key

Parallel key, DIN 6885-1 form A, 2 x 2 to 12 x 8, any length, with the common sizes as presets.

0 46 sizes 0 3 hours ago v1.0.0