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.
| @@ -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 | ||
| 3 | Material: 200 HV steel (cold-rolled DC01), zinc plated.""" | |
| 2 | 4 | from steve import Model |
| 3 | 5 | |
| 4 | 6 | size = "M3" # Thread size |
| @@ -22,5 +24,7 @@ | ||
| 22 | 24 | sk.circle("outer", (0, 0), d2 / 2) |
| 23 | 25 | sk.circle("inner", (0, 0), d1 / 2) |
| 24 | 26 | model.extrude("washer", "washer_sketch", distance=h) |
| 27 | model.material("steel-dc01") # 200 HV washer steel | |
| 28 | model.appearance(color="#c9d1d9", metalness=1.0, roughness=0.3) # clear zinc plating | |
| 25 | 29 | result = model.result() |
| 26 | 30 |
| @@ -1,10 +1,11 @@ | ||
| 1 | 1 | name = "steve/flat-washer" |
| 2 | version = "1.0.0" | |
| 2 | version = "1.1.0" | |
| 3 | 3 | runtime = "steve" |
| 4 | 4 | license = "MIT" |
| 5 | 5 | summary = "Plain washer, ISO 7089, M2 to M12." |
| 6 | description = "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." | |
| 6 | description = "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." | |
| 7 | 7 | tags = ["fastener", "washer", "iso-7089", "metric"] |
| 8 | changes = "Materials and finishes: each part is made of its standard's engineering material, with its usual finish." | |
| 8 | 9 | |
| 9 | 10 | [parameters.size] |
| 10 | 11 | type = "choice" |