Sign in with STEVE

Compare versions

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

part.py +5 −1
@@ -1,4 +1,6 @@
1"""ISO 7089 plain washer, normal series. It sits on the XY plane, centred on the origin."""
1"""ISO 7089 plain washer, normal series. It sits on the XY plane, centred on the origin.
2
3Material: 200 HV steel (cold-rolled DC01), zinc plated."""
24from steve import Model
35
46size = "M3" # Thread size
@@ -22,5 +24,7 @@
2224 sk.circle("outer", (0, 0), d2 / 2)
2325 sk.circle("inner", (0, 0), d1 / 2)
2426model.extrude("washer", "washer_sketch", distance=h)
27model.material("steel-dc01") # 200 HV washer steel
28model.appearance(color="#c9d1d9", metalness=1.0, roughness=0.3) # clear zinc plating
2529result = model.result()
2630
pypart.toml +3 −2
@@ -1,10 +1,11 @@
11name = "steve/flat-washer"
2version = "1.0.0"
2version = "1.1.0"
33runtime = "steve"
44license = "MIT"
55summary = "Plain washer, ISO 7089, M2 to M12."
6description = "ISO 7089 plain washer, normal series. It sits on the XY plane, centred on the origin.\n\nDimensions from STEVE's standard-part tables (nominal values of the standard). Envelope geometry: no modelled thread."
6description = "ISO 7089 plain washer, normal series. It sits on the XY plane, centred on the origin.\n\nMaterial: 200 HV steel (cold-rolled DC01), zinc plated.\n\nDimensions from STEVE's standard-part tables (nominal values of the standard). Envelope geometry: no modelled thread."
77tags = ["fastener", "washer", "iso-7089", "metric"]
8changes = "Materials and finishes: each part is made of its standard's engineering material, with its usual finish."
89
910[parameters.size]
1011type = "choice"