Sign in with STEVE

steve/hex-nut

Hex nut, ISO 4032, M2 to M12.

v1.0.0 STEVE MIT 7
Isometric
part.py 39 lines · Python · STEVE runtime · checked
Download
1"""ISO 4032 hex nut. Envelope: hex prism with a plain bore at the thread's nominal diameter.
2It sits on the XY plane, centred on the origin."""
3from steve import Model
4
5size = "M3" # Thread size
6
7# size: (across flats s, height m)
8NUTS = {
9 'M2': (4.0, 1.6),
10 'M2.5': (5.0, 2.0),
11 'M3': (5.5, 2.4),
12 'M4': (7.0, 3.2),
13 'M5': (8.0, 4.7),
14 'M6': (10.0, 5.2),
15 'M8': (13.0, 6.8),
16 'M10': (16.0, 8.4),
17 'M12': (18.0, 10.8),
18}
19NOMINAL = {
20 'M2': 2.0,
21 'M2.5': 2.5,
22 'M3': 3.0,
23 'M4': 4.0,
24 'M5': 5.0,
25 'M6': 6.0,
26 'M8': 8.0,
27 'M10': 10.0,
28 'M12': 12.0,
29}
30s, m = NUTS[size]
31d = NOMINAL[size]
32
33model = Model()
34with model.sketch("nut_sketch", on="XY", name="Nut") as sk:
35 sk.polygon("hex", (0, 0), s / 2, 6, inscribed=False)
36 sk.circle("bore", (0, 0), d / 2)
37model.extrude("nut", "nut_sketch", distance=m)
38result = model.result()
39

ISO 4032 hex nut. Envelope: hex prism with a plain bore at the thread's nominal diameter. It sits on the XY plane, centred on the origin. Dimensions from STEVE's standard-part tables (nominal values of the standard). Envelope geometry: no modelled thread.

  1. 1.1.0 Latest Compare with 1.0.0

    Materials and finishes: each part is made of its standard's engineering material, with its usual finish.

  2. 1.0.0
More #fastener
STEVEMIT

steve/metric-nut

Metric nuts: hex ISO 4032, thin ISO 4035, nylon-insert DIN 985, all-metal DIN 980, flange DIN 6923, cap DIN 1587, square DIN 557.

0 41 sizes 0 1 day ago v1.0.0
STEVEMIT

steve/hex-head-screw

Hexagon head screw, fully threaded, ISO 4017 / DIN 933, M1.6 to M36, any length, with catalogue sizes as presets.

18 85 sizes 0 1 day ago v2.0.0
STEVEMIT

steve/button-head-screw

Hexagon socket button head screw, ISO 7380-1, M3 to M16, any length, with catalogue sizes as presets.

10 65 sizes 0 1 day ago v2.0.0
STEVEMIT

steve/split-lock-washer

Split lock washer (spring washer), DIN 127 form B, M2 to M100.

3 21 sizes 0 1 day ago v1.0.0