Sign in with STEVE

steve/lead-screw

Trapezoidal lead screw envelope: Tr8, Tr10, Tr12 and Tr16, leads 2 to 8 mm, any length.

v1.0.0 Latest STEVE MIT 0
Isometric
part.py 20 lines · Python · STEVE runtime · checked
Download
1"""Trapezoidal lead screw envelope: a plain shaft at the major diameter d, axis along Z, centred on the origin. The
2thread itself is not modelled, as in the library's threaded rods; `lead` only names the screw."""
3from steve import Model
4
5size = "Tr8" # Nominal diameter
6lead = 2 # mm Lead per turn
7length = 300 # mm Length
8
9# nominal: major diameter d. ISO 2904:2020 Table 1 (d of Tr10, Tr12, Tr16, with P and minor diameter d3 in the README);
10# the Tr8 x 2, 4 and 8 screws are commercial (ISO 2904 tabulates Tr8 x 1.5): d = 8 is their designation.
11SCREWS = {"Tr8": 8, "Tr10": 10, "Tr12": 12, "Tr16": 16}
12
13d = SCREWS[size]
14model = Model()
15with model.sketch("section", on="XY", name="Section") as sk:
16 sk.circle("outer", (0, 0), d / 2)
17model.extrude("screw", "section", distance=length, both=True, name="Screw")
18model.material("steel-generic", color="#b9bdc2")
19result = model.result()
20

Trapezoidal lead screw (T8, Tr10, Tr12, Tr16) as a plain envelope at the major diameter, for assemblies: axis along Z, centred on the origin. The thread is not modelled, as in the library's threaded rods. See the README.

Trapezoidal lead screw

A lead screw as a plain envelope at its major diameter, axis along Z, centred on the origin. The thread is not modelled, as in the library's threaded rods.

Source

ISO 2904:2020, ISO metric trapezoidal screw threads, basic dimensions, Table 1, official preview https://cdn.standards.iteh.ai/samples/78729/7d158726108b478c889fa887d460ba78/ISO-2904-2020.pdf:

Size d P Pitch diameter d2 Minor diameter d3
Tr8 × 1.5 8 1.5 7.25 6.2
Tr10 × 2 10 2 9 7.5
Tr12 × 3 12 3 10.5 8.5
Tr16 × 4 16 4 14 11.5

Only d shapes this model. The T8 × 2, 4 and 8 and T10 × 4 screws are commercial multi-start designations that ISO 2904 doesn't tabulate: for those, d is the designation's nominal diameter. Lengths and leads come from the step.parts catalogue metadata (MIT, library/NOTICE.md).

  1. 1.0.0 Latest
More #lead-screw
STEVEMIT

steve/miniature-linear-guide

HIWIN MGN miniature linear guideway, sizes 7, 9, 12 and 15: rail (MGNR) or block (MGN-C / MGN-H).

0 9 sizes 0 3 days 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.

20 85 sizes 0 1 day ago v2.2.0
STEVEMIT

steve/button-head-screw

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

12 65 sizes 0 1 day ago v2.1.0
STEVEMIT

steve/hex-nut

Hex nut, ISO 4032, M2 to M12.

9 9 variants 0 4 days ago v1.1.0