Sign in with STEVE

Compare versions

2 files changed, +7 −3 1.1.0: Materials and finishes: each part is made of its standard's engineering material, with its usual finish.

part.py +4 −1
@@ -1,5 +1,7 @@
11"""Parallel dowel pin (ISO 8734 style), plain cylinder with chamfered ends.
2Its axis is Z, from the origin up."""
2Its axis is Z, from the origin up.
3
4Material: hardened steel, ground (C60 from the material library, the closest it has to the standard's 100Cr6)."""
35from steve import Model
46
57diameter = 4.0 # mm Nominal diameter
@@ -12,5 +14,6 @@
1214 sk.polyline("outline", [(0, 0), (diameter / 2 - chamfer, 0), (diameter / 2, chamfer), (diameter / 2, length - chamfer),
1315 (diameter / 2 - chamfer, length), (0, length)])
1416model.revolve("pin", "profile", axis="Z")
17model.material("steel-1c60", finish="polished") # hardened and ground steel
1518result = model.result()
1619
pypart.toml +3 −2
@@ -1,10 +1,11 @@
11name = "steve/dowel-pin"
2version = "1.0.0"
2version = "1.1.0"
33runtime = "steve"
44license = "MIT"
55summary = "Parallel dowel pin with chamfered ends, any diameter and length."
6description = "Parallel dowel pin (ISO 8734 style), plain cylinder with chamfered ends.\nIts axis is Z, from the origin up.\n\nDimensions from STEVE's standard-part tables (nominal values of the standard). Envelope geometry: no modelled thread."
6description = "Parallel dowel pin (ISO 8734 style), plain cylinder with chamfered ends.\nIts axis is Z, from the origin up.\n\nMaterial: hardened steel, ground (C60 from the material library, the closest it has to the standard's 100Cr6).\n\nDimensions from STEVE's standard-part tables (nominal values of the standard). Envelope geometry: no modelled thread."
77tags = ["pin", "dowel", "iso-8734"]
8changes = "Materials and finishes: each part is made of its standard's engineering material, with its usual finish."
89
910[parameters.diameter]
1011type = "number"