Sign in with STEVE

steve/precision-shaft

Precision round shaft for linear bearings: any diameter and length, with the common sizes as presets.

v1.0.0 Latest STEVE MIT 0
Isometric
part.py 14 lines · Python · STEVE runtime · checked
Download
1"""Precision shaft: a plain round shaft of diameter d and length l for linear bearings, centred on the origin with its
2axis along Z (ends at z = +-length/2). Tips' chamfers aren't modelled: no source gives their size."""
3from steve import Model
4
5diameter = 8 # mm Shaft diameter
6length = 200 # mm Shaft length
7
8model = Model()
9with model.sketch("section", on="XY", name="Section") as sk:
10 sk.circle("outer", (0, 0), diameter / 2)
11model.extrude("shaft", "section", distance=length, both=True, name="Shaft")
12model.material("steel-generic", color="#c6c9cd")
13result = model.result()
14

Plain round shaft for linear bushings and rails, as an envelope for assemblies. Axis along Z, centred on the origin. A shaft is fully named by its diameter and length; see the README.

Precision shaft

Plain round shaft for linear bushings and rails.

Geometry

A cylinder of diameter and length, axis along Z, centred on the origin. End chamfers aren't modelled: no source gives their size.

Source

A shaft is named by its two dimensions, so the designation is its only source: no table is involved. Sizes come from the step.parts catalogue metadata (MIT, library/NOTICE.md). No fit is stated: shafts are sold in several tolerance classes, and the catalogue names none.

  1. 1.0.0 Latest
More #shaft
STEVEMIT

steve/linear-guide

Profile linear guide envelope: HGR15, 20, 25 and MGN rails of any length, HGH and HGW blocks.

0 90 sizes 0 2 hours ago v1.0.0
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/lead-screw

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

0 84 sizes 0 2 hours ago v1.0.0
STEVEMIT

steve/round-bar

Round bar / round rod, EN 10060 sizes and plain round stock, any diameter and length.

0 145 sizes 0 5 hours ago v1.1.0