steve/slotted-spring-pin
Slotted spring pin (roll pin), heavy duty, ISO 8752 / DIN 1481, d 1 to 50 mm, any length.
| 1 | """Parallel dowel pin (ISO 8734 style), plain cylinder with chamfered ends. |
| 2 | Its axis is Z, from the origin up.""" |
| 3 | from steve import Model |
| 4 | |
| 5 | diameter = 4.0 # mm Nominal diameter |
| 6 | length = 16 # mm Length |
| 7 | |
| 8 | chamfer = min(0.1 * diameter, 0.25 * length) |
| 9 | |
| 10 | model = Model() |
| 11 | with model.sketch("profile", on="XZ", name="Profile") as sk: |
| 12 | sk.polyline("outline", [(0, 0), (diameter / 2 - chamfer, 0), (diameter / 2, chamfer), (diameter / 2, length - chamfer), |
| 13 | (diameter / 2 - chamfer, length), (0, length)]) |
| 14 | model.revolve("pin", "profile", axis="Z") |
| 15 | result = model.result() |
| 16 |
| 1 | name = "steve/dowel-pin" |
| 2 | version = "1.0.0" |
| 3 | runtime = "steve" |
| 4 | license = "MIT" |
| 5 | summary = "Parallel dowel pin with chamfered ends, any diameter and length." |
| 6 | description = "Parallel dowel pin (ISO 8734 style), plain cylinder with chamfered ends.\nIts axis is Z, from the origin up.\n\nDimensions from STEVE's standard-part tables (nominal values of the standard). Envelope geometry: no modelled thread." |
| 7 | tags = ["pin", "dowel", "iso-8734"] |
| 8 | |
| 9 | [parameters.diameter] |
| 10 | type = "number" |
| 11 | default = 4.0 |
| 12 | min = 1 |
| 13 | max = 25 |
| 14 | step = 0.5 |
| 15 | unit = "mm" |
| 16 | label = "Diameter" |
| 17 | |
| 18 | [parameters.length] |
| 19 | type = "number" |
| 20 | default = 16 |
| 21 | min = 3 |
| 22 | max = 200 |
| 23 | step = 1 |
| 24 | unit = "mm" |
| 25 | label = "Length" |
| 26 |
Parallel dowel pin (ISO 8734 style), plain cylinder with chamfered ends. Its axis is Z, from the origin up. Dimensions from STEVE's standard-part tables (nominal values of the standard). Envelope geometry: no modelled thread.
Materials and finishes: each part is made of its standard's engineering material, with its usual finish.
Slotted spring pin (roll pin), heavy duty, ISO 8752 / DIN 1481, d 1 to 50 mm, any length.
Cotter pin (split pin), nominal 1 to 5 mm, any length: simplified envelope measured from step.parts' models.
Clevis pin with head, ISO 2341 / DIN 1444, type A or B (split-pin hole), d 4 to 24 mm, any length.
Hexagon head screw, fully threaded, ISO 4017 / DIN 933, M1.6 to M36, any length, with catalogue sizes as presets.