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.
Shaft collar: DIN 705 A set collar, bores 3 to 20 mm, and one-piece clamp collars.
| 1 | """Shaft collar: DIN 705 form A set collar with its radial set-screw hole, or a one-piece clamp collar's envelope. |
| 2 | |
| 3 | Axis along Z, centred on the origin; the set-screw hole runs along +X from the bore to the outside, drawn at the thread's |
| 4 | nominal diameter. A clamp collar's slit and screw have no published dimensions here and aren't modelled.""" |
| 5 | from steve import Model |
| 6 | |
| 7 | style = "set-screw" # Style |
| 8 | bore = 8 # mm Bore |
| 9 | |
| 10 | # bore: (outside diameter D, width b, thread M, set screw length). DIN 705 form A, as tabulated by Maedler (light-duty |
| 11 | # series, set screw DIN EN ISO 4027), item pages 623003006 ... 623020006 via https://eshop.ameco.cz/products/en/3/1625/g1574/ |
| 12 | SET_SCREW = { |
| 13 | 3: (7, 5, 2, 3), 4: (8, 5, 2.5, 3), 5: (10, 6, 3, 4), 6: (12, 8, 4, 5), 8: (16, 8, 4, 6), |
| 14 | 10: (20, 10, 5, 8), 12: (22, 12, 6, 8), 16: (28, 12, 6, 8), 20: (32, 14, 6, 8), |
| 15 | } |
| 16 | # bore: (outside diameter, width). Ruland one-piece clamp collars: MCL-6-F, MCL-8-F (MCL-8-F product sheet, |
| 17 | # https://docs.rs-online.com/09ba/0900766b816574f5.pdf; MCL-6-F from Zoro's listing) and MCL-20-AN (40 x 15). |
| 18 | CLAMP = {6: (16, 9), 8: (18, 9), 20: (40, 15)} |
| 19 | |
| 20 | if style == "set-screw": |
| 21 | if bore not in SET_SCREW: |
| 22 | raise ValueError(f"DIN 705 bores in the source: {', '.join(str(b) for b in SET_SCREW)} mm.") |
| 23 | D, b, M, screw = SET_SCREW[bore] |
| 24 | else: |
| 25 | if bore not in CLAMP: |
| 26 | raise ValueError(f"Clamp collar bores in the source: {', '.join(str(b) for b in CLAMP)} mm.") |
| 27 | D, b = CLAMP[bore] |
| 28 | |
| 29 | model = Model() |
| 30 | with model.sketch("ring_sketch", on="XY", name="Ring") as sk: |
| 31 | sk.circle("outside", (0, 0), D / 2) |
| 32 | sk.circle("bore_d", (0, 0), bore / 2) |
| 33 | model.extrude("collar", "ring_sketch", distance=b, both=True, name="Collar") |
| 34 | if style == "set-screw": |
| 35 | with model.sketch("screw_sketch", on="YZ", name="Set-screw hole") as sk: |
| 36 | sk.circle("screw_hole", (0, 0), M / 2) |
| 37 | model.extrude("screw_cut", "screw_sketch", distance=D / 2, op="cut", name="Set-screw hole") |
| 38 | model.material("steel-generic", color="#a9adb2") |
| 39 | result = model.result() |
| 40 |
| 1 | name = "steve/shaft-collar" |
| 2 | version = "1.0.0" |
| 3 | runtime = "steve" |
| 4 | license = "MIT" |
| 5 | summary = "Shaft collar: DIN 705 A set collar, bores 3 to 20 mm, and one-piece clamp collars." |
| 6 | description = """Shaft collar for positioning on a shaft: DIN 705 form A set collar with its radial set-screw hole, or a one-piece \ |
| 7 | clamp collar's envelope. Axis along Z, centred on the origin. See the README; not affiliated with any maker.""" |
| 8 | tags = ["shaft-collar", "collar", "din-705", "shaft", "metric", "power-transmission"] |
| 9 | |
| 10 | [parameters.style] |
| 11 | type = "choice" |
| 12 | default = "set-screw" |
| 13 | choices = ["set-screw", "clamp"] |
| 14 | label = "Style" |
| 15 | |
| 16 | [parameters.bore] |
| 17 | type = "number" |
| 18 | default = 8 |
| 19 | min = 3 |
| 20 | max = 20 |
| 21 | unit = "mm" |
| 22 | label = "Bore" |
| 23 | description = "Set screw: 3, 4, 5, 6, 8, 10, 12, 16, 20. Clamp: 6, 8, 20." |
| 24 | |
| 25 | [[presets]] |
| 26 | id = "clamp-6" |
| 27 | title = "Clamp collar, bore 6" |
| 28 | params = { style = "clamp", bore = 6 } |
| 29 | aliases = ["6mm clamp collar", "clamp collar 6 mm", "one piece shaft collar 6", "MCL-6"] |
| 30 | standard = "Ruland MCL" |
| 31 | |
| 32 | [[presets]] |
| 33 | id = "clamp-8" |
| 34 | title = "Clamp collar, bore 8" |
| 35 | params = { style = "clamp", bore = 8 } |
| 36 | aliases = ["8mm clamp collar", "clamp collar 8 mm", "one piece shaft collar 8", "MCL-8"] |
| 37 | standard = "Ruland MCL" |
| 38 | |
| 39 | [[presets]] |
| 40 | id = "clamp-20" |
| 41 | title = "Clamp collar, bore 20" |
| 42 | params = { style = "clamp", bore = 20 } |
| 43 | aliases = ["20mm clamp collar", "clamp collar 20 mm", "one piece shaft collar 20", "MCL-20"] |
| 44 | standard = "Ruland MCL" |
| 45 | |
| 46 | [[presets]] |
| 47 | id = "DIN705A-3" |
| 48 | title = "DIN 705 A, bore 3" |
| 49 | params = { style = "set-screw", bore = 3 } |
| 50 | aliases = ["DIN 705 3", "3mm shaft collar", "3 mm set collar", "set screw collar 3mm", "shaft collar 3"] |
| 51 | standard = "DIN 705" |
| 52 | |
| 53 | [[presets]] |
| 54 | id = "DIN705A-4" |
| 55 | title = "DIN 705 A, bore 4" |
| 56 | params = { style = "set-screw", bore = 4 } |
| 57 | aliases = ["DIN 705 4", "4mm shaft collar", "4 mm set collar", "set screw collar 4mm", "shaft collar 4"] |
| 58 | standard = "DIN 705" |
| 59 | |
| 60 | [[presets]] |
| 61 | id = "DIN705A-5" |
| 62 | title = "DIN 705 A, bore 5" |
| 63 | params = { style = "set-screw", bore = 5 } |
| 64 | aliases = ["DIN 705 5", "5mm shaft collar", "5 mm set collar", "set screw collar 5mm", "shaft collar 5"] |
| 65 | standard = "DIN 705" |
| 66 | |
| 67 | [[presets]] |
| 68 | id = "DIN705A-6" |
| 69 | title = "DIN 705 A, bore 6" |
| 70 | params = { style = "set-screw", bore = 6 } |
| 71 | aliases = ["DIN 705 6", "6mm shaft collar", "6 mm set collar", "set screw collar 6mm", "shaft collar 6"] |
| 72 | standard = "DIN 705" |
| 73 | |
| 74 | [[presets]] |
| 75 | id = "DIN705A-8" |
| 76 | title = "DIN 705 A, bore 8" |
| 77 | params = { style = "set-screw", bore = 8 } |
| 78 | aliases = ["DIN 705 8", "8mm shaft collar", "8 mm set collar", "set screw collar 8mm", "shaft collar 8"] |
| 79 | standard = "DIN 705" |
| 80 | |
| 81 | [[presets]] |
| 82 | id = "DIN705A-10" |
| 83 | title = "DIN 705 A, bore 10" |
| 84 | params = { style = "set-screw", bore = 10 } |
| 85 | aliases = ["DIN 705 10", "10mm shaft collar", "10 mm set collar", "set screw collar 10mm", "shaft collar 10"] |
| 86 | standard = "DIN 705" |
| 87 | |
| 88 | [[presets]] |
| 89 | id = "DIN705A-12" |
| 90 | title = "DIN 705 A, bore 12" |
| 91 | params = { style = "set-screw", bore = 12 } |
| 92 | aliases = ["DIN 705 12", "12mm shaft collar", "12 mm set collar", "set screw collar 12mm", "shaft collar 12"] |
| 93 | standard = "DIN 705" |
| 94 | |
| 95 | [[presets]] |
| 96 | id = "DIN705A-16" |
| 97 | title = "DIN 705 A, bore 16" |
| 98 | params = { style = "set-screw", bore = 16 } |
| 99 | aliases = ["DIN 705 16", "16mm shaft collar", "16 mm set collar", "set screw collar 16mm", "shaft collar 16"] |
| 100 | standard = "DIN 705" |
| 101 | |
| 102 | [[presets]] |
| 103 | id = "DIN705A-20" |
| 104 | title = "DIN 705 A, bore 20" |
| 105 | params = { style = "set-screw", bore = 20 } |
| 106 | aliases = ["DIN 705 20", "20mm shaft collar", "20 mm set collar", "set screw collar 20mm", "shaft collar 20"] |
| 107 | standard = "DIN 705" |
| 108 |
A DIN 705 form A set collar, or a one-piece clamp collar's envelope. Axis along Z, centred on the origin.
A ring of outside diameter D, bore d and width b. A set collar's radial hole runs along +X from the bore to the outside, drawn at the thread's nominal diameter. A clamp collar's slit and screw aren't modelled: the sources give the screw's size and location, not the slit.
| d | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 |
|---|---|---|---|---|---|---|---|---|---|
| D | 7 | 8 | 10 | 12 | 16 | 20 | 22 | 28 | 32 |
| b | 5 | 5 | 6 | 8 | 8 | 10 | 12 | 12 | 14 |
| Screw | M2 × 3 | M2.5 × 3 | M3 × 4 | M4 × 5 | M4 × 6 | M5 × 8 | M6 × 8 | M6 × 8 | M6 × 8 |
Clamp collars of bores 3, 4, 5, 10, 12 and 16 mm and two-piece clamp collars aren't offered: no table reachable so far gives them (the maker's site refuses automated reads). Maker names identify the source; not affiliated with any maker.
Preset list: bores of the step.parts catalogue (MIT), see library/NOTICE.md.
| 1 | # Shaft collar |
| 2 | |
| 3 | A DIN 705 form A set collar, or a one-piece clamp collar's envelope. Axis along Z, centred on the origin. |
| 4 | |
| 5 | ## Geometry |
| 6 | |
| 7 | A ring of outside diameter D, bore d and width b. A set collar's radial hole runs along +X from the bore to the outside, |
| 8 | drawn at the thread's nominal diameter. A clamp collar's slit and screw aren't modelled: the sources give the screw's size |
| 9 | and location, not the slit. |
| 10 | |
| 11 | ## Source |
| 12 | |
| 13 | - **Set collars:** DIN 705 form A, as tabulated by Maedler (light-duty series, set screw DIN EN ISO 4027), item pages |
| 14 | 623003006 to 623020006 through its distributor <https://eshop.ameco.cz/products/en/3/1625/g1574/623008006/>: |
| 15 | |
| 16 | | d | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | |
| 17 | |---|---|---|---|---|---|---|---|---|---| |
| 18 | | D | 7 | 8 | 10 | 12 | 16 | 20 | 22 | 28 | 32 | |
| 19 | | b | 5 | 5 | 6 | 8 | 8 | 10 | 12 | 12 | 14 | |
| 20 | | Screw | M2 × 3 | M2.5 × 3 | M3 × 4 | M4 × 5 | M4 × 6 | M5 × 8 | M6 × 8 | M6 × 8 | M6 × 8 | |
| 21 | |
| 22 | - **Clamp collars:** Ruland one-piece, MCL-8-F product sheet (bore 8, OD 18, width 9), |
| 23 | <https://docs.rs-online.com/09ba/0900766b816574f5.pdf>; MCL-6-F (6, 16, 9) from Zoro's listing, |
| 24 | <https://www.zoro.com/ruland-shaft-collar-clamp-1pc-6mm-steel-mcl-6-f/i/G0811474/>; MCL-20-AN (20, 40, 15) from |
| 25 | Zoro's listing, <https://zoro.com/ruland-mountable-collar-1pc-clamp-bore-20mm-anod-aluminum-od-40mm-of-mcl-20-an/i/G3401906>. |
| 26 | |
| 27 | Clamp collars of bores 3, 4, 5, 10, 12 and 16 mm and two-piece clamp collars aren't offered: no table reachable so far |
| 28 | gives them (the maker's site refuses automated reads). Maker names identify the source; not affiliated with any maker. |
| 29 | |
| 30 | Preset list: bores of the step.parts catalogue (MIT), see `library/NOTICE.md`. |
| 31 |
Shaft collar for positioning on a shaft: DIN 705 form A set collar with its radial set-screw hole, or a one-piece clamp collar's envelope. Axis along Z, centred on the origin. See the README; not affiliated with any maker.
A DIN 705 form A set collar, or a one-piece clamp collar's envelope. Axis along Z, centred on the origin.
A ring of outside diameter D, bore d and width b. A set collar's radial hole runs along +X from the bore to the outside, drawn at the thread's nominal diameter. A clamp collar's slit and screw aren't modelled: the sources give the screw's size and location, not the slit.
| d | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 |
|---|---|---|---|---|---|---|---|---|---|
| D | 7 | 8 | 10 | 12 | 16 | 20 | 22 | 28 | 32 |
| b | 5 | 5 | 6 | 8 | 8 | 10 | 12 | 12 | 14 |
| Screw | M2 × 3 | M2.5 × 3 | M3 × 4 | M4 × 5 | M4 × 6 | M5 × 8 | M6 × 8 | M6 × 8 | M6 × 8 |
Clamp collars of bores 3, 4, 5, 10, 12 and 16 mm and two-piece clamp collars aren't offered: no table reachable so far gives them (the maker's site refuses automated reads). Maker names identify the source; not affiliated with any maker.
Preset list: bores of the step.parts catalogue (MIT), see library/NOTICE.md.
Parallel key, DIN 6885-1 form A, 2 x 2 to 12 x 8, any length, with the common sizes as presets.
Straight gear rack, ISO 53 basic rack, modules 0.5 to 2, any length, with common lengths as presets.
Straight miter gear (1:1 bevel, 90 degree) envelope, modules 1 to 3, with catalogue numbers as presets.
External retaining ring (circlip) for shafts, DIN 471 pattern, shafts 10 to 34 mm, measured from published models.