Sign in with STEVE

steve/hex-nut

Hex nut, ISO 4032, M2 to M12.

v1.1.0 Latest STEVE MIT 7
Isometric
part.py 43 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.
3
4Material: property class 8 carbon steel (C35), zinc plated."""
5from steve import Model
6
7size = "M3" # Thread size
8
9# size: (across flats s, height m)
10NUTS = {
11 'M2': (4.0, 1.6),
12 'M2.5': (5.0, 2.0),
13 'M3': (5.5, 2.4),
14 'M4': (7.0, 3.2),
15 'M5': (8.0, 4.7),
16 'M6': (10.0, 5.2),
17 'M8': (13.0, 6.8),
18 'M10': (16.0, 8.4),
19 'M12': (18.0, 10.8),
20}
21NOMINAL = {
22 'M2': 2.0,
23 'M2.5': 2.5,
24 'M3': 3.0,
25 'M4': 4.0,
26 'M5': 5.0,
27 'M6': 6.0,
28 'M8': 8.0,
29 'M10': 10.0,
30 'M12': 12.0,
31}
32s, m = NUTS[size]
33d = NOMINAL[size]
34
35model = Model()
36with model.sketch("nut_sketch", on="XY", name="Nut") as sk:
37 sk.polygon("hex", (0, 0), s / 2, 6, inscribed=False)
38 sk.circle("bore", (0, 0), d / 2)
39model.extrude("nut", "nut_sketch", distance=m)
40model.material("steel-1c35") # class 8 nut steel
41model.appearance(color="#c9d1d9", metalness=1.0, roughness=0.3) # clear zinc plating
42result = model.result()
43

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. Material: property class 8 carbon steel (C35), zinc plated. 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