steve/hex-standoff
Hex standoffs M2 to M4, female/female and male/female: Würth WA-SBRII/SBRIE (M2), Harwin R25/R30/R40 (M2.5 to M4).
Round unthreaded clearance spacer for M3 screws (Harwin R30-601): Ø4.76 × Ø3.30, any length.
| 1 | """Round clearance spacer (unthreaded), Harwin R30-601 (M3 clearance): a brass tube, outside diameter D, bore d, length |
| 2 | L, axis along +Z, one end on the XY plane, centred on the origin. |
| 3 | """ |
| 4 | from steve import Model |
| 5 | |
| 6 | clearance = "M3" # Screw size |
| 7 | length = 10 # mm Length L |
| 8 | |
| 9 | # mm. Harwin R30-601XX02 M3 circular clearance spacer (DRG-02004, issue 5): (outside Ø D, bore Ø d) |
| 10 | SPACERS = {"M3": (4.76, 3.30)} |
| 11 | |
| 12 | D, d = SPACERS[clearance] |
| 13 | |
| 14 | model = Model() |
| 15 | with model.sketch("spacer_sketch", on="XY", name="Spacer") as sk: |
| 16 | sk.circle("outside", (0, 0), D / 2) |
| 17 | sk.circle("bore", (0, 0), d / 2) |
| 18 | model.extrude("spacer", "spacer_sketch", distance=length, name="Spacer") |
| 19 | model.material("brass", color="#c6c8c4") # CW614N, nickel plated |
| 20 | result = model.result() |
| 21 |
| 1 | name = "steve/round-spacer" |
| 2 | version = "1.0.0" |
| 3 | runtime = "steve" |
| 4 | license = "MIT" |
| 5 | summary = "Round unthreaded clearance spacer for M3 screws (Harwin R30-601): Ø4.76 × Ø3.30, any length." |
| 6 | description = """Circular clearance spacer for M3 screws, Harwin R30-601 (brass, nickel plated): a tube of outside \ |
| 7 | diameter 4.76 mm and bore 3.30 mm; the length is a parameter (Harwin sells 2 to 30 mm). |
| 8 | |
| 9 | Axis along +Z, one end on the XY plane, centred on the origin. Dimensions: see the README.""" |
| 10 | tags = ["spacer", "round-spacer", "clearance-spacer", "pcb", "electronics", "harwin", "metric"] |
| 11 | |
| 12 | [parameters.clearance] |
| 13 | type = "choice" |
| 14 | default = "M3" |
| 15 | choices = ["M3"] |
| 16 | label = "Screw size" |
| 17 | |
| 18 | [parameters.length] |
| 19 | type = "number" |
| 20 | default = 10 |
| 21 | min = 1 |
| 22 | max = 60 |
| 23 | unit = "mm" |
| 24 | label = "Length L" |
| 25 | |
| 26 | [[presets]] |
| 27 | id = "M3-5" |
| 28 | title = "Round spacer M3 × 5 mm (Harwin R30-6010502)" |
| 29 | params = { clearance = "M3", length = 5 } |
| 30 | aliases = ["Harwin R30-6010502", "M3 round spacer 5 mm", "M3 clearance spacer 5mm", "unthreaded spacer M3 x 5"] |
| 31 | standard = "Harwin R30-601" |
| 32 | |
| 33 | [[presets]] |
| 34 | id = "M3-6" |
| 35 | title = "Round spacer M3 × 6 mm (Harwin R30-6010602)" |
| 36 | params = { clearance = "M3", length = 6 } |
| 37 | aliases = ["Harwin R30-6010602", "M3 round spacer 6 mm", "M3 clearance spacer 6mm", "unthreaded spacer M3 x 6"] |
| 38 | standard = "Harwin R30-601" |
| 39 | |
| 40 | [[presets]] |
| 41 | id = "M3-8" |
| 42 | title = "Round spacer M3 × 8 mm (Harwin R30-6010802)" |
| 43 | params = { clearance = "M3", length = 8 } |
| 44 | aliases = ["Harwin R30-6010802", "M3 round spacer 8 mm", "M3 clearance spacer 8mm", "unthreaded spacer M3 x 8"] |
| 45 | standard = "Harwin R30-601" |
| 46 | |
| 47 | [[presets]] |
| 48 | id = "M3-10" |
| 49 | title = "Round spacer M3 × 10 mm (Harwin R30-6011002)" |
| 50 | params = { clearance = "M3", length = 10 } |
| 51 | aliases = ["Harwin R30-6011002", "M3 round spacer 10 mm", "M3 clearance spacer 10mm", "unthreaded spacer M3 x 10"] |
| 52 | standard = "Harwin R30-601" |
| 53 | |
| 54 | [[presets]] |
| 55 | id = "M3-12" |
| 56 | title = "Round spacer M3 × 12 mm (Harwin R30-6011202)" |
| 57 | params = { clearance = "M3", length = 12 } |
| 58 | aliases = ["Harwin R30-6011202", "M3 round spacer 12 mm", "M3 clearance spacer 12mm", "unthreaded spacer M3 x 12"] |
| 59 | standard = "Harwin R30-601" |
| 60 | |
| 61 | [[presets]] |
| 62 | id = "M3-15" |
| 63 | title = "Round spacer M3 × 15 mm (Harwin R30-6011502)" |
| 64 | params = { clearance = "M3", length = 15 } |
| 65 | aliases = ["Harwin R30-6011502", "M3 round spacer 15 mm", "M3 clearance spacer 15mm", "unthreaded spacer M3 x 15"] |
| 66 | standard = "Harwin R30-601" |
| 67 | |
| 68 | [[presets]] |
| 69 | id = "M3-20" |
| 70 | title = "Round spacer M3 × 20 mm (Harwin R30-6012002)" |
| 71 | params = { clearance = "M3", length = 20 } |
| 72 | aliases = ["Harwin R30-6012002", "M3 round spacer 20 mm", "M3 clearance spacer 20mm", "unthreaded spacer M3 x 20"] |
| 73 | standard = "Harwin R30-601" |
| 74 | |
| 75 | [[presets]] |
| 76 | id = "M3-25" |
| 77 | title = "Round spacer M3 × 25 mm (Harwin R30-6012502)" |
| 78 | params = { clearance = "M3", length = 25 } |
| 79 | aliases = ["Harwin R30-6012502", "M3 round spacer 25 mm", "M3 clearance spacer 25mm", "unthreaded spacer M3 x 25"] |
| 80 | standard = "Harwin R30-601" |
| 81 | |
| 82 | [[presets]] |
| 83 | id = "M3-30" |
| 84 | title = "Round spacer M3 × 30 mm (Harwin R30-6013002)" |
| 85 | params = { clearance = "M3", length = 30 } |
| 86 | aliases = ["Harwin R30-6013002", "M3 round spacer 30 mm", "M3 clearance spacer 30mm", "unthreaded spacer M3 x 30"] |
| 87 | standard = "Harwin R30-601" |
| 88 |
Unthreaded round spacer for M3 screws at any length. Presets cover the catalogue's M3 clearance spacers at the lengths Harwin sells.
A tube, outside diameter D 4.76, bore d 3.30, length L, axis along +Z, one end on the XY plane, centred on the origin. Chamfers are not modelled.
| Parameter | Meaning |
|---|---|
clearance |
Screw size: M3 |
length |
Length L, mm |
Harwin, customer information sheet R30-601XX02 "M3 circular clearance spacer" (drawing DRG-02004, issue 5, 15.10.06), brass CW614N, nickel finish; Ø4.76, Ø3.30; L ± 0.10 up to 12 mm, ± 0.15 over; lengths 2–16, 18, 20, 22, 25, 30 (the technical drawing PDF on Harwin's content server, content.harwin.com, linked from the R30-601 series page on https://www.harwin.com).
Not covered: clearance spacers for M2, M2.5 and M4, and M3 spacers longer than 30 mm: no maker table with their dimensions was found (an Ettinger Ø2.6/4.5 spacer appeared only in a search snippet; Würth WA-SBRRO's product page does not say whether its bore is plain and no datasheet was read).
Preset list: sizes of the step.parts catalogue (MIT), see library/NOTICE.md.
| 1 | # Round clearance spacer (Harwin R30-601, M3) |
| 2 | |
| 3 | Unthreaded round spacer for M3 screws at any length. Presets cover the catalogue's M3 clearance spacers at the lengths |
| 4 | Harwin sells. |
| 5 | |
| 6 | ## Geometry |
| 7 | |
| 8 | A tube, outside diameter **D** 4.76, bore **d** 3.30, length **L**, axis along +Z, one end on the XY plane, centred |
| 9 | on the origin. Chamfers are not modelled. |
| 10 | |
| 11 | ## Parameters |
| 12 | |
| 13 | | Parameter | Meaning | |
| 14 | |---|---| |
| 15 | | `clearance` | Screw size: M3 | |
| 16 | | `length` | Length L, mm | |
| 17 | |
| 18 | ## Source |
| 19 | |
| 20 | Harwin, customer information sheet R30-601XX02 "M3 circular clearance spacer" (drawing DRG-02004, issue 5, |
| 21 | 15.10.06), brass CW614N, nickel finish; Ø4.76, Ø3.30; L ± 0.10 up to 12 mm, ± 0.15 over; lengths 2–16, 18, 20, 22, |
| 22 | 25, 30 (the technical drawing PDF on Harwin's content server, content.harwin.com, linked from the R30-601 series |
| 23 | page on https://www.harwin.com). |
| 24 | |
| 25 | Not covered: clearance spacers for M2, M2.5 and M4, and M3 spacers longer than 30 mm: no maker table with their |
| 26 | dimensions was found (an Ettinger Ø2.6/4.5 spacer appeared only in a search snippet; Würth WA-SBRRO's product page |
| 27 | does not say whether its bore is plain and no datasheet was read). |
| 28 | |
| 29 | Preset list: sizes of the step.parts catalogue (MIT), see `library/NOTICE.md`. |
| 30 |
Circular clearance spacer for M3 screws, Harwin R30-601 (brass, nickel plated): a tube of outside diameter 4.76 mm and bore 3.30 mm; the length is a parameter (Harwin sells 2 to 30 mm). Axis along +Z, one end on the XY plane, centred on the origin. Dimensions: see the README.
Unthreaded round spacer for M3 screws at any length. Presets cover the catalogue's M3 clearance spacers at the lengths Harwin sells.
A tube, outside diameter D 4.76, bore d 3.30, length L, axis along +Z, one end on the XY plane, centred on the origin. Chamfers are not modelled.
| Parameter | Meaning |
|---|---|
clearance |
Screw size: M3 |
length |
Length L, mm |
Harwin, customer information sheet R30-601XX02 "M3 circular clearance spacer" (drawing DRG-02004, issue 5, 15.10.06), brass CW614N, nickel finish; Ø4.76, Ø3.30; L ± 0.10 up to 12 mm, ± 0.15 over; lengths 2–16, 18, 20, 22, 25, 30 (the technical drawing PDF on Harwin's content server, content.harwin.com, linked from the R30-601 series page on https://www.harwin.com).
Not covered: clearance spacers for M2, M2.5 and M4, and M3 spacers longer than 30 mm: no maker table with their dimensions was found (an Ettinger Ø2.6/4.5 spacer appeared only in a search snippet; Würth WA-SBRRO's product page does not say whether its bore is plain and no datasheet was read).
Preset list: sizes of the step.parts catalogue (MIT), see library/NOTICE.md.
Hex standoffs M2 to M4, female/female and male/female: Würth WA-SBRII/SBRIE (M2), Harwin R25/R30/R40 (M2.5 to M4).
Würth Elektronik SMT steel spacers: WA-SMSI, WA-SMST, WA-SMSE and WA-SMSR, any length.
PCB support post (snap-in, adhesive-backed, swage, press-fit), M2 to M4, any height: simplified, measured from step.parts' models.
PCB card guide and board retaining clip, boards 1 to 2.4 mm, any length: simplified, measured from step.parts' models.